Contenuto principale

STM32 Microcontroller Blockset

Design, simulate, and implement applications for STMicroelectronics STM32 microcontrollers

STM32™ Microcontroller Blockset enables you to model and deploy motor control and digital power conversion algorithms on STM32 microcontrollers (MCUs) for industrial and automotive applications.

The blockset includes device driver blocks specific to STM32 MCUs, such as ADC, PWM, and timers, and interfaces with the STM32CubeMX tool to configure these peripherals. You can generate optimized C code that calls CMSIS-DSP and CMSIS-NN library functions and deploy generated code directly to STM32 MCUs (with Embedded Coder®). You can also integrate machine learning and deep learning models, such as SVMs, FC layers, and LSTMs, for virtual sensors in motor control applications.

The blockset enables you to perform processor-in-the-loop (PIL) testing to assess code execution performance and optimize code across STM32 MCUs. You can connect Simulink® models to STM32 hardware for real-time signal monitoring, parameter tuning, and data logging.

Get Started

Learn the basics of STM32 Microcontroller Blockset

Applications

Examples illustrating motor control, power conversion, audio processing, and deep learning applications

Peripherals

Connect to peripherals and sensors attached to STM32 processor based boards

Connected I/O Simulation

Prototype and test Simulink models using real STM32 hardware before deployment, without code generation

Signal Monitoring and Parameter Tuning

Monitor signals in real time and tune parameters on STM32 hardware in external mode

Deployment and Validation

Deploy Simulink model on hardware and show numerical equivalence between Simulink code and generated code running on STM32 processor based boards

STM32 MBED Based Boards

Generate and deploy code on STMicroelectronics® Discovery™ and STMicroelectronics Nucleo boards