MPLAB Device Blocks for Simulink v3.63.20
π Online documentation: mplab-blockset.github.io
π New Features
-
Register Access block: signed integer I/O β
int8,int16andint32input and output types, for example to read a CIC filter accumulator. -
Three board templates are now packaged. They were missing from v3.63.19 package:
Template Board Device MCLV-48V-300W Motor Control Low-Voltage (Pegasus DIM) dsPIC33AK512MC510 Curiosity Development Board dsPIC33CK GP dsPIC33CK256MP508 Curiosity Nano EV08P02A dsPIC33CK Value Line dsPIC33CK256MC005 The MCLV-48V-300W template adds an optional UART2 on XPRO1 (Rx = DIM102, Tx = DIM104), commented out by default. The 13 existing templates are refreshed and repackaged in native R2021b format.
-
Master block: I3C configuration fuses on dsPIC33AK β
FDEVOPT_ODPUR(open-drain pull-up, disabled by default) andFDEVOPT_ALTI3C1(alternate I3C1 pins). Fuse-level only: the I2C block does not support I3C yet, so existing models are unaffected.
π§ Updates
- External mode β Ext-Mode β Ext Mode settings is now a split button. Its drop-down opens the native MathWorks External Mode Control Panel for the classic connect, start and stop dialog, next to the one-click Monitor & Tune.
π οΈ Corrections
- High-speed 12-bit ADC no longer stays dead when the block is placed inside an asynchronous (function-call or interrupt) subsystem. The ADC enable and its interrupt setup are applied after all configuration, whatever subsystem hosts the block.
- Interrupt block β the interrupt priority symbol is corrected on dsPIC33A (for example
_CICOSRIPbecomes_CICORIP). Flag, enable and priority register references are derived from the chip database. ISR register and bit-field names are validated and report a clear error instead of a cryptic XC-DSC undeclared-identifier message. - ADC and QEI register names update from latest DPF requirements.
- Register Access block β a multi-bit dropdown value is no longer re-read as a decimal number, and
0b/0xliterals are decoded. - Watchdog β the window fuse is corrected across chip families.
- Scheduler β Support continuous time addedks. The undefined
_steplink error and External-Mode stop-time are resolved. - C Function Call β source-file lookup is more reliable across operating systems.
- Toolstrip β the Simulink toolstrip cache self-heals after installation or upgrade.
ποΈ Database
- The register database is regenerated for 626 devices.
Requirements
- MATLAB: R2018a to R2026a
- Compilers: XC-DSC (dsPIC), XC32 (PIC32/SAM)
- IDE: MPLAB X IDE
Installation
Install through MATLAB Add-Ons, or download the .mltbx file and run it in MATLAB.