Release Notes ¶
Purpose ¶
STM32Cube enables developers to achieve design success. With a comprehensive suite of professional development tools and embedded software components, STM32Cube allows developers to differentiate products, streamline design cycles, and reduce costs. STM32Cube ecosystem supports all design steps, including selection, configuration, development, debugging, programming, and monitoring.
The STM32Cube embedded software offer provides ready-to-use software components that can be added to a project. It includes STM32 peripheral driver APIs with two levels of abstraction, middleware, board drivers, and examples. There are several distribution channels, including the STM32CubeMX2 tool, the ST website, and GitHub. All embedded software comes with enhanced online documentation, with flowcharts and user sequences.
More detailed documentation is available at:
Update history ¶
2.0.0 / 13-March-2026 ¶
Main changes ¶
First Official release of STM32Cube SW Package for STM32C5 Series ¶
Contents ¶
CMSIS Drivers ¶
Official CMSIS core from ARM.
STM32C5xx DFP ¶
CMSIS Device (headers, startups).
Device Support (FlashLoaders, SVD, linker templates).
DataSet Descriptors.
STM32C5xx HAL Drivers ¶
Two hardware abstraction layers: LL (low-layer drivers) and HAL2 (optimized hardware abstraction layer built on top of LL), providing full access to STM32C5 features.
HAL/LL Drivers are available for all peripherals:
System : CORTEX, CRS, DBGMCU, DMA (Q), ICACHE, IWDG, PWR, RCC, RTC, SBS, WWDG
I/O : EXTI, GPIO
Analog : ADC, COMP, DAC, OPAMP
Timers : TIM, LPTIM
Connectivity : FDCAN, I2C, I3C, SMARTCARD, SMBUS, I2S, SPI, UART, LPUART, USART, USB (HCD/PCD), ETH
Security : AES, CCB, HASH, PKA, RNG, TAMP
Computing : CORDIC, CRC
Memory : FLASH, RAMCFG, XSPI (DLYB)
Common : OS, Timebases, Templates
Utils are available for FDCAN, I2C, I3C peripherals.
Middleware ¶
FreeRTOS Real-time operating system.
RTOS-agnostic version of Eclipse USBX, FileX, and LevelX usable in bare-metal environments.
LwIP is a small independent implementation of the TCP/IP protocol suite.
STM32 Flexible Crypto Framework (STFCF), providing access to several cryptographic services, with reference implementations for common cryptographic tasks:
STCryptoLib includes a large set of cryptographic algorithms based on firmware implementation ready to use in all STM32 Series.
MbedTLS contains software components that deal with cryptography, the TLS implementation, and sockets references.
OEM Root of Trust: an MCUboot-based secure boot and update solution.
Part Drivers ¶
LED part driver provides APIs to drive LEDs through a GPIO, a timer (PWM), or an I/O expander component.
Button part driver provides APIs to drive buttons and switches through a GPIO.
LAN8742 part driver provides APIs to drive external Ethernet PHY LAN8742
W25N01GVXX part driver provides API to drive the W25N01GVXX NAND FLASH through SPI.
W25Q128J part driver provides API to drive the W25Q128J NOR FLASH through SPI.
Utilities ¶
Advanced Trace is a trace management system for STM32 microcontrollers.
Basic STDIO provides simple logging capabilities used by some examples.
Syscalls implements the operating system interface documented by newlib.
Thread Safe LibC implements the mutex locks needed to make libc thread-safe.
Sequencer helps the task scheduling inside a system without OS.
EEPROM Emulation provides a robust and efficient way to emulate EEPROM using Flash memory on STM32 microcontrollers.
Examples ¶
Examples demonstrating STM32C5 components on NUCLEO-C562RE, NUCLEO-C542RC and NUCLEO-C5A3ZG boards.
304 unique examples
271 examples on NUCLEO-C562RE
251 examples on NUCLEO-C542RC
268 examples on NUCLEO-C5A3ZG
Most of examples projects are delivered with three IDE formats: IAR, CMake for STM32CubeIDE for VSCode and Open-CMSIS-Pack csolution for arm Keil MDK.
Most of examples projects have been generated with STM32CubeMX2.
Template supports all development toolchains and compilers and has been generated with STM32CubeMX2, including Arm Keil uVision .uvprojx format.
PRINTF is disabled by default in most of the examples and can be activated.
RoT ¶
Means to demonstrate Root Of trust bootpath including OEMiRoT bootstage, RoT application and RoT provisioning scripts.
Known limitations ¶
Open Bootloader middleware is not available.
When downloading from STM32 Package Creator, IAR EWARM IDE can encounter some issues with too long paths. To ensure proper operation, STM32 Example Library should be used.
ADC examples:
Some measurement instabilities may be observed on NUCLEO-C5A3Z board, depending on power supplies and current version of board/samples.
ADC measurements can deviate from specification on the NUCLEO-C5A3ZG board by up to 15 mV.
Temperature measurements can be inaccurate because of a problem with the TS_CAL1 sample calibration on the NUCLEO-C5A3ZG board. To retrieve the TS_CAL1 calibration value at 3.3 V, use the following formula: TS_CAL1 (3.3 V) = TS_CAL1 (3.0 V) × (3.0 / 3.3)
PWR examples:
To achieve typical power consumption, remove the solder bridge SB27 on the NUCLEO-C5A3ZG board. Otherwise, a current consumption increase of 22 µA occurs due to the Ethernet PHY.
SPI, I3C examples:
The CMake Debug GCC profile is not recommended for SPI and I3C examples, because the compiler performance does not meet the hardware requirements.
Some HAL examples do not include an .ioc2 file:
hal_adc_multimode_simultaneous_dma_multi_buffers
hal_cordic_sincos_dma
hal_dma_linked_list
hal_eth_send_receive
hal_flash_erase_program
hal_flash_swap_banks
No .ioc2 files provided for examples using below SW components, as they are not configurable in STM32CubeMX2:
Middleware: Filex, Levelx, USBX, Lwip, STFCF, STCryptoLib
Utilities: Advanced Trace, EEPROM Emulation, Sequencer, Thread Safe LibC
Part drivers: LAN8742, W25N01GVXX, W25QL28J
RoT: RoT_provisioning
Some examples are not available on 3 IDEs:
OEMiRoT_Overwrite example is available only with EWARM project configuration.
W25Q128J driver does not operate with the AC6 release. The associated examples are delivered without an open CMSIS AC6 project.
Some examples are not available in CMake format for use in STM32Cube for VS Code.
Development toolchains and compilers ¶
IAR Embedded Workbench for ARM (EWARM) toolchain V9.60.3 + ST-LINK
Patch IAR installation documented in STM32C5xx DFP Pack
MDK-ARM Keil uVision V5.42
Pack Keil installation documented in STM32C5xx DFP Pack
STM32CubeIDE for Visual Studio Code (GCC13 compiler)
STM32CubeMX2 V1.0.0
Supported devices and boards ¶
STM32C551xx, STM32C552xx, STM32C562xx devices
STM32C531xx, STM32C532xx, STM32C542xx devices
STM32C591xx, STM32C593xx, STM32C5A3xx devices
NUCLEO-C562RE (RevB02), NUCLEO-C542RC (RevB02), NUCLEO-C5A3ZG boards (RevB02)
Backward compatibility ¶
None
Dependencies ¶
None