2024-10-24 11:47 AM
I am using STM32C011F4 mcu on my project.
I want to send my device to sleep mode with HAL_PWR_EnterSTOPMode().
STM32C011F4 does not have build-in Walke-up option in RTC driver.
So, I'd like to learn if it is still possible to use AlarmA to periodic sleep/wake-up sequence.
Any help is appreciated.
Thanks in advance.
2024-10-24 01:14 PM
Hello @iotengtr according to the table 93 of the RM0490, you can use the ALARM A interrupt can wake-up only from Sleep and stop mode (if RTC clock source is LSI or LSE).
To understand how to Configure it, you can use the description of the same reference manual.
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.