MPLAB® Device Blocks for Simulink®
The MPLAB® Device Blocks for Simulink® provide a set of user interfaces and Simulink peripheral blocks for the dsPIC30, dsPIC33 Digital Signal Controllers (DSCs), and the PIC32MK MCUs.
Standalone applications can be created from a Simulink discrete time model by adding blocks provided by Microchip. Code for the application is generated, compiled, and loaded on a target in a single, one-push-button step.
Features:
- Generates efficient single-tasking and multi-tasking code
- Target configuration blocks: Master Block, Simulink Reset Config, Compiler Option, Data Sheet
- Peripherals configuration blocks for dsPIC30, dsPIC33 DSCs, PIC32MK, and PIC32MZ MCUs:
- Digital I/O
- Analog-to-Digital Converter (ADC)
- Pulse Width Modulation (PWM)
- Change Notification
- Output Compare
- Input Capture
- Quadrature Encoder Interfaces (QEI)
- I²C
- Serial Peripheral Interface (SPI)
- UART
- Interrupt
- Reset
- Facility to invoke dsPIC30, dsPIC33 DSCs, PIC32MK and PIC32MZ MCUs coded functions written in C through the C Function Call block
- Support external mode to connect target to Simulink, visualize signals and tune parameters while running in real-time
- Support Processor In the Loop (PIL) for fine analysis of code execution (timing and accuracy)
- Real-time view/analyze/log variables of a standalone running model through our custom PIC® GUI interface
- Generates a ready-to-use MPLAB® X IDE project
- Supports over 270 devices
Self-Paced Training
The material in these training modules exists elsewhere on this site in a general reference format. However, the training modules present it in an organized, step-by-step sequence to help you learn the topic from the ground up.
Tutorial / Class Title |
---|
Frequently Asked Questions
Topic |
---|