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:

Analysis of switch-mode power supply: inductor violations
Altron Arrow Editor's Choice Power Electronics / Power Management
Common switch-mode power supply (SMPS) design errors are discussed, and their appropriate rectification is specified, with details on complications that arise with the power stage design of DC-DC switching regulators.

Read more...
Microsoft Windows IoT on ARM
Altron Arrow Computer/Embedded Technology
This expansion means that the Windows IoT ecosystem can now harness the power of ARM processors, known for their energy efficiency and versatility.

Read more...
Accelerating the commercialisation of the 5G IoT markets
Altron Arrow Editor's Choice Telecoms, Datacoms, Wireless, IoT
Fibocom unveils Non-Terrestrial Networks (NTN) module MA510-GL, enabling satellite and cellular connectivity to IoT applications.

Read more...
Microchip introduces ECC608 TrustMANAGER
Altron Arrow Circuit & System Protection
To increase security on IoT products and facilitate easier setup and management, Microchip Technology has added the ECC608 TrustMANAGER with Kudelski IoT keySTREAM, Software as a Service (SaaS) to its Trust Platform portfolio of devices, services and tools.

Read more...
xG26 sets new standard in multiprotocol wireless device performance
Altron Arrow AI & ML
Silicon Labs has announced its new xG26 family of Wireless SoCs and MCUs, which consists of the multiprotocol MG26 SoC, the Bluetooth LE BG26 SoC, and the PG26 MCU.

Read more...
SolidRun unveils new SoM
Altron Arrow AI & ML
SolidRun and Hailo has unveiled a game-changer for engineers and AI product developers with the launch of their market-ready SoM, which packs the cutting-edge capabilities of the Hailo-15H SoC.

Read more...
An evolutionary step in customisable logic
Altron Arrow DSP, Micros & Memory
Microchip Technology is offering a tailored hardware solution with the launch of its PIC16F13145 family of microcontrollers, which are outfitted with a new Configurable Logic Block module.

Read more...
MCU for battery-powered applications
Altron Arrow DSP, Micros & Memory
Included in ST’s family of devices is the STM32U031, an ultra-low-power MCU featuring an ARM Cortex-M0+ 32-bit core running at up to 56 MHz.

Read more...
Antennas to meet all connectivity requirements
Electrocomp Telecoms, Datacoms, Wireless, IoT
Kyocera AVX RF antennas meet today’s connectivity demands in the LTE, Wi-Fi, Bluetooth, GNSS, and ISM wireless bands, available in surface mount, patch or external configurations.

Read more...
LoRaWAN-certified sub-GHz module
Altron Arrow Telecoms, Datacoms, Wireless, IoT
The STM32WL5M from ST Microelectronics is the company’s first LoRaWAN-certified module which incorporates two cores, one of them being a wireless stack to optimise the creation of sub-GHz applications.

Read more...