2023-12-02 01:26 AM
Hi,
Exiting from STOP mode based on RTC Alarm A works nice with ALRAIE (Alarm A interrupt enabled) and ALRAE (Alarm A enabled).
Do I understand this mechanism correctly, that I've to have both bits enabled? Having only ALRAE (Alarm A enabled) isn't enough for exit from STOP mode?
V/r
yabool2001
Solved! Go to Solution.
2023-12-02 01:45 AM - edited 2023-12-02 01:49 AM
Hello @yabool2001
To exit from stop mode using RTC, you need to enable both ALRAE to enable Alarm A and ALRAIE to enable Alarm A interrupt. The interruption need to be enabled because the wake-up operation start when an RTC interrupt occur.
For more details, you Can take a look at the RTC chapter of the reference manual of your MCU.
Best Regards.
STTwo-32
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.
2023-12-02 01:45 AM - edited 2023-12-02 01:49 AM
Hello @yabool2001
To exit from stop mode using RTC, you need to enable both ALRAE to enable Alarm A and ALRAIE to enable Alarm A interrupt. The interruption need to be enabled because the wake-up operation start when an RTC interrupt occur.
For more details, you Can take a look at the RTC chapter of the reference manual of your MCU.
Best Regards.
STTwo-32
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.
2023-12-02 02:12 AM