STM32CubeMX

Expedite initialization of your overall system

Cube MX Hero Cube MX Hero

Great tool for starting from scratch.

The STM32CubeMX tool makes hardware and
peripheral configuration easy, plus Nucleo
boards for development are cost effective. They
also offer a great variety of part selection.

Background image STM32 Cube MX Desktop STM32 Cube MX Desktop

altImg

  • Embedded finder: MCUs/MPUs, boards, examples
  • Pinout, Peripherals & Middleware configuration
  • Clock configuration
  • Project generation for Keil, IAR & STM32CubeIDE
  • Power consumption estimation
  • Software package manager
  • Embedded tutorial videos and documentation
Download STM32CubeMX

Discover STM32CubeMX features

Finder, pinout/clock/peripheral/middleware configuration, project and code generation, power consumption calculation, software package manager. ​

Pinout configuration​

Graphical interface to ease pinout placement and configuration for your overall system.

MCU, MPU, boards, pinout

Pinout configuration​

Clock configuration​

Visualization of the complete clock tree, clock configuration, and automatic solver to complete resolution based on your needs.

Clock configuration, clock setting resolver​

Clock configuration​

Peripheral configuration

Configure graphically every peripheral to be initialized for your project and manage conflict versus hardware sharing.

Peripheral & middleware selection, configuration, pinout conflict solving

Peripheral configuration

Add software packs​

Manage additional software packs and their dependencies and add them to your project, then configure them just like other native peripherals or middleware.

Software package, CMSIS pack, components, dependency solving

Add software packs​

Configure and generate the project

Tune the configuration of your project and select your target IDE toolchain before finally generating the C code and including all libraries in your project.​

Project creation, code generation and initialization, IDEs

Configure and generate the project
background-image-1 background-image-2 background-image-3

Latest released documentation

User Manuals (1)
UM1718 STM32CubeMX for STM32 configuration and initialization C code generation
Version 41.0
09 Jul 2023
Release Notes (1)
RN0094 STM32CubeMX release 6.9.1
Version 66.0
01 Aug 2023
License Agreement (1)
SLA0048 Mix Ultimate Liberty+OSS+3rd-party V1 - SOFTWARE LICENSE AGREEMENT
Version 6.31
01 Aug 2023

Latest released documentation

Documentation name Version Date
UM1718 STM32CubeMX for STM32 configuration and initialization C code generation
41.0 09 Jul 2023 Download User Manuals
RN0094 STM32CubeMX release 6.9.1
66.0 01 Aug 2023 Download Release Notes
SLA0048 Mix Ultimate Liberty+OSS+3rd-party V1 - SOFTWARE LICENSE AGREEMENT
6.31 01 Aug 2023 Download License Agreement

Getting started video

Tutorial videos

Watch more on our YouTube playlist

Other products from the STM32Cube Ecosystem

altImg

  • Configuration
  • Intit code
  • Code editing
  • Code debugging
  • Debugging
  • Binary programming
 
Discover STM32CubeIDE Discover STM32CubeIDE

altImg

  • Binary programming
  • Hardware options setting
  • Secure programming
 
Discover STM32CubeProgrammer Discover STM32CubeProgrammer

altImg

  • Monitoring
  • Real-time valuable visualization
  • Specific for RF, Power and USB-PD
Discover STM32CubeMonitor Discover STM32CubeMonitor