You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Embedded Coder Support Package for STMicroelectronics STM32 Processors enables users to build, load, and run Simulink models on STM32 devices.
Capabilities
- Rapid prototyping of algorithms on-chip using automated build, deploy, and execution
- Perform real-time parameter tuning and logging using monitor and tune mode (external mode)
- Perform processor-in-the-loop (PIL) with execution profiling
- Generate processor optimized code, including CMSIS-DSP
- Support for peripheral configuration using STM32CubeMX integration
- Driver block libraries for on-chip and on-board peripherals
- Accelerate motor control development with example models for Motor Control Blockset™
Supported processors
The following STM32 processor series and the respective hardware boards for each series including Nucleo, Discovery and Custom boards are supported.
High Performance:
- STM32H7xx (dual core)
- STM32H7xx (single core)
- STM32H5xx
- STM32F7xx
- STM32F4xx
- STM32F2xx
Mainstream:
- STM32G4xx
- STM32G0xx
- STM32F3xx
- STM32F1xx
Ultra-Low-Power:
- STM32U5xx
- STM32L5xx
- STM32L4xx
Wireless:
- STM32WBxx
Related resources
- Online documentation
- Examples
- Video on How to install the package
- Video on How to deploy your first model
Note: This support package is functional for R2013b and beyond. This support package was formerly known as Embedded Coder Support for STMicroelectronics Discovery Boards till 2021b. See release notes for further details.
MATLAB Release Compatibility
- Compatible with R2016b to R2025b
Platform Compatibility
- Windows
- macOS (Apple Silicon)
- macOS (Intel)
- Linux
