We are using RTC with external 32.768Khz clock to maintain and count a full date.
we found that we have a drift of time counting about 1 minute on every 10 nintues which cause 1 hour drift on several hours.
is it possible or we do somthing wrong ?
our RTC initialization code is
static const nrfx_rtc_t m_rtc = NRFX_RTC_INSTANCE(2);
static void init_rtc(void)
{
ret_code_t err_code;
// Initialize RTC instance
nrfx_rtc_config_t config = NRFX_RTC_DEFAULT_CONFIG;
config.prescaler = 4095; // 8 ticks for 1 second
err_code = nrfx_rtc_init(&m_rtc, &config, rtc_handler);
APP_ERROR_CHECK(err_code);
nrfx_rtc_enable(&m_rtc);
}