Release Notes for  STM32CubeU5 Firmware Package 

Copyright © 2021 STMicroelectronics

Purpose

STMCube is an STMicroelectronics original initiative to ease developers life by reducing development efforts, time and cost.

STM32Cube covers STM32 portfolio.

STM32Cube Version 1.x includes:

The STM32Cube firmware solution offers a straightforward API with a modular architecture, making it simple to fine tune custom applications and scalable to fit most requirements.

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.

STM32Cube
STM32Cube

The drivers provided within this package support the STM32U575/STM32U585 lines.

Update History

Main Changes

  • Patch Release of STM32CubeU5 Firmware Package

HAL/LL Drivers updates

  • LL Drivers updates
    • LL DAC driver
      • Rename of the LPTIM1/3 trigger of the LL DAC to be in line with Reference Manual:
        • Rename LL_DAC_TRIG_EXT_LPTIM1_OUT to LL_DAC_TRIG_EXT_LPTIM1_CH1
        • Rename LL_DAC_TRIG_EXT_LPTIM3_OUT to LL_DAC_TRIG_EXT_LPTIM3_CH1
  • Backward compatibility ensured by legacy defines

Contents

Projects

The STM32CubeU5 Firmware package comes with template running on STMicroelectronics boards, organized by board and provided with preconfigured projects for the main supported toolchains. The exhaustive list of projects is provided in this table STM32CubeProjectsList.html

This release contains all HAL drivers, LL drivers, BSP drivers, templates, projects and examples.

Name Version Release notes
Projects V1.0.1 release notes

Notes

  • The following sequence is needed to disable TrustZone:
    • Boot from user Flash memory:
      • Make sure that secure and non-secure applications are well loaded and executed (jump done on non-secure application).
      • If not yet done, set RDP to level 1 through STM32CubeProgrammer. Then only Hotplug connection is possible during non-secure application execution.
      • Use a power supply different from ST-LINK in order to be able to connect to the target.
      • Uncheck the TZEN box and set RDP to level 0 (option byte value 0xAA), then click on Apply.
    • Boot from RSS:
      • Make sure to apply a high level on BOOT0 pin (make sure that nSWBOOT0 Option Byte is checked).
      • If not yet done, set RDP to level 1 through STM32CubeProgrammer. Then only Hotplug connection is possible during non-secure application execution.
      • Use a power supply different from ST-LINK in order to be able to connect to the target.
      • Uncheck the TZEN box and set RDP to level 0 (option byte value 0xAA), then click on Apply.

Please refer to AN5347 for more details.

Components

The components flagged by “” have changed since the previous release. “” are new.

Drivers
Name Version Release note
Cortex-M CMSIS V5.6.0_cm33 release notes
STM32U5xx CMSIS V1.0.1 release notes
STM32U5xx HAL V1.0.2 release notes
STM32U5xx NUCLEO V1.0.1 release notes
BSP STM32U575I-EV V1.0.1 release notes
BSP B-U585I-IOT02A V1.0.1 release notes
BSP aps6408 V1.0.0 release notes
BSP Common V7.1.0 release notes
BSP cs42l51 V2.0.2 release notes
BSP hts221 V5.3.0 release notes
BSP hx8347i V2.0.2 release notes
BSP iis2mdc V1.1.0 release notes
BSP ism330dhcx V1.1.1 release notes
BSP lps22hh V1.2.0 release notes
BSP lsm6dso V1.5.1 release notes
BSP m24lr64 V1.0.1 release notes
BSP mfxstm32l152 V4.0.0 release notes
BSP mx_wifi V2.1.11 release notes
BSP mx25lm51245g V2.0.6 release notes
BSP ov5640 V3.2.1 release notes
BSP stm32wb_at V1.0.8 release notes
BSP sx8651 V1.0.0 release notes
BSP tcpp0203 V1.2.1 release notes
BSP veml6030 V1.0.0 release notes
Middlewares
Name Version Release note
STM32 TouchSensing Library V2.2.6 release notes
STM32 USBPD Core Library V4.0.0 release notes
STM32 USBPD Device Library u5_v3.0.0 release notes
mbed-crypto mbed-crypto-1.1.6 ST release notes
mcuboot V1.0.13 ST release notes
trustedfirmware tfm/v1.0.15 ST release notes
OpenBootloader V5.0.0 release notes
Network Library V2.2.0f release notes
ThreadX threadx-6.1.7.210903 release notes
NetXduo netxduo-6.1.7.210903 release notes
USBX usbx-6.1.7.210903 release notes
FileX filex-6.1.7.210903 release notes
LevelX levelx-6.1.7.210903 release notes
Utilities
Name Version Release note
Common V1.4.1 release notes
Fonts V2.0.2 release notes
GUI_INTERFACE GUI_V2.1.0 release notes
lcd V2.0.1 release notes
lpbam V1.0.1 release notes
TRACER_EMB V1.6.1 release notes

Development Toolchains and Compilers

Supported Devices and boards

  • STM32U575/STM32U585 devices
  • NUCLEO-U575ZI-Q Nucleo board rev.C
  • STM32U575I-EV Evaluation board rev.C
  • B-U585I-IOT02A Discovery board rev.C

Dependencies

  • STM32CubeMX V6.3.0
    • Projects (Examples and Applications) are generated using STM32CubeMX version V6.3.0.
  • The EMW3080B MXCHIP Wi-Fi module firmware used version is V2.1.11 and the way to update your board with it are available at x-wifi-emw3080b.
  • The BLE_AT_Client application requires to have Flash BLE_AT_Server module application using STM32CubeProgrammer: file BLE_AT_Server.hex is present in the BLE_AT_Client application under Module Binary folder.

Known Limitations

  • The ThreadX “tx_queue_create” API is not correctly used in some Azure RTOS applications leading to potential instabilities. These limitations will be fixed in future releases.
  • BSP MXCHIP: Access point mode with the TCP/IP mode on STM32 host is not functional. It works when TCP/IP runs on the EMW3080B module.
  • When using STM32CubeIDE v1.7.0 with an STM32U575-EV Evaluation board, the user should either use ST-LINK(OpenOCD) or set the SWD frequency to 1MHz or 8 MHz manually if using STLINK(GDB server).
  • Some projects are not generated with STM32CubeMX tool for the exhaustive list please refer to this table STM32CubeProjectsList.html.
  • The following projects are not supported with MDK-ARM and STM32CubeIDE toolchains:
    • FLASH_ChangeOptionBytes
    • Tx_MPU
  • Remove Audio IN functionality from B-U585I-IOT02A BSP example.
  • The SMPS regulator configuration in all projects is not supported by STM32CubeMX V6.3.0 (will be provided in next releases).

Backward Compatibility

  • LPBAM Utility : This version breaks the compatibility with previous version for DAC, LPTIM, I2C and SPI modules.

Main Changes

  • Patch Release of STM32CubeU5 Firmware Package

CMSIS Device updates

  • CMSIS Device Patch Release (Please Refer to the release notes for details)
    • Rename OTG_FS_BASE_NS to USB_OTG_FS_BASE_NS define
    • Rename OTG_FS_BASE_S to USB_OTG_FS_BASE_S define
    • Add LSI_STARTUP_TIME define
    • Fix wrong IRQn name in partition_stm32u5xx.h

HAL/LL Drivers updates

  • HAL and LL drivers Patch Release for STM32U575xx / STM32U585xx devices (Please Refer to the release notes for details)
  • HAL Drivers
    • HAL ADC driver
      • Update the DMA data length management implementation according source/destination width
      • Finetune HAL_ADCEx_Calibration_GetValue API to return correct calibration value for ADC4
    • HAL DAC driver
      • Rename of the LPTIM1/3 trigger of the DAC to be in line with Reference Manual:
    • HAL DMA driver
      • Fix DMA register callback error returning in case of invalid callback.
      • Enhance HAL_DMA_GetLockChannelAttributes API implementation to detect wrong parameters values
      • Enhance IS_DMA_ATTRIBUTES macro implementation to detect uncovered cases.
      • Optimize DMA_List_CheckNodesBaseAddresses API implementation by reducing parameters number
      • Optimize DMA_List_CheckNodesTypes API implementation by reducing parameters number
    • HAL GTZC driver
      • Fix issue with the APIs HAL_GTZC_MPCBB_ConfigMem : The CFGLOCK register should be updated after the update of SECCFGR and PRIVCFGR
    • HAL I2C driver
      • Add handle errors support in polling mode
    • HAL RCC driver
      • Fix setting Flash latency from MSIRange in Oscillator Configuration
  • LL Drivers updates
    • LL I2C driver
      • Add LL_I2C_EnableFastModePlus, LL_I2C_DisableFastModePlus and LL_I2C_IsEnabledFastModePlus APIs

BSP Drivers updates

  • B-U585I-IOT02A BSP Drivers Updated version of B-U585I-IOT02A BSP drivers
    • Add new driver light sensor driver
    • Replace ISM330DLC with ISM330DHCX in motion sensors driver
    • Remove Audio IN functionality (b_u585i_iot02a_audio driver under rework, to be re-integrated in the next release)
  • STM32U575I-EV BSP Drivers Updated version of STM32U575I-EV BSP drivers
    • Update the microphone clock settings

Projects

  • Add the support of MDK-ARM and STM32CubeIDE toolchains for almost provided projects:
    • Add 29 new supported projects on both MDK-ARM and STM32CubeIDE toolchains
    • Add 30 new supported projects on MDK-ARM toolchain
    • Add 10 new supported projects on STM32CubeIDE toolchain
  • Align LPBAM Applications with typical power consumption
  • Update all projects to support SMPS regulator configuration to enhance power consumption
  • Add veml6030 and ism330dhcx new BSP components to B-U585I-IOT02A Templates and BSP example

Contents

Projects

The STM32CubeU5 Firmware package comes with template running on STMicroelectronics boards, organized by board and provided with preconfigured projects for the main supported toolchains. The exhaustive list of projects is provided in this table STM32CubeProjectsList.html

This release contains all HAL drivers, LL drivers, BSP drivers, templates, projects and examples.

Name Version Release notes
Projects V1.0.1 release notes

Notes

  • The following sequence is needed to disable TrustZone:
    • Boot from user Flash memory:
      • Make sure that secure and non-secure applications are well loaded and executed (jump done on non-secure application).
      • If not yet done, set RDP to level 1 through STM32CubeProgrammer. Then only Hotplug connection is possible during non-secure application execution.
      • Use a power supply different from ST-LINK in order to be able to connect to the target.
      • Uncheck the TZEN box and set RDP to level 0 (option byte value 0xAA), then click on Apply.
    • Boot from RSS:
      • Make sure to apply a high level on BOOT0 pin (make sure that nSWBOOT0 Option Byte is checked).
      • If not yet done, set RDP to level 1 through STM32CubeProgrammer. Then only Hotplug connection is possible during non-secure application execution.
      • Use a power supply different from ST-LINK in order to be able to connect to the target.
      • Uncheck the TZEN box and set RDP to level 0 (option byte value 0xAA), then click on Apply.

Please refer to AN5347 for more details.

Components

The components flagged by “” have changed since the previous release. “” are new.

Drivers
Name Version Release note
Cortex-M CMSIS V5.6.0_cm33 release notes
STM32U5xx CMSIS V1.0.1 release notes
STM32U5xx HAL V1.0.1 release notes
STM32U5xx NUCLEO V1.0.1 release notes
BSP STM32U575I-EV V1.0.1 release notes
BSP B-U585I-IOT02A V1.0.1 release notes
BSP aps6408 V1.0.0 release notes
BSP Common V7.1.0 release notes
BSP cs42l51 V2.0.2 release notes
BSP hts221 V5.3.0 release notes
BSP hx8347i V2.0.2 release notes
BSP iis2mdc V1.1.0 release notes
BSP ism330dhcx V1.1.1 release notes
BSP lps22hh V1.2.0 release notes
BSP lsm6dso V1.5.1 release notes
BSP m24lr64 V1.0.1 release notes
BSP mfxstm32l152 V4.0.0 release notes
BSP mx_wifi V2.1.11 release notes
BSP mx25lm51245g V2.0.6 release notes
BSP ov5640 V3.2.1 release notes
BSP stm32wb_at V1.0.8 release notes
BSP sx8651 V1.0.0 release notes
BSP tcpp0203 V1.2.1 release notes
BSP veml6030 V1.0.0 release notes
Middlewares
Name Version Release note
STM32 TouchSensing Library V2.2.6 release notes
STM32 USBPD Core Library V4.0.0 release notes
STM32 USBPD Device Library u5_v3.0.0 release notes
mbed-crypto mbed-crypto-1.1.6 ST release notes
mcuboot V1.0.13 ST release notes
trustedfirmware tfm/v1.0.15 ST release notes
OpenBootloader V5.0.0 release notes
Network Library V2.2.0f release notes
ThreadX threadx-6.1.7.210903 release notes
NetXduo netxduo-6.1.7.210903 release notes
USBX usbx-6.1.7.210903 release notes
FileX filex-6.1.7.210903 release notes
LevelX levelx-6.1.7.210903 release notes
Utilities
Name Version Release note
Common V1.4.1 release notes
Fonts V2.0.2 release notes
GUI_INTERFACE GUI_V2.1.0 release notes
lcd V2.0.1 release notes
lpbam V1.0.1 release notes
TRACER_EMB V1.6.1 release notes

Development Toolchains and Compilers

Supported Devices and boards

  • STM32U575/STM32U585 devices
  • NUCLEO-U575ZI-Q Nucleo board rev.C
  • STM32U575I-EV Evaluation board rev.C
  • B-U585I-IOT02A Discovery board rev.C

Dependencies

  • STM32CubeMX V6.3.0
    • Projects (Examples and Applications) are generated using STM32CubeMX version V6.3.0.
  • The EMW3080B MXCHIP Wi-Fi module firmware used version is V2.1.11 and the way to update your board with it are available at x-wifi-emw3080b.
  • The BLE_AT_Client application requires to have Flash BLE_AT_Server module application using STM32CubeProgrammer: file BLE_AT_Server.hex is present in the BLE_AT_Client application under Module Binary folder.

Known Limitations

  • The ThreadX “tx_queue_create” API is not correctly used in some Azure RTOS applications leading to potential instabilities. These limitations will be fixed in future releases.
  • BSP MXCHIP: Access point mode with the TCP/IP mode on STM32 host is not functional. It works when TCP/IP runs on the EMW3080B module.
  • When using STM32CubeIDE v1.7.0 with an STM32U575-EV Evaluation board, the user should either use ST-LINK(OpenOCD) or set the SWD frequency to 1MHz or 8 MHz manually if using STLINK(GDB server).
  • Some projects are not generated with STM32CubeMX tool for the exhaustive list please refer to this table STM32CubeProjectsList.html.
  • The following projects are not supported with MDK-ARM and STM32CubeIDE toolchains:
    • FLASH_ChangeOptionBytes
    • Tx_MPU
  • Remove Audio IN functionality from B-U585I-IOT02A BSP example.
  • The SMPS regulator configuration in all projects is not supported by STM32CubeMX V6.3.0 (will be provided in next releases).

Backward Compatibility

  • LPBAM Utility : This version breaks the compatibility with previous version for DAC, LPTIM, I2C and SPI modules.

Main Changes

  • First Official Release of STM32CubeU5 Firmware Package

Contents

Projects

The STM32CubeU5 Firmware package comes with template running on STMicroelectronics boards, organized by board and provided with preconfigured projects for the main supported toolchains. The exhaustive list of projects is provided in this table STM32CubeProjectsList.html

This release contains almost HAL drivers, LL drivers, BSP drivers, templates, projects and examples.

Name Version Release notes
Projects V1.0.0 release notes

Notes

  • The following sequence is needed to disable TrustZone:
    • Boot from user Flash memory:
      • Make sure that secure and non-secure applications are well loaded and executed (jump done on non-secure application).
      • If not yet done, set RDP to level 1 through STM32CubeProgrammer. Then only Hotplug connection is possible during non-secure application execution.
      • Use a power supply different from ST-LINK in order to be able to connect to the target.
      • Uncheck the TZEN box and set RDP to level 0 (option byte value 0xAA), then click on Apply.
    • Boot from RSS:
      • Make sure to apply a high level on BOOT0 pin (make sure that nSWBOOT0 Option Byte is checked).
      • If not yet done, set RDP to level 1 through STM32CubeProgrammer. Then only Hotplug connection is possible during non-secure application execution.
      • Use a power supply different from ST-LINK in order to be able to connect to the target.
      • Uncheck the TZEN box and set RDP to level 0 (option byte value 0xAA), then click on Apply.

Please refer to AN5347 for more details.

Components

The components flagged by “” have changed since the previous release. “” are new.

Drivers
Name Version Release note
Cortex-M CMSIS V5.6.0_cm33 release notes
STM32U5xx CMSIS V1.0.0 release notes
STM32U5xx HAL V1.0.0 release notes
STM32U5xx NUCLEO V1.0.0 release notes
BSP STM32U575I-EV V1.0.0 release notes
BSP B-U585I-IOT02A V1.0.0 release notes
BSP aps6408 V1.0.0 release notes
BSP Common V7.1.0 release notes
BSP cs42l51 V2.0.2 release notes
BSP hts221 V5.3.0 release notes
BSP hx8347i V2.0.2 release notes
BSP iis2mdc V1.1.0 release notes
BSP ism330dlc V1.2.0 release notes
BSP lps22hh V1.2.0 release notes
BSP lsm6dso V1.5.1 release notes
BSP m24lr64 V1.0.1 release notes
BSP mfxstm32l152 V3.0.3 release notes
BSP mx_wifi V2.1.11 release notes
BSP mx25lm51245g V2.0.6 release notes
BSP ov5640 V3.2.1 release notes
BSP stm32wb_at V1.0.6 release notes
BSP sx8651 V1.0.0 release notes
BSP tcpp0203 V1.2.1 release notes
Middlewares
Name Version Release note
STM32 TouchSensing Library V2.2.6 release notes
STM32 USBPD Core Library V4.0.0 release notes
STM32 USBPD Device Library u5_v3.0.0 release notes
mbed-crypto mbed-crypto-1.1.6 ST release notes
mcuboot V1.0.13 ST release notes
trustedfirmware tfm/v1.0.15 ST release notes
OpenBootloader V5.0.0 release notes
Network Library V2.2.0c release notes
ThreadX threadx-6.1.7.210621 release notes
NetXduo netxduo-6.1.7.210621 release notes
USBX usbx-6.1.7.210621 release notes
FileX filex-6.1.7.210621 release notes
LevelX levelx-6.1.7.210621 release notes
Utilities
Name Version Release note
Common V1.4.1 release notes
Fonts V2.0.2 release notes
GUI_INTERFACE GUI_V2.0.0 release notes
lcd V2.0.1 release notes
lpbam V1.0.0 release notes
TRACER_EMB V1.6.1 release notes

Development Toolchains and Compilers

Supported Devices and boards

  • STM32U575/STM32U585 devices
  • NUCLEO-U575ZI-Q Nucleo board rev.C
  • STM32U575I-EV Evaluation board rev.C
  • B-U585I-IOT02A Discovery board rev.C

Dependencies

  • STM32CubeMX V6.3.0
    • Projects (Examples and Applications) are generated using STM32CubeMX version V6.3.0.
  • The EMW3080B MXCHIP Wi-Fi module firmware and the way to update your board with it are available at https://www.st.com/en/development-tools/x-wifi-emw3080b.html. Before using the projects with Wi-Fi connectivity, you shall update your B-U585I-IOT02A RevC board with the EMW3080B firmware version 2.1.11. To achieve this, follow the instructions given at the above link, using the EMW3080updateV2.1.11RevC.bin flasher under the V2.1.11/SPI folder.

Known Limitations

  • BSP MXCHIP: Access point mode with the TCP/IP mode on STM32 host is not functional. It works when TCP/IP runs on the EMW3080B module.
  • When using STM32CubeIDE v1.7.0 with an STM32U575-EV Evaluation board, the user should either use ST-LINK(OpenOCD) or set the SWD frequency to 1MHz or 8 MHz manually if using STLINK(GDB server).
  • Some projects are not generated with STM32CubeMX tool for the exhaustive list please refer to this table STM32CubeProjectsList.html
  • The following projects are not provided with MDK-ARM and/or STM32CubeIDE:
    • ADF_AudioSoundDetector
    • BLE_AT_Client
    • BSP Examples
    • CRC_CalculateAndCheck
    • CRC_UserDefinedPolynomial
    • DLYB_OSPI_PSRAM_ExhaustiveTuning
    • DMA_LinkedList
    • EXTI_ToggleLedOnIT_Init
    • FLASH_ChangeOptionBytes
    • FLASH_EraseProgram_TrustZone
    • Fx_SRAM__File_Edit_Standalone
    • GPIO_IOToggle_TrustZone
    • GTZC_TZSC_MPCBB_TrustZone
    • I2C_TwoBoards_RestartAdvComIT
    • ICACHE_Memory_Remap
    • LPBAM_COMP_InputSwitch
    • LPBAM_DAC_OPAMP_ContinuousConversion
    • LPBAM_I2C_SequentialTransfer
    • LPBAM_LPGPIO_IOToggle
    • LPBAM_LPUART_TransmitReceive
    • LPBAM_SPI_FullDuplex_Simplex
    • Open Bootloader
    • OSPI_NOR_AutoPolling_DTR
    • OSPI_NOR_ReadWrite_DMA_DTR
    • OTFDEC_Data_Decrypt
    • RCC_OutputSystemClockOnMCO
    • RCC_UseHSI_PLLasSystemClock
    • RTC_TrustZone
    • SPI_OneBoard_HalfDuplex_IT_Init
    • SPI_TwoBoards_FullDuplex_IT_Master_Init
    • SPI_TwoBoards_FullDuplex_IT_Slave_Init
    • Tx_MPU
    • UART_ReceptionToIdle_CircularDMA
    • UART_TwoBoards_ComDMA
    • UART_TwoBoards_ComDMAlinkedlist
    • USART_SlaveMode
    • USART_SlaveMode_DMA
    • USBPD_SNK_UX_Device_HID_CDC_ACM
    • USBPD_SRC_Ux_Host_MSC
    • All AzureRTOS Applications are not provided with MDK-ARM

Backward Compatibility

  • Not applicable