RTC1 runs too fast

Greetings, I am developing an application for the NRF52840 in a RAK Wireless RAK4631, using the Arduino BlueFruit libraries.

When I monitor NRF_RTC1->COUNTER variable, it seems to increment too fast - approximately 2000ms are gained every minute when compared to real time.

The prescaler is set to 31 (NRF_RTC1->PRESCALER) which applies a prescaler of 1024 to the 32768hz RTC.

Can anyone let me know why it would be running so fast?

Thanks,

Ryan

Related