Hi all,
i use softdevice and app timer. I know that the softdevice use a RTC0 and app timer RTC1.
I would use a rtc to have a timestamp. but i see that after 512 second the counter come back to 0. Someon can clarify why?
Thanks, Anna
Hi all,
i use softdevice and app timer. I know that the softdevice use a RTC0 and app timer RTC1.
I would use a rtc to have a timestamp. but i see that after 512 second the counter come back to 0. Someon can clarify why?
Thanks, Anna
Hi,
The RTC is a low-frequency timer (real time counter), not a Real Time Clock, as the acronym is used for in some other settings.
The RTC counts using a 24 bit register. With the timer running at 32768 Hz, the register will overflow after 512 seconds.
You can set the PRESCALER register, to make the RTC count at a slower rate, allowing it to run up to 582.542 hours before overflowing.
See this thread for more information.
Best regards,
Jørgen
Hi,
The RTC is a low-frequency timer (real time counter), not a Real Time Clock, as the acronym is used for in some other settings.
The RTC counts using a 24 bit register. With the timer running at 32768 Hz, the register will overflow after 512 seconds.
You can set the PRESCALER register, to make the RTC count at a slower rate, allowing it to run up to 582.542 hours before overflowing.
See this thread for more information.
Best regards,
Jørgen