STM32Cube STM32Cube是一组可免费获取的工具和嵌入式软件模块,可在STM32平台上实现快速、简单的开发,从而简化并加快了开发人员的工作。
还包含有大量的代码应用示例,使开发者更容易上手。
STM32Cube由以下可以一起使用,也可以单独使用的组件组成:
- STM32CubeMX图形用户界面和初始化代码生成器用于:
- 提供图形化向导来生成初始化C代码,并包含一个实用多功能工具以帮助开发人员进行引脚复用、时钟树设置、外设配置和中间件调配。
- 为一系列集成开发环境工具链生成适配IDE的项目
- 为用户定义的应用序列计算功耗
- 从st.com直接导入STM32Cube嵌入式软件库
- 借助集成的更新器,令STM32CubeMX软件始终保持最新
- 每个面向STM32 MCU和MPU系列的STM32Cube MCU和MPU组合工具套装包括:
- 硬件抽象层(HAL)使得不同的STM32器件可通过标准API调用进行互相移植
- 底层(LL)API作为精简的、优化的、面向专家的API,专为性能和运行效率设计
- 一系列中间件组件,包括RTOS、USB库、文件系统、TCP/IP栈、触摸感应库或图形库(取决于STM32的系列)
- 基于HAL驱动程序的BSP驱动程序仅面向STM32 MPU,并为评估板和第三方组件提供API集。

精选 视频
- STM32CubeWL 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)
- STM32CubeWB 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)
- STM32CubeF2 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)
- STM32CubeH7 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)
- STM32CubeMP1 STM32CubeMP1 Package for STM32MP1 series (HAL, Low-Layer APIs and CMSIS, OpenAMP for Inter processor communication, and examples running on ST boards)
- STM32CubeL5 STM32Cube MCU Package for STM32L5 series (HAL, Low-Layer APIs and CMSIS, USB, File system, RTOS, TF-M - coming with examples running on ST boards)
- STM32CubeG0 STM32Cube MCU Package for STM32G0 series (HAL, Low-Layer APIs and CMSIS, USB PD, File system, RTOS - and examples running on ST boards)
- STM32CubeL0 STM32Cube MCU Package for STM32L0 series (HAL, Low-Layer APIs and CMSIS, USB, File system, RTOS, Touch Sensing - and examples running on ST boards)
- STM32CubeF1 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)
- STM32CubeL1 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)
- STM32CubeF0 STM32Cube MCU Package for STM32F0 series (HAL, Low-Layer APIs and CMSIS, USB, File system, RTOS, Touch Sensing - and examples running on ST boards)
- STM32CubeF3 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)
- STM32CubeG4 STM32Cube MCU Package for STM32G4 series (HAL, Low-Layer APIs and CMSIS, USB, File system, RTOS, Graphic - and examples running on ST boards)
- STM32CubeF4 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)
- STM32CubeL4 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)
- STM32CubeF7 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)