Microchip dsPIC Microcontrollers Support from Embedded Coder

Generate code optimized for dsPIC DSC.

You can use Simulink® to develop embedded systems applications for the Microchip dsPIC® family of digital signal controllers (DSCs). This family of 16-bit microcontrollers supports digital and analog I/O, counters and timers, motor control (PWM), and I2C, SPI, UART, and CAN communications.

The dsPIC33F Starter Kit includes audio capture and playback circuitry, a 16/24/32-bit codec, an integrated headphone amplifier, and user-programmable switches and LEDs. This starter kit is suitable for teaching audio processing. Additional starter kits support teaching in other fields, including motor control, digital power conversion, and smart sensing. Microchip support for this dsPIC blockset includes:

  • Simulink blocks and help files for all peripherals of the dsPIC3x family
  • Block libraries for common motor control and DSP algorithms, fixed-point and floating-point math, and run-time communications
  • Examples of Simulink models
  • Video tutorials

Using Simulink and the dsPIC blockset, students can develop a graphical model of a signal processing or control system, test it through simulation, and automatically generate code for the Microchip MPLAB IDE. Once the algorithm is running on the dsPIC microcontroller, students can monitor system performance from Simulink by executing the program in external mode.