Hi!
I want to use the CC2640R2F RTC works as a countdown timer and a clock alert. It would be very nice of you, if you could tell me how to config the RTC, and how trigger the timer & alert event.
Thank you!
Best regards,
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi!
I want to use the CC2640R2F RTC works as a countdown timer and a clock alert. It would be very nice of you, if you could tell me how to config the RTC, and how trigger the timer & alert event.
Thank you!
Best regards,
Dear Clément,
thank you for your kindly help.
I read the Timing Services of that User's Guide which you refered carefully, but still don't know how to realize my funtion. I need is a counterdown timer whose function as following, actually, I don't care it uses RTC or not. I think that might mislead your answer.
1) This funcition can trigger an Event and then wake the MCU after the setting timer is finish. The timer could be 24 hours or more.
2) During the counterdonw, the MCU is in a low power mode.
3) MCU can check how many time left in the counterdown timer when the timer is running.
It would be very nice of you, if you could explain further deeply about how to design this function by RTOS Kernwl.
Best regards,
Victor
Dear Markel,
I tried Util_constructClock & Util_startClock, and both of them works very well. MCU is in low power mode when the timer is set, and wakeup MCU after time out.
One more question, could you tell me how to check how many seconds left in the timer by Util API? I know it can be fullfilled by adding extra codes by UTC_getClock() and others. But, I prefer to call an API if it is availlable.
Thank you!
Best regards,