STM32L0 Wakeup Source Detection
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-12-22 3:42 AM
HI,
MCU :STM32L010R8Tx
Power Mode : Shutdown Mode
Wake Up Sources : RTC WakeUp, External WakeUp Pin 1 , External WakeUp Pin 2.
Reading Boot reason by checking one by one using __HAL_RCC_GET_FLAG(Flag).
And Able to detect Standby Wakeup.
But How to know the source of wake Up whether it is caused by wakeup Pin or RTC ?
_Nikhil v v
- Labels:
-
STM32Cube MCU Packages
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-12-24 1:30 PM
Hello @nikhivv07,
Please have a look at this post that may help you:
[STM32L0] Wake up Flag for RTC does not rise when ... - STMicroelectronics Community
Thanks
Imen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-01-03 4:51 AM
Hi,
thank you for the reference.
When device going to low power mode we are configuring RTC Wakeup time by writting
hrtc->Instance->WUTR = (uint32_t)WakeUpCounter;
where wakeupcounter is the count value in seconds.
i like to know to which count register value is comparing to wakeupCounter (WUTR) to wakeup from Low Power Mode.
thanks,
Nikhil v v
