STM32Cube initialization code generator

STM32CubeMX is a graphical tool that allows a very easy configuration of STM32 microcontrollers and the generation of the corresponding initialization C code through a step-by-step process.

Step one consists in selecting the STMicroelectronics STM32 microcontroller that matches the required set of peripherals.

The user must then configure each required embedded software thanks to a pinout-conflict solver, a clock-tree setting helper, a power-consumption calculator, and an utility performing MCU peripheral configuration (such as GPIO or USART) and middleware stacks (such as USB or TCP/IP).

Finally, the user launches the generation of the initialization C code based on the selected configuration. This code is ready to be used within several development environments. The user code is kept at the next code generation.

STM32CubeMX is delivered within STM32Cube.

Key Features

  • Intuitive STM32 microcontroller selection
  • Rich easy-to-use graphical user interface allowing the configuration of:
    • Pinout with automatic conflict resolution
    • Peripherals and middleware functional modes with dynamic validation of parameter constraints
    • Clock tree with dynamic validation of the configuration
    • Power sequence with estimated consumption results
  • C code project generation covering STM32 microcontroller initialization, compliant with IAR™, Keil®, SW4STM32, and GCC compilers
  • Available as standalone software running on Windows®, Linux® and macOS® (macOS is a trademark of Apple Inc. registered in the U.S. and other countries.) operating systems, or through Eclipse plug-in

Image

×

Resources

Technical Documentation

Product Specifications
Description Version Size
DB2163 DB2163: STM32 configuration and initialization C code generation 11.0 471 KB
User Manuals
Description Version Size
UM1718 UM1718: STM32CubeMX for STM32 configuration and initialization C code generation 27.0 24 MB
Release Notes
Description Version Size
RN0094 RN0094: STM32CubeMX release 5.0.0 41.0 743 KB

Legal

License Agreement
Description Version Size
SLA0048 SLA0048: Mix Ultimate Liberty+OSS+3rd-party V1 - SOFTWARE LICENSE AGREEMENT 4.13 87 KB

Tools and Software

Development Tools
Software Development Tools
Embedded Software
MCUs Embedded Software

Get Software

Part Number Software Version Marketing Status Supplier Download
STM32CubeMX 5.0.0 Active ST

 

Support & Community
Featured Products




×