ST Life.augmented

STM32CubeMX

STM32Cube initialization code generator (UM1718)
  • active Active

STM32CubeMX is part of STMicroelectronics STMCube™ original initiative to ease developers life by reducing development efforts, time and cost. STM32Cube covers STM32 portfolio.

STM32Cube includes the STM32CubeMX which is a graphical software configuration tool that allows generating C initialization code using graphical wizards.

It also embeds a comprehensive software platform, delivered per series (such as STM32CubeF4 for STM32F4 series). This platform includes the STM32Cube HAL (an STM32 abstraction layer embedded software, ensuring maximized portability across STM32 portfolio), plus a consistent set of middleware components (RTOS, USB, TCP/IP and graphics). All embedded software utilities come with a full set of examples.

STM32CubeMX is an extension of the existing MicroXplorer tool. It is a graphical tool that allows configuring STM32 microcontrollers very easily and generating 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 (GPIO, USART, ..) and middleware stacks (USB, 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.

Refer to STM32CubeMX release note for the supported STM32 series.

pdf Download
Data Brief

Key Features

  • Intuitive STM32 microcontroller selection
  • Microcontroller graphical configuration:
  • Pinout with automatic conflict resolution
  • Clock tree with dynamic validation of configuration
  • Peripherals and middleware functional modes and initialization with dynamic validation of parameter constraints
  • Power sequence with estimate of consumption results
  • C code project generation covering STM32 microcontroller initialization compliant with IAR™, Keil™ and GCC compilers.
  • Available standalone or through Eclipse plug-in

Image

Design Resources

Top

Technical Documentation

Product Specifications

Description Version Size
pdf
DB2163: STM32 configuration and initialization C code generation
2.0 190 KB

User Manual

Description Version Size
pdf
UM1718: STM32CubeMX for STM32 configuration and initialization C code generation
5.0 10,144 KB

Release Notes

Description Version Size
pdf
RN0094: STM32CubeMX release 4.5.0
7.0 120 KB

Presentations & Training Material

Presentations

Description Version Size
pdf
STM32 Embedded Software
1.0.0 571 KB
pdf
STM32 and STM8 embedded software solutions
3.0 1,771 KB

Related Tools and Software

Related Tools and Software

Part Number Description
STM32CubeF4 Embedded software for STM32 F4 series (HAL low level drivers, USB, TCP/IP, File system, RTOS, Graphic - coming with examples running on ST boards)
STSW-STM32095 STM32CubeMX for STM32 configuration and initialization C code generation eclipse plugin
STM32CubeF2 Embedded software for STM32 F2 series (HAL low level drivers, USB, TCP/IP, File system, RTOS, Graphic - coming with examples running on ST boards)
STM32CubeL1 Embedded software for STM32 L1 series (HAL low level drivers, USB, File system, RTOS, Touch Sensing, Graphic - coming with examples running on ST boards)
STM32CubeF3 Embedded software for STM32 F3 series (HAL low level drivers, USB, File system, RTOS, Touch Sensing, Graphic - coming with examples running on ST boards)
STM32CubeF0 Embedded software for STM32 F0 series (HAL low level drivers, USB, File system, RTOS, Touch Sensing - coming with examples running on ST boards)
STM32CubeL0 Embedded software for STM32 L0 series (HAL low level drivers, USB, File system, RTOS, Touch Sensing - coming with examples running on ST boards)

Publications and Collaterals

Flyer

Description Version Size
pdf
STM32 32-bit MCU family
2,651 KB

Get Software

Top
Part Number VersionMarketing StatusOrder From ST
STM32CubeMX4.5.0ActiveDownload

(*) Suggested Resale Price per unit (USD) for BUDGETARY USE ONLY. For quotes, prices in local currency, please contact your local ST Sales Office or our Distributors
(**) The Material Declaration forms available on st.com may be generic documents based on the most commonly used package within a package family. For this reason, they may not be 100% accurate for a specific device. Please contact our sales support for information on specific devices.
Feedback Form
Customer Feedback