Model-Based Design for Microchip Microcontrollers
The MPLAB Device Blocks for Simulink is a comprehensive toolkit developed by Microchip Technology that integrates seamlessly with MATLAB/Simulink environment. It enables engineers to design, simulate, and automatically generate embedded C code for a wide range of Microchip microcontrollers.
With one-button code generation and deployment, the blockset dramatically shortens the simulation ↔ test iteration cycle, allowing you to focus on algorithm development rather than low-level programming and microcontroller configuration.
Quick start guides, installation instructions, and basic tutorials to get you up and running quickly.
View Getting Started →Complete catalog of all available blocks organized by category: System, Digital IO, PWM, ADC, Communication, Timers, and more.
Browse Blocks →Detailed guides for code generation, compiler setup, external mode debugging, and PIL testing.
Read User Guide →Specialized guide for motor control applications including FOC algorithms, field weakening, and sensorless control techniques.
Explore Motor Control →University research projects and Microchip Discover examples covering motor control, peripherals, and development boards.
See Examples →Watch webinars and tutorials from MathWorks, Microchip, and university researchers covering motor control, power electronics, and code deployment.
Watch Videos →Common issues and solutions for compilation errors, external mode problems, and hardware connection troubleshooting.
Get Help →32-bit DSC with FPU, advanced PWM with Fine Edge Placement (FEP), enhanced security features.
16-bit DSC with dual-core options, standard PWM, motor control capabilities.
16-bit DSC with high-speed SAR ADC, motor control peripherals, extensive peripheral set.
16-bit DSC foundation with motor control PWM, standard ADC, legacy applications.
16-bit DSC legacy family, essential peripheral support for existing applications.
32-bit MIPS-based microcontrollers with motor control PWM, advanced peripherals.
ARM-based microcontrollers: SAME5x, SAME7x, SAMC2x, SAMD2x families.
See complete list of supported devices with detailed specifications and capabilities.
Supported Devices →During the code generation process, the MPLAB Device Blocks for Simulink automatically handles:
PMSM/BLDC control, FOC algorithms, sensorless control, field weakening
Digital power conversion, PFC, inverters, DC-DC converters
PLC applications, sensor interfaces, communication protocols
Real-time control loops, signal processing, data acquisition
If you need assistance or want to learn more: