STM32Cube initialization code generator

STM32CubeMX is part of STMicroelectronics STMCube™ original initiative to make developers’ lives easier by reducing development effort, time and cost. STM32Cube covers the whole STM32 portfolio.

STM32Cube includes STM32CubeMX, a graphical software configuration tool that allows the generation of 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 the STM32 portfolio), the STM32Cube LL (low-layer APIs, a fast, light-weight, expert-oriented layer), plus a consistent set of middleware components such as RTOS, USB, TCP/IP and graphics. All the embedded software utilities are delivered with a full set of examples.

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 (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.

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 as a standalone software running on Windows®, Linux® and macOS® (Apple Inc. trademark 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 7.0 267 KB
User Manuals
Description Version Size
UM1718 UM1718: STM32CubeMX for STM32 configuration and initialization C code generation 23.0 21 MB
Release Notes
Description Version Size
RN0094 RN0094: STM32CubeMX release 4.23.0 33.0 603 KB

Legal

License Agreement
Description Version Size
SLA0047 SLA0047: Image V2 - SOFTWARE LICENSE AGREEMENT 1.14 99 KB

Tools and Software

Development Tools
Software Development Tools
Embedded Software
MCUs Embedded Software

Get Software

Part Number Software Version Marketing Status Supplier Order from ST
STM32CubeMX 4.22.1 Active ST

 

Support & Community


×