cancel
Showing results for 
Search instead for 
Did you mean: 

RTC_FLAG_WUTF is not set upon waking up from Standby mode due to the Wake-up Timer.

chai2145
Associate III

Hi, 

I would like to identify the source of the interrupt that caused the MCU to wake up from Standby mode. To do this, I check the RTC_FLAG_WUTF and RTC_FLAG_ALRAF/RTC_FLAG_ALRBF flags after the system wakes up to determine the wake-up source. However, when the system successfully wakes up from Standby mode due to the Wake-up Timer, the RTC_FLAG_WUTF is not set and remains cleared. I also checked the RTC ISR register, where the WUTF bit remains '0'. Does anyone know why this is happening?

 

chai2145_0-1734417022303.png

 

1 REPLY 1
Amel NASRI
ST Employee

Hi @chai2145 ,

Please consider the following limitation described in STM32L0 errata sheet:

AmelNASRI_0-1736172702115.png

If the problem is still there even after applying the described workaround:

  • please make sure to use latest STM32L0 HAL/LL drivers
  • share a minimum example to reproduce the issue besides to the hardware details

-Amel

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.