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

nRF51 Zephyr timer issue

Hi experts,

Currently some issues are found in zephyr os, especially the precision of k_timer. Since the nRF51 series uses RTC as the system clock on zephyr os, the round up of 32768/CONFIG_SYS_CLOCK_TICKS_PER_SEC will lead to a small drift in time, for example, round up (32768/1000) / 32768 = 0.9765625 ms is less than 1 ms. Therefore, in a time precision requirement scenario, if we want a 1000 ms timer, it is actually triggered at 1000 * 0.9765625 = 976.5625 ms, there are almost 24 ms drift on it. 

So, do we have a fixing plan on it? 

Thanks

Parents Reply Children
No Data
Related