STM32CubeMX
Active
Design Win
STM32Cube initialization code generator

Get Software Download databrief

Product overview

Description

STM32CubeMX, which includes the STM32CubeMX and STM32CubeMX2, is a graphical tool that simplifiies the configuration of STM32 products, and generates the corresponding initialization code through a guided step-by-step process.

The first step consists in selecting either an STMicroelectronics STM32 microcontroller, microprocessor, or development platform that matches the required set of peripherals, or an example running on a specific development platform.

In the second step, the user can interactively configure the GPIOs, set up the system clock tree, and select and configure the required peripherals and middleware for the application. The default software and middleware stacks can be extended using enhanced STM32Cube Expansion Packages. STMicroelectronics and partner packages can be downloaded directly from a dedicated package manager available within the Cube Ecosystem, while the other packages can be installed from a local drive.

  • All features

    • Rich easy-to-use graphical user interface to configure:
      • Pinout with automatic conflict resolution
      • Peripherals and middleware functional modes with dynamic validation of parameter constraints
      • Clock tree with dynamic validation of the configuration
    • Decreasing development time, by generating error free configurations for all supported STM32 peripherals.
    • Generation of initialization C code project, compliant with IAR Embedded Workbench®, MDK-ARM, and STM32CubeIDE
    • Integration of STM32Cube Expansion Packages into the project
    • Multi-OS support: Windows®, Linux®, and macOS®
    • See more at ST developer zone (see the link to the software developer zone: https://www.st.com/content/st_com/en/stm32cubemx.html)
    • Clock tree, offering real-time validation of the entire clock configuration and a configuration solver.
    • Reduced development time through the code generation of error-free configurations for all supported STM32 peripherals.
    • Generation of initialization C code projects, compliant with IAR Embedded Workbench®, MDK-ARM, or and STM32CubeIDE.

Circuit Diagram

Get Software

Software name Supported hardware ECCN OS Version Action
STM32CubeMX All MCU/MPU except STM32C5 Series All new microcontrollers series starting from STM32C5 will work exclusively with STM32CubeMX2 NEC (EU)
5D992.c (US)
STM32CubeMX2 STM32C5 Series All new microcontrollers series starting from STM32C5 will work exclusively with STM32CubeMX2 NEC (EU)
5D992.c (US)

STMicroelectronics recommends always keeping your software up to date
STM32 MCU WIKI:
Discover STM32 software toolchain.
Discover our scalable solutions to boost the development of MPU-based systems

All tools & software

    • Part number
      Status
      Description
      Type
      Supplier

      Arm Keil MDK

      Active

      C/C++ Compiler, IDE/Debugger, CMSIS, RTOS, middleware for STM32

      Software development tools from partners Arm
      Arm Keil MDK

      Description:

      C/C++ Compiler, IDE/Debugger, CMSIS, RTOS, middleware for STM32

      IAR Embedded Workbench for Arm

      Active

      Comprehensive integrated development environment with an optimized compiler, advanced debugging, and power analysis for Arm-based embedded applications

      Software development tools from partners IAR
      IAR Embedded Workbench for Arm

      Description:

      Comprehensive integrated development environment with an optimized compiler, advanced debugging, and power analysis for Arm-based embedded applications
    • Part number
      Status
      Description
      Type
      Supplier

      STM32CubeC0

      Active

      STM32Cube MCU Package for STM32C0 series (HAL, Low-Layer APIs and CMSIS, File system, RTOS - and examples running on ST boards)

      STM32Cube MCU & MPU Packages ST
      STM32CubeC0

      Description:

      STM32Cube MCU Package for STM32C0 series (HAL, Low-Layer APIs and CMSIS, File system, RTOS - and examples running on ST boards)

      STM32CubeF0

      Active

      STM32Cube MCU Package for STM32F0 series (HAL, Low-Layer APIs and CMSIS, USB, File system, RTOS, Touch Sensing - and examples running on ST boards)

      STM32Cube MCU & MPU Packages ST
      STM32CubeF0

      Description:

      STM32Cube MCU Package for STM32F0 series (HAL, Low-Layer APIs and CMSIS, USB, File system, RTOS, Touch Sensing - and examples running on ST boards)

      STM32CubeF1

      Active

      STM32Cube MCU Package for STM32F1 series (HAL, Low-Layer APIs and CMSIS, USB, TCP/IP, File system, RTOS, Graphic - and examples running on ST boards)

      STM32Cube MCU & MPU Packages ST
      STM32CubeF1

      Description:

      STM32Cube MCU Package for STM32F1 series (HAL, Low-Layer APIs and CMSIS, USB, TCP/IP, File system, RTOS, Graphic - and examples running on ST boards)

      STM32CubeF2

      Active

      STM32Cube MCU Package for STM32F2 series (HAL, Low-Layer APIs and CMSIS, USB, TCP/IP, File system, RTOS, Graphic - and examples running on ST boards)

      STM32Cube MCU & MPU Packages ST
      STM32CubeF2

      Description:

      STM32Cube MCU Package for STM32F2 series (HAL, Low-Layer APIs and CMSIS, USB, TCP/IP, File system, RTOS, Graphic - and examples running on ST boards)

      STM32CubeF3

      Active

      STM32Cube MCU Package for STM32F3 series (HAL, Low-Layer APIs and CMSIS, USB, File system, RTOS, Touch Sensing, Graphic - and examples running on ST boards)

      STM32Cube MCU & MPU Packages ST
      STM32CubeF3

      Description:

      STM32Cube MCU Package for STM32F3 series (HAL, Low-Layer APIs and CMSIS, USB, File system, RTOS, Touch Sensing, Graphic - and examples running on ST boards)

      STM32CubeF4

      Active

      STM32Cube MCU Package for STM32F4 series (HAL, Low-Layer APIs and CMSIS, USB, TCP/IP, File system, RTOS, Graphic - and examples running on ST boards)

      STM32Cube MCU & MPU Packages ST
      STM32CubeF4

      Description:

      STM32Cube MCU Package for STM32F4 series (HAL, Low-Layer APIs and CMSIS, USB, TCP/IP, File system, RTOS, Graphic - and examples running on ST boards)

      STM32CubeF7

      Active

      STM32Cube MCU Package for STM32F7 series (HAL, Low-Layer APIs and CMSIS, USB, TCP/IP, File system, RTOS, Graphic - and examples running on ST boards)

      STM32Cube MCU & MPU Packages ST
      STM32CubeF7

      Description:

      STM32Cube MCU Package for STM32F7 series (HAL, Low-Layer APIs and CMSIS, USB, TCP/IP, File system, RTOS, Graphic - and examples running on ST boards)

      STM32CubeG0

      Active

      STM32Cube MCU Package for STM32G0 series (HAL, Low-Layer APIs and CMSIS, USB PD, File system, RTOS - and examples running on ST boards)

      STM32Cube MCU & MPU Packages ST
      STM32CubeG0

      Description:

      STM32Cube MCU Package for STM32G0 series (HAL, Low-Layer APIs and CMSIS, USB PD, File system, RTOS - and examples running on ST boards)

      STM32CubeG4

      Active

      STM32Cube MCU Package for STM32G4 series (HAL, Low-Layer APIs and CMSIS, USB, File system, RTOS, Graphic - and examples running on ST boards)

      STM32Cube MCU & MPU Packages ST
      STM32CubeG4

      Description:

      STM32Cube MCU Package for STM32G4 series (HAL, Low-Layer APIs and CMSIS, USB, File system, RTOS, Graphic - and examples running on ST boards)

      STM32CubeH5

      Active

      STM32Cube MCU Package for STM32H5 series (HAL, Low-Layer APIs and CMSIS, USB, TCP/IP, File system, RTOS, Graphic - and examples running on ST boards)

      STM32Cube MCU & MPU Packages ST
      STM32CubeH5

      Description:

      STM32Cube MCU Package for STM32H5 series (HAL, Low-Layer APIs and CMSIS, USB, TCP/IP, File system, RTOS, Graphic - and examples running on ST boards)

      STM32CubeH7

      Active

      STM32Cube MCU Package for STM32H7 series (HAL, Low-Layer APIs and CMSIS, USB, TCP/IP, File system, RTOS, Graphic - and examples running on ST boards)

      STM32Cube MCU & MPU Packages ST
      STM32CubeH7

      Description:

      STM32Cube MCU Package for STM32H7 series (HAL, Low-Layer APIs and CMSIS, USB, TCP/IP, File system, RTOS, Graphic - and examples running on ST boards)

      STM32CubeL0

      Active

      STM32Cube MCU Package for STM32L0 series (HAL, Low-Layer APIs and CMSIS, USB, File system, RTOS, Touch Sensing - and examples running on ST boards)

      STM32Cube MCU & MPU Packages ST
      STM32CubeL0

      Description:

      STM32Cube MCU Package for STM32L0 series (HAL, Low-Layer APIs and CMSIS, USB, File system, RTOS, Touch Sensing - and examples running on ST boards)

      STM32CubeL1

      Active

      STM32Cube MCU Package for STM32L1 series (HAL, Low-Layer APIs and CMSIS, USB, File system, RTOS, Touch Sensing, Graphic - and examples running on ST boards)

      STM32Cube MCU & MPU Packages ST
      STM32CubeL1

      Description:

      STM32Cube MCU Package for STM32L1 series (HAL, Low-Layer APIs and CMSIS, USB, File system, RTOS, Touch Sensing, Graphic - and examples running on ST boards)

      STM32CubeL4

      Active

      STM32Cube MCU Package for STM32L4 series and STM32L4 Plus series (HAL, Low-Layer APIs and CMSIS, USB, TouchSensing, File system, RTOS, Graphic - and examples running on ST boards)

      STM32Cube MCU & MPU Packages ST
      STM32CubeL4

      Description:

      STM32Cube MCU Package for STM32L4 series and STM32L4 Plus series (HAL, Low-Layer APIs and CMSIS, USB, TouchSensing, File system, RTOS, Graphic - and examples running on ST boards)

      STM32CubeMP1

      Active

      STM32CubeMP1 Package for STM32MP1 series (HAL, Low-Layer APIs and CMSIS, OpenAMP for Inter processor communication, and examples running on ST boards)

      STM32Cube MCU & MPU Packages ST
      STM32CubeMP1

      Description:

      STM32CubeMP1 Package for STM32MP1 series (HAL, Low-Layer APIs and CMSIS, OpenAMP for Inter processor communication, and examples running on ST boards)

      STM32CubeU5

      Active

      STM32Cube MCU Package for STM32U5 series (HAL, Low-Layer APIs and CMSIS, USB, File system, RTOS, TF-M - coming with examples running on ST boards)

      STM32Cube MCU & MPU Packages ST
      STM32CubeU5

      Description:

      STM32Cube MCU Package for STM32U5 series (HAL, Low-Layer APIs and CMSIS, USB, File system, RTOS, TF-M - coming with examples running on ST boards)

      STM32CubeWB

      Active

      STM32Cube MCU Package for STM32WB series (HAL, Low-Layer APIs and CMSIS, USB, File system, RTOS, BLE, Thread and Zigbee stacks - and examples running on ST boards)

      STM32Cube MCU & MPU Packages ST
      STM32CubeWB

      Description:

      STM32Cube MCU Package for STM32WB series (HAL, Low-Layer APIs and CMSIS, USB, File system, RTOS, BLE, Thread and Zigbee stacks - and examples running on ST boards)

      STM32CubeWB0

      Active

      STM32Cube MCU Package for STM32WB0 series (HAL, Low-Layer APIs and CMSIS, File system, RTOS, BLE stack and examples running on ST boards)

      STM32Cube MCU & MPU Packages ST
      STM32CubeWB0

      Description:

      STM32Cube MCU Package for STM32WB0 series (HAL, Low-Layer APIs and CMSIS, File system, RTOS, BLE stack and examples running on ST boards)

      STM32CubeWBA

      Active

      STM32Cube MCU Package for STM32WBA series (HAL, Low-Layer APIs and CMSIS, File system, RTOS, BLE/802.15.4, Thread and Zigbee stacks - and examples running on ST boards)

      STM32Cube MCU & MPU Packages ST
      STM32CubeWBA

      Description:

      STM32Cube MCU Package for STM32WBA series (HAL, Low-Layer APIs and CMSIS, File system, RTOS, BLE/802.15.4, Thread and Zigbee stacks - and examples running on ST boards)

      STM32CubeWL

      Active

      STM32Cube MCU Package for STM32WL series (HAL, Low-Layer APIs and CMSIS, File system, RTOS, KMS, Secure Engine, Sub-GHz Phy, LoRaWAN and Sigfox stacks - and examples running on ST boards)

      STM32Cube MCU & MPU Packages ST
      STM32CubeWL

      Description:

      STM32Cube MCU Package for STM32WL series (HAL, Low-Layer APIs and CMSIS, File system, RTOS, KMS, Secure Engine, Sub-GHz Phy, LoRaWAN and Sigfox stacks - and examples running on ST boards)

      X-CUBE-AI

      NRND

      AI expansion pack for STM32CubeMX

      STM32Cube Expansion Packages ST
      X-CUBE-AI

      Description:

      AI expansion pack for STM32CubeMX

      X-CUBE-ALGOBUILD

      Active

      AlgoBuilder firmware template generator expansion for STM32Cube

      STM32Cube Expansion Packages ST
      X-CUBE-ALGOBUILD

      Description:

      AlgoBuilder firmware template generator expansion for STM32Cube

      X-CUBE-AZRTOS-F4

      Active

      Azure RTOS software expansion for STM32Cube for STM32F4 series

      STM32Cube Expansion Packages ST
      X-CUBE-AZRTOS-F4

      Description:

      Azure RTOS software expansion for STM32Cube for STM32F4 series

      X-CUBE-AZRTOS-F7

      Active

      Azure RTOS software expansion for STM32Cube for STM32F7 series

      STM32Cube Expansion Packages ST
      X-CUBE-AZRTOS-F7

      Description:

      Azure RTOS software expansion for STM32Cube for STM32F7 series

      X-CUBE-AZRTOS-G0

      Active

      Azure RTOS software expansion for STM32Cube for STM32G0 series

      STM32Cube Expansion Packages ST
      X-CUBE-AZRTOS-G0

      Description:

      Azure RTOS software expansion for STM32Cube for STM32G0 series

      X-CUBE-AZRTOS-G4

      Active

      Azure RTOS software expansion for STM32Cube for STM32G4 series

      STM32Cube Expansion Packages ST
      X-CUBE-AZRTOS-G4

      Description:

      Azure RTOS software expansion for STM32Cube for STM32G4 series

      X-CUBE-AZRTOS-H7

      Active

      Azure RTOS software expansion for STM32Cube for STM32H7 series

      STM32Cube Expansion Packages ST
      X-CUBE-AZRTOS-H7

      Description:

      Azure RTOS software expansion for STM32Cube for STM32H7 series

      X-CUBE-AZRTOS-L4

      Active

      Azure RTOS software expansion for STM32Cube for STM32L4 and STM32L4+ series

      STM32Cube Expansion Packages ST
      X-CUBE-AZRTOS-L4

      Description:

      Azure RTOS software expansion for STM32Cube for STM32L4 and STM32L4+ series

      X-CUBE-AZRTOS-L5

      Active

      Azure RTOS software expansion for STM32Cube for STM32L5 series

      STM32Cube Expansion Packages ST
      X-CUBE-AZRTOS-L5

      Description:

      Azure RTOS software expansion for STM32Cube for STM32L5 series

      X-CUBE-AZRTOS-WB

      Active

      Azure RTOS software expansion for STM32Cube for STM32WB series

      STM32Cube Expansion Packages ST
      X-CUBE-AZRTOS-WB

      Description:

      Azure RTOS software expansion for STM32Cube for STM32WB series

      X-CUBE-AZRTOS-WL

      Active

      Azure RTOS software expansion for STM32Cube for STM32WL series

      STM32Cube Expansion Packages ST
      X-CUBE-AZRTOS-WL

      Description:

      Azure RTOS software expansion for STM32Cube for STM32WL series

      X-CUBE-BLE1

      Active

      Bluetooth Low Energy software expansion for STM32Cube

      STM32Cube Expansion Packages ST
      X-CUBE-BLE1

      Description:

      Bluetooth Low Energy software expansion for STM32Cube

      X-CUBE-ISPU

      Active

      Sensor software expansion for STM32Cube

      STM32Cube Expansion Packages ST
      X-CUBE-ISPU

      Description:

      Sensor software expansion for STM32Cube

      X-CUBE-MEMS1

      Active

      Sensor and motion algorithm software expansion for STM32Cube

      STM32Cube Expansion Packages ST
      X-CUBE-MEMS1

      Description:

      Sensor and motion algorithm software expansion for STM32Cube

      X-CUBE-NFC4

      NRND

      Dynamic NFC/RFID tag IC software expansion for STM32Cube

      STM32Cube Expansion Packages ST
      X-CUBE-NFC4

      Description:

      Dynamic NFC/RFID tag IC software expansion for STM32Cube

      X-CUBE-TOF1

      Active

      Time-of-Flight sensors software expansion for STM32Cube

      STM32Cube Expansion Packages ST
      X-CUBE-TOF1

      Description:

      Time-of-Flight sensors software expansion for STM32Cube
    • Part number
      Status
      Description
      Type
      Supplier

      Software development for STM32 cortex family

      Active

      Product Development of eSW, firmware, IoT platform & RTOS based systems.

      Engineering services from partners Bluewind
      Software development for STM32 cortex family

      Description:

      Product Development of eSW, firmware, IoT platform & RTOS based systems.
    • Part number
      Status
      Description
      Type
      Supplier

      STM32CubeIDE

      Active

      Integrated Development Environment for STM32

      STM32 IDEs ST
      STM32CubeIDE

      Description:

      Integrated Development Environment for STM32

      STM32CubeProgrammer

      Active

      STM32CubeProgrammer software for all STM32

      STM32 programmers ST
      STM32CubeProgrammer

      Description:

      STM32CubeProgrammer software for all STM32
STM32C5: Breaking the mold without breaking the bank