概述
样片和购买
解决方案
资源
工具与软件
质量与可靠性
eDesignSuite
开始
Partner products
Sales Briefcase
  • STM32CubeMX is a graphical tool that allows a very easy configuration of STM32 microcontrollers and microprocessors, as well as the generation of the corresponding initialization C code for the Arm® Cortex®-M core or a partial Linux® Device Tree for Arm® Cortex®-A core), through a step-by-step process.

    The first step consists in selecting either: an STMicrolectronics STM32 microcontroller, micropocessor or a development platform, which matches the required set of peripherals, or an example running on a specific development platform.
    For microprocessors, the second step allows to configure the GPIOs and the clock setup for the whole system, and to interactively assign peripherals either to the Arm® Cortex®-M or to the Cortex®A world. Specific utilities, such as DDR configuration and tuning, make it easy to get started with STM32 microprocessors. For Cortex®-M core, the configuration includes additional steps that are exactly similar to those described for microcontrollers.
    For microcontrollers and microprocessor Arm® Cortex®-M, the second step consists in configuring each required embedded software thanks to a pinout-conflict solver, a clock-tree setting helper, a power-consumption calculator, and an utility that configures the peripherals (such as GPIO or USART) and the middleware stacks (such as USB or TCP/IP).
    The default software and middleware stacks can be extended thanks to enhanced STM32Cube Expansion Packages. STMicrolectronics or STMicrolectronics' partner packages can be downloaded directly from a dedicated package manager available within STM32CubeMX, while the other packages can be installed from a local drive.
    Moreover, a unique utility in STM32CubeMX delivery, STM32PackCreator, will help developers to build their own enhanced STM32Cube Expansion Packages.
    Eventually the user launches the generation that matches the selected configuration choices. This step provides the initialization C code for the Arm® Cortex®-M, ready to be used within several development environments, or a partial Linux® device tree for the Arm® Cortex®-A.
    STM32CubeMX is delivered within STM32Cube.

    主要特性

    • Intuitive STM32 microcontroller and microprocessor selection
    • Rich easy-to-use graphical user interface allowing the configuration of:
      • Pinout with automatic conflict resolution
      • Peripherals and middleware functional modes with dynamic validation of parameter constraints for Arm® Cortex®-M core
      • Clock tree with dynamic validation of the configuration
      • Power sequence with estimated consumption results
    • Generation of initialization C code project, compliant with IAR™, Keil® and STM32CubeIDE (GCC compilers) for Arm®Cortex®-M core
    • Generation of a partial Linux® Device Tree for Arm® Cortex®-A core (STM32 microprocessors)
    • Development of enhanced STM32Cube Expansion Packages thanks to STM32PackCreator
    • Integration of STM32Cube Expansion packages into the project
    • Availability as standalone software running on Windows®, Linux® and macOS® (macOS® is a trademark of Apple Inc. registered in the U.S. and other countries.) operating systems and 64-bit Java Runtime environment

获取软件

ST最新信息

开发工具硬件

    • 产品型号

      STM32的集成开发环境

      用于STM32配置和初始化C代码生成的STM32CubeMX Eclipse插件

      STM32 MCU的TouchGFX图形设计和代码生成工具

软件

    • 产品型号

      STM32Cube MCU Package for STM32F0 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包,用于STM32F1系列(HAL、底层API和CMSIS(CORE、DSP和RTOS)、USB、TCP/IP、File system、RTOS和Graphic - 附带在以下ST板上运行的示例:STM32 Nucleo、探索套件和评估板)

      STM32Cube MCU包,用于STM32F2系列(HAL、底层API和CMSIS(CORE、DSP和RTOS)、USB、TCP/IP、File system、RTOS和Graphic - 附带在以下ST板上运行的示例:STM32 Nucleo和评估板)

      STM32Cube MCU包,用于STM32F3系列(HAL、底层API和CMSIS(CORE、DSP和RTOS)、USB、File system、RTOS、Touch Sensing和Graphic - 附带在以下ST板上运行的示例:STM32 Nucleo、探索套件和评估板)

      STM32Cube MCU包,用于STM32F4系列(HAL、底层API和CMSIS(CORE、DSP和RTOS)、USB、TCP/IP、File system、RTOS和Graphic - 附带在以下ST板上运行的示例:STM32 Nucleo、探索套件和评估板)

      STM32Cube MCU包,用于STM32F7系列(HAL、底层API和CMSIS(CORE、DSP和RTOS)、USB、TCP/IP、File system、RTOS和Graphic - 附带在以下ST板上运行的示例:STM32 Nucleo、探索套件和评估板)

      STM32Cube MCU包,用于STM32G0系列(HAL、底层API和CMSIS(CORE、DSP和RTOS)、USB PD、File system和RTOS - 附带在以下ST板上运行的示例:STM32 Nucleo、探索套件和评估板)

      STM32Cube MCU包,用于STM32G4系列(HAL、底层API和CMSIS(CORE、DSP和RTOS)、USB、File system、RTOS和Graphic - 附带在以下ST板上运行的示例:STM32 Nucleo、探索套件和评估板)

      STM32Cube MCU包,用于STM32H7系列(HAL、底层驱动、USB、TCP/IP、File system、RTOS和Graphic - 附带在以下ST板上运行的示例:STM32 Nucleo、探索套件和评估板)

      STM32Cube MCU包,用于STM32L0系列(HAL、底层API和CMSIS(CORE、DSP和RTOS)、USB、File system、RTOS和Touch Sensing - 附带在以下ST板上运行的示例:STM32 Nucleo、探索套件和评估板)

      STM32Cube MCU包,用于STM32 L1系列(HAL、底层API和CMSIS(CORE、DSP和RTOS)、USB、File system、RTOS、Touch Sensing和Graphic - 附带在以下ST板上运行的示例:STM32 Nucleo、探索套件和评估板)

      STM32Cube MCU包,用于STM32L4系列和STM32L4 Plus系列(HAL、底层API和CMSIS(CORE、DSP和RTOS)、USB、TouchSensing、File system、RTOS和Graphic - 附带在以下ST板上运行的示例:STM32 Nucleo、探索套件和评估板)

      STM32CubeMP1包,用于STM32MP1系列(HAL、底层API和CMSIS(CORE、DSP和RTOS)及用于处理器间通信的OpenAMP,附带在以下ST板上运行的示例:探索套件和评估板)

      STM32Cube MCU包,用于STM32WB系列(HAL、LL底层驱动、USB、File system和RTOS - 附带在以下ST板上运行的示例:STM32 Nucleo、探索套件和评估板)

      STM32CubeMX的AI扩展包

      AlgoBuilder firmware template generator expansion for STM32Cube

      STM32Cube的低功耗蓝牙软件扩展

      STM32Cube的传感器和运动算法软件扩展

      STM32Cube的动态NFC/RFID标签IC软件扩展

00 选择要下载的文档

技术文档

    • 描述 版本 文档大小 操作
      DB2163
      STM32 configuration and initialization C code generation
      15.0
      507.54 KB
      PDF
      DB2163

      STM32 configuration and initialization C code generation

    • 描述 版本 文档大小 操作
      AN5418
      How to build a simple USB-PD sink application with STM32CubeMX
      2.0
      9.68 MB
      PDF
      AN5426
      Migrating graphics middleware projects from STM32CubeMX 5.4.0 to STM32CubeMX 5.5.0
      1.0
      479.43 KB
      PDF
      AN5418

      How to build a simple USB-PD sink application with STM32CubeMX

      AN5426

      Migrating graphics middleware projects from STM32CubeMX 5.4.0 to STM32CubeMX 5.5.0

    • 描述 版本 文档大小 操作
      UM2739
      How to create a software pack enhanced for STM32CubeMX using STM32 pack creator tool
      1.0
      3.37 MB
      PDF
      UM1718
      STM32CubeMX用于STM32配置和初始化C代码生成
      2.0
      30.85 MB
      PDF
      UM2739

      How to create a software pack enhanced for STM32CubeMX using STM32 pack creator tool

      UM1718

      STM32CubeMX用于STM32配置和初始化C代码生成

    • 描述 版本 文档大小 操作
      RN0094
      STM32CubeMX release 6.0.1
      52.0
      1.02 MB
      PDF
      RN0094

      STM32CubeMX release 6.0.1

Presentations & Training Material

    • 描述 版本 文档大小 操作
      STM32 and STM8 software development tools 04.2020
      1.78 MB
      PDF
      STM32Cube ecosystem overview - Making STM32 development easier 1.2
      5.55 MB
      PDF

      STM32 and STM8 software development tools

      STM32Cube ecosystem overview - Making STM32 development easier

出版刊物和宣传资料

    • 描述 版本 文档大小 操作
      STM32Cube: Tools to support STM32 development 20.07
      2.74 MB
      PDF

      STM32Cube: Tools to support STM32 development

法律

    • 描述 版本 文档大小 操作
      SLA0048
      Mix Ultimate Liberty+OSS+3rd-party V1 - SOFTWARE LICENSE AGREEMENT
      6.6
      87.58 KB
      PDF
      SLA0048

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