cancel
Showing results for 
Search instead for 
Did you mean: 

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

SOfne.1
Associate III

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

1 REPLY 1
Foued_KH
ST Employee

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

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.