2022-08-12 04:53 AM
Hi, could someone explain me what is the difference between wake up and alert in RTC?
For example the UM1749 provides information about RTC Alarm functions (section 39.2.8) and wake-up functions (section 40.2.2)
When should I use the wake-up and when the alert?
Solved! Go to Solution.
2022-08-13 11:42 AM
2022-08-12 05:39 AM
Wakeup is intended for uniformly repeating events (e.g. wakeup every 10 seconds), while the alarm can be compared to the wake-up function of an alarm clock and is usually only triggered once.
Does it answer your question?
Regards
/Peter
2022-08-12 07:03 AM
The reference manual for your MCU explains it clearly.
2022-08-13 05:27 AM
Thank you a lot @Peter BENSCH for your response. In my application, I want the MCU to wake-up once per day at 12:00PM. So, should I use the wakeup instead of the alarm?
2022-08-13 11:42 AM
2022-08-16 12:45 AM
Thank you very much @Peter BENSCH
2022-08-16 01:09 AM
You're welcome.
If the problem is resolved, please mark this thread as answered by selecting Select as best under your preferred answer. This will help other users find that answer faster.
Regards
/Peter
2024-03-05 05:32 AM
If you use mask, no need to set again your alarm, or I maybe miss something ?
2024-03-05 05:57 AM - edited 2024-03-05 05:58 AM
As I am wondering same question, I'll add some informations about this subject (feel free to correct me as I am new to these subjects) :
- I think that if you use mask, you dont have to reconfigure your alarm. The callback function of your alarm can be called forever, with a few settings
- Alarm seems a bit easier to use (as you only have to provide a date/time alarm, and provide a mask if you need it). For WakeUp Timer, you should chose the clock you want to use, and do simple math with frequency/prescaler of your clock. Otherwise, if you change clock frequency, this will probably change your loop.
For my case, I only need to go in sleep mode, and exit that sleep mode to measure data only once per minute. I already did the loop with alarm, work well, but I discovered WakeUp Timer.
Do you have any advice on what to use ? Do you know others differences that we listed here ?
2024-03-06 05:13 AM
Maybe someone have more informations to share ?