Product overview
Description
STM32Cube is an STMicroelectronics original initiative to significantly improve developer productivity 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 comprises the STM32CubeU5 MCU Package composed of the STM32Cube hardware abstraction layer (HAL) and the low-layer (LL) APIs, plus a consistent set of middleware components (Azure® RTOS USBX, FileX/LevelX,ThreadX, NetX Duo, USB Power Delivery, TFM/STSAFE, mbed-crypto, Touch library, Network library, and OpenBootloader). All embedded software utilities are delivered with a full set of examples running on STMicroelectronics boards.
The STM32Cube HAL is an STM32 embedded software layer that ensures maximized portability across the STM32 portfolio, while the LL APIs make up a fast, light-weight, expert-oriented layer which is closer to the hardware than the HAL. HAL and LL APIs can be used simultaneously with a few restrictions.
Both the HAL and LL APIs are production–ready, checked with CodeSonar® static analysis tool, and developed in compliance with MISRA C® guidelines, following a process certified according to IEC 61508 systematic capability 2 level (SC2). Reports are available on demand.
STM32CubeU5 gathers in one single package all the generic embedded software components required to develop an application on STM32U5 microcontrollers. Following STM32Cube initiative, this set of components is highly portable to other STM32 Series. In addition, the low-layer APIs provide an alternative, high-performance, low-footprint solution to the STM32CubeU5 HAL at the cost of portability and simplicity.
HAL and LL APIs are available in open-source BSD license for user convenience.
STM32U5 devices support Arm® PSA security model. A Trusted Firmware M (TFM/STSAFE) reference code is provided within STM32Cube to implement the following security functions: Secure Boot, Secure Firmware Update, secure storage, resource isolation, secure execution, cryptographic engine and software IP protection.
-
All features
- Consistent and complete embedded software that provides hardware abstraction to easily develop end-user firmware
- Maximized portability between all STM32 series supported by STM32Cube
- More than 200 examples and applications for easy understanding, all compatible with STM32CubeMX to facilitate the configuration through a graphical tool
- Production–ready HAL and LL API drivers, checked with CodeSonar® static analysis tool, and developed in compliance with MISRA C® guidelines, following a process certified according to IEC 61508 systematic capability 2 level (SC2)
- CMSIS CORE, DSP and RTOS software components
- STM32U5 comprehensive middleware offer built around Microsoft® Azure® RTOS middleware and other in-house (ST Network library, OpenBL) and open source stacks (TFM/STSAFE)
- Free-of-charge, user-friendly license terms
- Update mechanism with new-release notification capability
- Published on GitHub in addition to www.st.com to propagate bug fixes and improvements faster, open for pull requests and issues to facilitate user contributions and direct feedback
Get Software
| Part Number | General Description | Latest version | ECCN (EU) | ECCN (US) | Supplier | Download | All versions |
|---|---|---|---|---|---|---|---|
| Patch-CubeU5 | Patch for STM32CubeU5 | 1.1.1 | NEC | 5D992.c | ST | ||
| STM32CubeU5 | STM32Cube MCU Package for STM32U5 series | 1.8.0 | NEC | 5D992.c | ST | Get from GitHub |
Featured Videos
The B-U585I-IOT02A Discovery kit provides a complete demonstration and development platform for the STM32U585AI microcontroller, featuring an Arm® Cortex®-M33 core with Arm® TrustZone® and Armv8-M mainline security extension, 2 Mbytes of Flash memory and 786 Kbytes of SRAM, as well as smart peripheral resources.
Recommended for you
Recommended Tools & Software
All tools & software
All resources
| Resource title | Version | Latest update |
|---|
Product Specifications (1)
| Resource title | Version | Latest update | |||
|---|---|---|---|---|---|
| 2.0 | 07 Feb 2023 | 07 Feb 2023 |
Application Notes (2)
| Resource title | Version | Latest update | |||
|---|---|---|---|---|---|
| 8.0 | 09 Jan 2026 | 09 Jan 2026 | |||
| 4.0 | 21 Mar 2024 | 21 Mar 2024 |
User Manuals (5 of 9)
| Resource title | Version | Latest update | |||
|---|---|---|---|---|---|
| 4.0 | 22 Mar 2024 | 22 Mar 2024 | |||
| 3.0 | 28 Oct 2019 | 28 Oct 2019 | |||
| 4.0 | 01 Nov 2023 | 01 Nov 2023 | |||
| 4.0 | 16 Jan 2024 | 16 Jan 2024 | |||
| 11.0 | 06 Mar 2025 | 06 Mar 2025 | |||
| 2.0 | 10 Jul 2019 | 10 Jul 2019 | |||
| 1.0 | 04 Oct 2021 | 04 Oct 2021 | |||
| 1.0 | 05 Oct 2021 | 05 Oct 2021 | |||
| 4.0 | 22 Sep 2023 | 22 Sep 2023 |
Presentations (5)
| Resource title | Version | Latest update | |||
|---|---|---|---|---|---|
| 1.0 | 10 Aug 2022 | 10 Aug 2022 | |||
| 2.5 | 13 Jan 2016 | 13 Jan 2016 | |||
| 1.0 | 21 Mar 2024 | 21 Mar 2024 | |||
| 1.0 | 13 Dec 2023 | 13 Dec 2023 | |||
| 1.0 | 10 Aug 2022 | 10 Aug 2022 |
Flyers (1)
| Resource title | Version | Latest update | |||
|---|---|---|---|---|---|
| 1.0 | 21 Feb 2024 | 21 Feb 2024 |
Brochures (1)
| Resource title | Version | Latest update | |||
|---|---|---|---|---|---|
| 1.0 | 29 Jul 2020 | 29 Jul 2020 |
License Agreement (1)
| Resource title | Version | Latest update | |||
|---|---|---|---|---|---|
| 8.0 | 16 Oct 2025 | 16 Oct 2025 |
Additional License Terms (3)
| Resource title | Version | Latest update | |||
|---|---|---|---|---|---|
| HTML | 1.2.0 | 14 Feb 2023 | 14 Feb 2023 | ||
| HTML | 1.1.0 | 10 Mar 2022 | 10 Mar 2022 | ||
| HTML | 1.5.0 | 11 Mar 2024 | 11 Mar 2024 |
Security Advisory (5 of 8)
| Resource title | Version | Latest update | |||
|---|---|---|---|---|---|
| 1.0 | 28 Mar 2025 | 28 Mar 2025 | |||
| 1.0 | 28 Mar 2025 | 28 Mar 2025 | |||
| 1.0 | 16 Sep 2025 | 16 Sep 2025 | |||
| 1.0 | 23 Feb 2025 | 23 Feb 2025 | |||
| 1.0 | 21 Mar 2023 | 21 Mar 2023 | |||
| 1.0 | 14 Jun 2024 | 14 Jun 2024 | |||
| 1.0 | 09 Jul 2024 | 09 Jul 2024 | |||
| 1.0 | 11 Oct 2024 | 11 Oct 2024 |
Security Bulletin (2)
| Resource title | Version | Latest update | |||
|---|---|---|---|---|---|
| 2.0 | 26 Mar 2025 | 26 Mar 2025 | |||
| 1.0 | 17 Dec 2024 | 17 Dec 2024 |