Design Automation


C-compiler and free student version for 16-bit controller families

22 February 2006 Design Automation

Microchip's new Version 2.0 of its MPLAB C30 C compiler supports all of Microchip's high-performance 16-bit PIC24 microcontroller and dsPIC digital signal controller families. This new ANSI-compliant compiler includes cross-compiler, cross-assembler, linker and librarian, as well as unique language extensions to utilise DSP functionality.

The free version, MPLAB C30 Student Edition, offers the same functionality for 60 days, after which it maintains full source-code compatibility and device support with no memory limitations, but without additional code optimisation. This is well-suited for students, colleges and universities, and also for design engineers interested in learning about Microchip's 16-bit devices and language tools.

Microchip developed the new compiler alongside the PIC24 and dsPIC33 controller families to ensure optimal C code efficiency, which can be up to 85% smaller than competitive 16-bit architectures. MPLAB C30 is tightly integrated into the free MPLAB IDE for writing code, building projects and testing using Microchip's software simulator or the MPLAB ICD 2 in-circuit debugger.

MPLAB IDE is unique in offering a free, fully-integrated environment for 8 and 16-bit microcontrollers, and 16-bit digital signal controllers - covering devices from 6 to 100 pins. The compiler is distributed with a complete ANSI C standard library including functions for string manipulation, dynamic memory allocation, data conversion, timekeeping and trigonometric, exponential and hyperbolic mathematics. The C30 suite also includes I/O functions for file handling, along with complete low-level source code for those functions.

The compiler supports in-line assembly code in C source files, as well as separately assembled MPLAB ASM30 assembly language modules. This allows highly optimised interrupt routines, precision peripheral control and efficient, high-speed assembly language functions. Other tools in the MPLAB C30 suite include the MPLAB LINK30 linker and a librarian, and several utility modules for the MPLAB ASM30 assembler.

The dsPIC digital signal controllers are supported by a host of C-callable libraries, including: Mathematics, Peripheral and DSP Algorithm Libraries, as well as a Soft Modem Library, Acoustic Echo Cancellation Library, Noise Suppression Library, Speech Recognition Library, Speech Encoding/Decoding Library and Asymmetric/Symmetric Key Embedded Encryption Library. Most of these libraries are available for free download, or for a $5,00 evaluation fee, at www.microchip.com/dsPIC.



Credit(s)



Share this article:
Share via emailShare via LinkedInPrint this page

Further reading:

Compact direct Time-of-Flight 3D LiDAR module
Altron Arrow Opto-Electronics Electronics Technology AI & ML
The VL53L9 from STMicroelectronics is the first direct Time-of-Flight (dToF) 3D LiDAR all-in-one module in ST’s portfolio, offering a resolution of 2,3K zones, wide field of view, on-chip processing, 100 frames per second, and sensing range from 5 centimeters to 9 meters.

Read more...
DC-link capacitors with ultra-low inductance
Electrocomp Passive Components
TDK Corporation recently released its new series of MKP DC high-frequency film capacitors, a high-performance DC link capacitor platform for next-generation SiC-based power electronics.

Read more...
Generating negative voltages from a positive supply
Altron Arrow Editor's Choice Passive Components
It is common for IoT devices, industrial sensors, meters, and medical equipment to require both a positive and negative voltage, and this article explains the options available to produce a negative rail from a positive rail supply.

Read more...
Addressing latency and signal integrity challenges
Altron Arrow DSP, Micros & Memory
Strengthening Microchip Technology’s data centre solutions portfolio, its XpressConnect retimers support high-bandwidth architectures, while helping reduce integration complexity.

Read more...
Precision timing in compact package
Altron Arrow Telecoms, Datacoms, Wireless, IoT
Designed for use in harsh environments, the EX-423 incorporates a four-point mounted quartz crystal structure that improves shock resistance and reduces g-sensitivity.

Read more...
Advanced STM32 debugging in VS Code
Design Automation
Once an STM32 project is running in VS Code, the IAR C-SPY Debug extension adds a professional-grade analysis layer that scales with project complexity.

Read more...
Accelerate development of AI-enabled embedded systems
Design Automation
ADI’s CodeFusion Studio (CFS) is a modern embedded software development platform aimed at accelerating the creation of AI-enabled embedded systems.

Read more...
EMC limits and levels
Altron Arrow Editor's Choice Circuit & System Protection
As soon as electronics and electrical systems started interfering with each other, the world had to come to some consensus. Considering physics is universal and does not care about what country electrical/electronic products are used in, it should be the same everywhere, right? It is nearly there, but not quite.

Read more...
Introducing STM32CubeMX2
Altron Arrow Design Automation
STMicroelectronics has launched STM32CubeMX2, a new evolution of its popular configuration and code generation tool for STM32 microcontrollers.

Read more...
Next-gen SPE
Altron Arrow Telecoms, Datacoms, Wireless, IoT
Next-generation 100/1000BASE-T1 Single Pair Ethernet PHYs integrate MACsec security, time sensitive networking, and functional safety.

Read more...









While every effort has been made to ensure the accuracy of the information contained herein, the publisher and its agents cannot be held responsible for any errors contained, or any loss incurred as a result. Articles published do not necessarily reflect the views of the publishers. The editor reserves the right to alter or cut copy. Articles submitted are deemed to have been cleared for publication. Advertisements and company contact details are published as provided by the advertiser. Technews Publishing (Pty) Ltd cannot be held responsible for the accuracy or veracity of supplied material.




© Technews Publishing (Pty) Ltd | All Rights Reserved