2019-07-04 05:50 AM
Hi,
I´m actually working with STM32L053C8 moden and i have some questions about how RTC works. I am using STM32Cube IDE and HAL libraries (C++).
First, when i wake up (from standby mode) the microcontroller, the code always start from the beginning. Could be possible not start from the beginning?
Second, If i am using the RTC+Calendar and other external wake-up mode (a push button linked to System Wake up pin 1)When i wake up(from standby mode), Is it possible known what type of wake up ocourred? Could i known if the wake-up interruption was from RTC or Wake up pin 1?
And the last question, when my system wake-up, the RTC (time and date) time always start from the time that i had initially configured. How could i solve this?
Thanks,
Regards,