Microchip dsPIC, PIC32, and SAM Controller Support from Embedded Coder
Generate optimized code for dsPIC33 Digital Signal Controllers and PIC32 and SAM microcontrollers
Develop embedded applications using Microchip MPLAB® Device Blocks for Simulink and dsPIC33 Digital Signal Controllers (DSCs), or PIC32 and SAM microcontrollers (MCUs). You can develop and simulate your algorithm in Simulink, include the required peripheral blocks, generate optimized code with Embedded Coder, and deploy it on one of 400+ supported devices.
MPLAB Device Blocks for Simulink supports an array of peripherals, including digital I/Os, analog I/Os, pulse width modulation (PWM), pulse measurement, Quadrature Encoder Interface (QEI), analog-to-digital converter (ADC), and communication peripherals such as I2C, SPI, and UART. You can use Simulink external mode, which enables your host computer to communicate with the deployed model on your hardware board during runtime for live plotting and parameter analysis. A multi-tasking scheduler is included, as well as blocks that provide details about execution time and task profiling to develop complex applications. You can customize the code generated from MATLAB for your dsPIC33 DSC or PIC32 or SAM MCUs using a code replacement library that enables efficient and high-speed execution of math functions such as sin, atan2, and sqrt.
You can develop a graphical model of a signal processing or control system, test it through simulation, compile code, and program it onto your device with one push of a button.