MPLAB Device Blocks for Simulink :dsPIC, PIC32 and SAM mcu

dsPIC, PIC32, SAMx2, SAMx5 and SAMx7 support package
6.1K Downloads
Updated 26 Nov 2024

Cite As

MPLAB-Device-Blocks-for-Simulink (Microchip Technology)

MATLAB Release Compatibility
Created with R2024a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

blocks

examples

examples/MOTOR_PMSM_MCB_FOC_SAME70/Sensored_FOC_Encoder_PMSM_SAME70_MCLV2

examples/MOTOR_PMSM_MCB_FOC_SAME70/Sensored_PosCtrl_FOC_PMSM_SAME70_MCLV2

examples/MOTOR_PMSM_MCB_FOC_SAME70/Sensorless_FOC_PMSM_SAME70_MCLV2

examples/MOTOR_PMSM_SensorlessObserver_R2015b_dsPIC

examples/SAMV71_MCAN_CfunctionCall

examples/University/INSA_Lyon_Ampere_MotorControl/fieldWeakening

examples/University/INSA_Lyon_Ampere_MotorControl/fieldWeakening/hurstMotor

examples/University/INSA_Lyon_Ampere_MotorControl/fieldWeakening/teknicMotor

examples/University/INSA_Lyon_Ampere_MotorControl/vectorControl

examples/clib

mchp

mchp/+mchppil

mchp/+mchppil_PIC32

mchp/+mchppil_SAMx

mchp/Lib_dsPIC/ASM/src

mchp/Lib_dsPIC/C/src

blocks/blk_mdl

blocks/blk_slx

examples

examples/CRL_Demo

examples/MOTOR_PMSM_MCB_FOC_SAME70/Sensored_FOC_Encoder_PMSM_SAME70_MCLV2

examples/MOTOR_PMSM_MCB_FOC_SAME70/Sensored_PosCtrl_FOC_PMSM_SAME70_MCLV2

examples/MOTOR_PMSM_MCB_FOC_SAME70/Sensorless_FOC_PMSM_SAME70_MCLV2

examples/MOTOR_PMSM_SensorlessObserver_R2015b_PIC32MK

examples/MOTOR_PMSM_SensorlessObserver_R2015b_SAME70

examples/MOTOR_PMSM_SensorlessObserver_R2015b_dsPIC

examples/ProcessorIntheLoop_PIL

examples/SAMV71_MCAN_CfunctionCall

examples/SAMV71_Xplained_Ultra_ExtMode_PIL_R2020b

examples/SAMx7_Xplained_EEPROM

examples/UART_Terminal

examples/University/INSA_Lyon_Ampere_MotorControl/fieldWeakening/hurstMotor

examples/University/INSA_Lyon_Ampere_MotorControl/fieldWeakening/teknicMotor

examples/University/INSA_Lyon_Ampere_MotorControl/vectorControl

doc

examples/University/INSA_Lyon_Ampere_MotorControl/fieldWeakening

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes
3.58

See release notes for this release on GitHub: https://github.com/MPLAB-Blockset/MPLAB-Device-Blocks-for-Simulink/releases/tag/v3.58

3.57

See release notes for this release on GitHub: https://github.com/MPLAB-Blockset/MPLAB-Device-Blocks-for-Simulink/releases/tag/v3.57

3.55

See release notes for this release on GitHub: https://github.com/MPLAB-Blockset/MPLAB-Device-Blocks-for-Simulink/releases/tag/v3.55

3.54

See release notes for this release on GitHub: https://github.com/MPLAB-Blockset/MPLAB-Device-Blocks-for-Simulink/releases/tag/v3.54

3.53

See release notes for this release on GitHub: https://github.com/MPLAB-Blockset/MPLAB-Device-Blocks-for-Simulink/releases/tag/v3.53

3.52

See release notes for this release on GitHub: https://github.com/MPLAB-Blockset/MPLAB-Device-Blocks-for-Simulink/releases/tag/v3.52

3.51

See release notes for this release on GitHub: https://github.com/MPLAB-Blockset/MPLAB-Device-Blocks-for-Simulink/releases/tag/v3.51

3.50

-Add SAMC2x SAMD2x SAMDAx
-SAMx5 ADC & QDEC update
-dsPIC CRL fix for R2021a
-dsPIC CH/CK fixed PWM HS input channel swapped (CH1-CH3)
-SAMx7 PWM dead time initial value with a factor 2 (0.5us real for 1us set)
-prog interface fast + Seeger
-picgui

3.49

- External-Mode & PIL
- SAMx scheduler robust to overload
- PICGUI run in background
- Compiler Option CRL
- MPLAB X project creation improvement
- updated dsPIC & PIC32 UART driver
- Task State pin setting for SAMx Chips
Variou fixes for some chips

3.48

- Added SPI & I2C for SAMx5
- ADC for SAMx5: fixed AIN0 channel
- Support for 64 bit MPLAB X Ide (v5.45 and above)
- Fixed I2C & SPI for dsPICs (EV, FJ)
- dsPIC Change Notification / Input Capture:GUI issue when at chip switching

3.47

- Added SPI support for dsPIC GS, CH, CK
- Fixed pin mapping inconsistency on dualcore dsPIC for Secondary Core
- Fixed generic issue with former Matlab release

3.46.064

- Improved SAMx5 support. Added SPI support
- Fixed issue with dual core dsPIC support.
- Fixed MPLAB X project not created with Matlab R2020b
- Added PIC32 GPK MCG and GPG

3.46.063

- Support for SAMx5 familly
- Fixed search issue for recent XC compilers
- Support external CMSIS and DFP packages
- Renamed scripts pad and padr to picgui.pad/padr (Conflict with MathWorks scripts on recent versions)

3.46.05

PIC32: extend option for peripheral output pin (Peripheral Pin mapping)
Model reference: Fixed compilation error when creating a library for model reference

3.46.03

- Updated PIC32MZ SPI DMA implementation
- Some setup had issues related to system java version; fixed.

3.46.01

- Programmer interface (Java might not be found)
- SAMx7 chip issues with doc block ; MPLAB X project
- Installer script propose old installation method (might fix add-ons issues related to user permissions in classroom/lab setup)

3.46.00

Support added for dsPIC CH dual core DSCs

3.45.05

- fixed QEI typo in generated code (PIC32)
- fixed SPI typo on slave implementation (PIC32)

3.45.04

Fixes:
- PIL and Ext-Mode GUI issue UART
- PIC32 Compiler block issue with heap size
- PIC32 code for Timer might not compile

- Improved MPLAB X project creation
- Added Ext-Mode example for PIC32MZ

3.45.02

- Extended supported chip
- Added programming interface user choice (MDB vs IPE)
- Improved support for SNAP and PICKIT 4 programmers
- Fixed some compatibility issue with older Matlab release
Other minor improvements, see readme.md file

3.45.01

Updated installer. Compatible from R2010a to R2019a

3.45

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.