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

nrf52dk systick calibration value

Hi, I have configured systick for 1msec value with Ticks=64000. When I read the systick calibration register value, the value is 0xc0000000. This indicates the Tenms register value is zero.

The description says SoC vendor has to provide this value. Can any one help on this.

Thanks in advance.

Regards, Shreeharsha I

Parents
  • The systick does not run once you use power management function like sd_app_evt_wait().

    Unless you wanted a cpu load gauge in tenth of a percent, you should better use one of the other timers.

    Trap for young players: The systick works as long as you have the debugger connected - this puts the NRF into a higher power mode and disables sleep modes.

  • Well, I'm not an expert on the Systick feature of the nRF52 as we use the RTC peripherals because they run while sleeping. I imagine if you don't need to save power by sleeping, using systick as a counter would be possible. That said the RTC is a real time counter and is really built for that job is there a reason you would prefer the Systick (we don't have any view of your application or requirements). How are you configuring the RTC where it is missing ticks?

Reply
  • Well, I'm not an expert on the Systick feature of the nRF52 as we use the RTC peripherals because they run while sleeping. I imagine if you don't need to save power by sleeping, using systick as a counter would be possible. That said the RTC is a real time counter and is really built for that job is there a reason you would prefer the Systick (we don't have any view of your application or requirements). How are you configuring the RTC where it is missing ticks?

Children
No Data
Related