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

Are the app_timers using 32 768 Hz RTC?

Two questions:

  1. If I use Nordic's library functions such as app_timer_create() and app_timer_start(), are the timers using the low-power RTC timer running with the 32 768 Hz crystal? Our board has that crystal installed, of course. Or do they just utilize the timers running with CPU clock (16 MHz)?

  2. What is the simplest way to read milliseconds elapsed since the system started running? 16 bits would be enough, so it doesn't matter if it wraps around back to zero.

Related