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:

Converter power modules for 48 V networks
Altron Arrow Power Electronics / Power Management
The economic and quality-of-life benefits of electrification is driving the adoption of HV to 48 V DC-DC conversion across many markets with 48 V power modules becoming more common.

Read more...
How a vision AI platform and the STM32N6 can turn around an 80% failure rate for AI projects
Altron Arrow AI & ML
he vision AI platform, PerCV.ai, could be the secret weapon that enables a company to deploy an AI application when so many others fail.

Read more...
Memory for asset tracking
Altron Arrow DSP, Micros & Memory
The Page EEPROM, ST’s latest memory, has been designed for efficient datalogging and fast firmware upload/download in battery-operated devices.

Read more...
Enhanced graphics on STM32U3
Design Automation
ST has introduced a new program designed specifically for users working with its mainstream STM32 MCUs, including STM32C0, U0, WBA, and U3 series.

Read more...
Microchip and AVIVA Links collaboration
Altron Arrow News
Microchip and AVIVA Links have achieved groundbreaking ASA-ML interoperability, accelerating the shift to open standards for automotive connectivity.

Read more...
Expanded STM32WL3x line for IoT sensors
Altron Arrow Telecoms, Datacoms, Wireless, IoT
The STM32WL31x and STM32WL30x are more tailored versions of the STM32WL33x for designers who wish to focus on specific features, while lowering their bill of materials.

Read more...
Ultra-low jitter clock buffers
Altron Arrow Telecoms, Datacoms, Wireless, IoT
New SKY53510/80/40 family of clock fanout buffers from Skyworks are purpose-built for data centres, wireless networks, and PCIe Gen 7 applications.

Read more...
Semicon Summit 2025 - Dubai: Direct access to global chipmakers, built for Africa’s engineering needs
Design Automation
[Sponsored] The future of South Africa’s technology ecosystem depends on deeper integration with global supply chains and tighter alignment with semiconductor manufacturers. That alignment takes presence, interaction, and shared focus on real systems.

Read more...
Ultra-low power MEMS accelerometer
Altron Arrow Analogue, Mixed Signal, LSI
Analog Devices’ ADXL366 is an ultra-low power, 3-axis MEMS accelerometer that consumes only 0,96 µA at a 100 Hz output data rate and 191 nA when in motion-triggered wake-up mode.

Read more...
Converting high voltages without a transformer
Altron Arrow Editor's Choice Power Electronics / Power Management
With appropriate power converter ICs, such as the LTC7897 from Analog Devices, many applications can be suitably powered without having to use complex and cost-intensive transformers.

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