This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Timer drifting in nRF52810 based custom board

Hi,

We are currently developing an application that makes use of soft device(s112). We tried using timer(Timer 1) for a timed wake up and sleep but found that the actual timeout is different than the configured timeout.
We tried using different frequencies and timeout values for timer but the results were the same.

Timer Drift Observations

Frequency Configured Timeout Actual Timeout
125 kHz 1 s 0.977 s
250 kHz 1 s 0.974 s
250 kHz 60 s 58.388 s
250 kHz 300 s 291.873
2 MHz 1 s 0.975 s
2 MHz 60 s 58.391 s
16 MHz 1 s 0.974 s

We are using "nRF SDK version 14.2".

Also we tried using the app timer instead of Timer module and the timings from app timer was correct (configured for 60s and it timed out after 60s perfectly).

We didn't populate the external low frequency crystal.

We could use app timer for this application(need to do further testing) but would like to know about the cause of this issue so that this can be taken in to consideration while designing our future products.

Thanking you in advance
Hari

Related