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.

simulink.jpg
Click image to enlarge.

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
© 2018 Microchip Technology, Inc.
Notice: ARM and Cortex are the registered trademarks of ARM Limited in the EU and other countries.
Information contained on this site regarding device applications and the like is provided only for your convenience and may be superseded by updates. It is your responsibility to ensure that your application meets with your specifications. MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHER EXPRESS OR IMPLIED, WRITTEN OR ORAL, STATUTORY OR OTHERWISE, RELATED TO THE INFORMATION, INCLUDING BUT NOT LIMITED TO ITS CONDITION, QUALITY, PERFORMANCE, MERCHANTABILITY OR FITNESS FOR PURPOSE. Microchip disclaims all liability arising from this information and its use. Use of Microchip devices in life support and/or safety applications is entirely at the buyer's risk, and the buyer agrees to defend, indemnify and hold harmless Microchip from any and all damages, claims, suits, or expenses resulting from such use. No licenses are conveyed, implicitly or otherwise, under any Microchip intellectual property rights.