STM32 Microcontroller Blockset

NEW PRODUCT

 

STM32 Microcontroller Blockset

Design, simulate, and implement applications for STMicroelectronics STM32 microcontrollers

Board with the names of all major STM32 MCUs that are supported.

Reference Applications

Motor control system diagram showing controller blocks, plant model and feedback loops.

Motor Control

Diagram of a power conversion Simulink model.

Power Conversion

Signal processing workflow showing pre-processing and post-processing stages.

Signal Processing

Product Highlights

Simulink model showing the Getting Started example with STM32 hardware configuration.

Single-Click Deployment

Generate code and deploy to STM32 MCUs with a single click. Generated code automatically calls CMSIS-DSP for optimized signal processing and CMSIS-NN for neural network inference on Cortex-M processors.

Simulink Library Browser displaying STM32 Microcontroller Blockset blocks.

Peripheral Support

Use driver blocks for ADC, PWM, digital I/O, UART, I2C, SPI, and FDCAN to configure STM32 MCU peripherals directly in your Simulink model.

Diagram of an external mode example model.

Signal Monitoring and Parameter Tuning

Monitor signals and tune parameters in models running on STM32 devices without recompiling model.

Simulink model configured for processor-in-the-loop verification.

PIL Testing

Run PIL tests from MATLAB and Simulink to verify numerical equivalence and profile execution time.

Getting Started example model for Connected I/O with STM32 hardware.

Connected I/O Simulation

Stream peripheral data from STM32 hardware into Simulink during simulation. Supported peripherals include ADC, PWM, GPIO, I2C, and SPI.

Integration with STM32CubeMX and STM32CubeIDE

STM32Cube Integration

Import existing STM32CubeMX project (.ioc) files or create new STM32CubeMX projects in Simulink. Optionally, generate STM32CubeIDE-compatible projects.

Supported Hardware

All Nucleo, discovery, evaluation, and custom boards based on the following processor series 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