STM32 Microcontroller Support

Generate optimized code for STMicroelectronics STM32 devices with Embedded Coder and Simulink Coder


  • Accelerate your development with STM32 microcontrollers
  • Leverage processor-optimized code and automated deployment
  • Support for various Discovery and Nucleo Boards as well as all STM32F4x devices



MathWorks and STMicroelectronics have partnered to offer support for a variety of STM32 devices and evaluation boards.  

Embedded Coder Support for STMicroelectronics Discovery Boards (with new STM32CubeMX support for all STM32F4x devices) and Simulink Coder Support for Nucleo Boards enables you to automatically build, load and run algorithms on STM32 devices using Simulink models.

Simulink hardware support packages for STM32 offers the following capabilities:

  • Rapid Prototyping of algorithms on-chip using automated build, deploy and execution
  • Perform real-time parameter tuning and logging using external mode
  • Perform Processor-in-the-loop (PIL) with execution profiling
  • Generate processor optimized code including CMSIS-DSP
  • Driver block libraries for on-chip and on-board peripherals such as ADC, digital I/O, PWM, SPI, I2C, and more. Varies by support package and workflow

For more information, see the STMicroelectronics hardware support page.


12 rue Jules Horowitz
Grenoble, 38000
Tel: +33-4-76-58-44-51

Required Products

Recommended Products


  • Windows


  • Consulting
  • E-mail
  • Fax
  • Telephone

Product Type

  • Embedded Hardware - MCU, DSP, FPGA


  • Control Systems
  • Data Acquisition or Import
  • Digital Signal Processing
  • Embedded Systems
  • Process Control and Monitoring


  • Consumer Goods
  • Consumer Electronics
  • Industrial Automation and Machinery
  • Instrumentation and Test
  • Medical Devices