Why the STM32L073RZ Wakes up (restarts) every 24 hours (in STANDBYMode)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-05-12 2:43 AM
I need to fix something in a project that I didn't program.
The problem occures (sometimes) after the product is restarted 24 hours after we remve it from the USB.
The project uses HAL_PWR_EnterSTANDBYMode to enter the Low level mode, but I don't see and calls to HAL_RTC_SetAlarm_IT before.
It does call HAL_RTC_SetAlarm_IT in another place for one minute (after the current time), and it ivokes its callback.
So I assume that it uses another method to wakeup, but I don't see how.
- Labels:
-
Power
-
RTC
-
STM32L0 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-05-20 3:24 PM
> It does call HAL_RTC_SetAlarm_IT ()
You probably never disabled that alarm.
Read out and check the relevant RTC registers content.
JW
