Skip to main content
Associate III
December 17, 2024
Question

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

  • December 17, 2024
  • 1 reply
  • 1105 views

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

 

This topic has been closed for replies.

1 reply

Amel NASRI
ST Technical Moderator
January 6, 2025

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 "Best Answer" on the reply which solved your issue or answered your question.