概要
ツール & ソフトウェア
リソース
ソリューション
品質 & 信頼性
Sales Briefcase
eDesignSuite
Get Started
サンプル & 購入
Partner products
  • 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 comprehensive STM32Cube MCU Packages, delivered per STM32 microcontroller Series (such as STM32CubeF4 for STM32F4 Series). These packages include 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.

    主な特徴

    • 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

ソフトウェア入手

推奨製品

Recommended for you

開発ツール・ハードウェア

    • 製品型番

      Integrated Development Environment for STM32

      STM32CubeMX Eclipse plug in for STM32 configuration and initialization C code generation

      TouchGFX graphic design and code generation tool for STM32 MCUs

ソフトウェア製品

    • 製品型番

      STM32Cube MCU Package for STM32F1 series (HAL, Low-Layer APIs and CMSIS (CORE, DSP, RTOS), USB, TCP/IP, File system, RTOS, Graphic - coming with examples running on ST boards: STM32 Nucleo, Discovery kits and Evaluation boards)

      STM32Cube MCU Package for STM32F2 series (HAL, Low-Layer APIs and CMSIS (CORE, DSP, RTOS), USB, TCP/IP, File system, RTOS, Graphic - coming with examples running on ST boards: STM32 Nucleo and Evaluation boards)

      STM32Cube MCU Package for STM32F3 series (HAL, Low-Layer APIs and CMSIS (CORE, DSP, RTOS), USB, File system, RTOS, Touch Sensing, Graphic - coming with examples running on ST boards: STM32 Nucleo, Discovery kits and Evaluation boards)

      STM32Cube MCU Package for STM32F4 series (HAL, Low-Layer APIs and CMSIS (CORE, DSP, RTOS), USB, TCP/IP, File system, RTOS, Graphic - coming with examples running on ST boards: STM32 Nucleo, Discovery kits and Evaluation boards)

      STM32Cube MCU Package for STM32F7 series (HAL, Low-Layer APIs and CMSIS (CORE, DSP, RTOS), USB, TCP/IP, File system, RTOS, Graphic - coming with examples running on ST boards: STM32 Nucleo, Discovery kits and Evaluation boards)

      STM32Cube MCU Package for STM32G0 series (HAL, Low-Layer APIs and CMSIS (CORE, DSP, RTOS), USB PD, File system, RTOS) - coming with examples running on ST boards: STM32 Nucleo, Discovery kits and Evaluation boards)

      STM32Cube MCU Package for STM32G4 series (HAL, Low-Layer APIs and CMSIS (CORE, DSP, RTOS), USB, File system, RTOS, Graphic - coming with examples running on ST boards: STM32 Nucleo, Discovery kits and Evaluation boards)

      STM32Cube MCU Package for STM32H7 series (HAL low level drivers, USB, TCP/IP, File system, RTOS, Graphic - coming with examples running on ST boards: STM32 Nucleo, Discovery kits and Evaluation boards)

      STM32Cube MCU Package for STM32L0 series (HAL, Low-Layer APIs and CMSIS (CORE, DSP, RTOS), USB, File system, RTOS, Touch Sensing - coming with examples running on ST boards: STM32 Nucleo, Discovery kits and Evaluation boards)

      STM32Cube MCU Package for STM32 L1 series (HAL, Low-Layer APIs and CMSIS (CORE, DSP, RTOS), USB, File system, RTOS, Touch Sensing, Graphic - coming with examples running on ST boards: STM32 Nucleo, Discovery kits and Evaluation boards)

      STM32Cube MCU Package for STM32L4 series and STM32L4 Plus series (HAL, Low-Layer APIs and CMSIS (CORE, DSP, RTOS), USB, TouchSensing, File system, RTOS, Graphic - coming with examples running on ST boards: STM32 Nucleo, Discovery kits and Evaluation boards)

      STM32CubeMP1 Package for STM32MP1 series (HAL, Low-Layer APIs and CMSIS (CORE, DSP, RTOS), OpenAMP for Inter processor communication, coming with examples running on ST boards: Discovery kits and Evaluation boards)

      STM32Cube MCU Package for STM32WB series (HAL and LL low level drivers, USB, File system, RTOS - coming with examples running on ST boards: STM32 Nucleo, Discovery kits and Evaluation boards)

      AI expansion pack for STM32CubeMX

      Bluetooth Low Energy software expansion for STM32Cube

      Sensor and motion algorithm software expansion for STM32Cube

      Dynamic NFC/RFID tag IC software expansion for STM32Cube

00 Files selected for download

技術文書

    • 概要 バージョン サイズ アクション
      DB2163
      STM32 configuration and initialization C code generation
      13.0
      463.69 KB
      PDF
      DB2163

      STM32 configuration and initialization C code generation

    • 概要 バージョン サイズ アクション
      UM1718
      STM32CubeMX for STM32 configuration and initialization C code generation
      29.0
      26.65 MB
      PDF
      UM1718

      STM32CubeMX for STM32 configuration and initialization C code generation

    • 概要 バージョン サイズ アクション
      RN0094
      STM32CubeMX release 5.2.1
      45.0
      856.96 KB
      PDF
      RN0094

      STM32CubeMX release 5.2.1

Publications and Collaterals

    • 概要 バージョン サイズ アクション
      STM32Cube eases STM32 development 17.9
      350.77 KB
      PDF

      STM32Cube eases STM32 development

法務

    • 概要 バージョン サイズ アクション
      SLA0048
      Mix Ultimate Liberty+OSS+3rd-party V1 - SOFTWARE LICENSE AGREEMENT
      5.5
      87.58 KB
      PDF
      SLA0048

      Mix Ultimate Liberty+OSS+3rd-party V1 - SOFTWARE LICENSE AGREEMENT