nRF5340 has a 24-bit internal RTC counter. I need to keep track of the real-time when MCU is sleeping. My current implementation design is to have a base epoch value from the network and add the offset ms value from the RTC counter.
I need to reset the RTC counter when a new epoch value is received from the network but I am not able to find any support for it.
“counter_stop” does not clear the RTC count value. Do you have any information to reset the RTC counter value?
Or do you have any other ideas to maintain the RTC time?