Skip to main content
Visitor II
July 18, 2023
Question

Bug in low-level driver file stm32u5xx_ll_pwr.h for STM32U5

  • July 18, 2023
  • 1 reply
  • 852 views

Affected driver libraries: STM32Cube_FW_U5_V1.3.0 and STM32Cube_FW_U5_V1.2.0, and presumably all earlier versions

Following defines are wrong:

#define LL_PWR_LPM_SEC PWR_SECCFGR_WUP8SEC
#define LL_PWR_VDM_SEC PWR_SECCFGR_WUP8SEC
#define LL_PWR_VB_SEC PWR_SECCFGR_WUP8SEC
#define LL_PWR_APC_SEC PWR_SECCFGR_WUP8SEC

Instead the defines should look like this:

#define LL_PWR_LPM_SEC PWR_SECCFGR_LPMSEC
#define LL_PWR_VDM_SEC PWR_SECCFGR_VDMSEC
#define LL_PWR_VB_SEC PWR_SECCFGR_VBSEC
#define LL_PWR_APC_SEC PWR_SECCFGR_APCSEC

    This topic has been closed for replies.

    1 reply

    ST Employee
    July 18, 2023

    Hello @SOfne.1 

    Thank you for bringing this issue to our attention.

    I reported the issue internally.

    Internal ticket number: 157472 (This is an internal tracking number and is not accessible or usable by customers).

    Foued