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

systick on nrf52840 to geneate exception every 1msec

Hi all,

can we configure systick on nrf52840 to genrate exception every 1msec.

Tried doing the same but not able to observe correct value.

These are my configuration

clocksource: cpu; Tickmask: 1; counter enable:1; LOAD: (64000-1);

But then when I read the SysTick->CALIB. The value of CALIB register is 0xc0000000. This indicates the calibration value is wrong. And also the variable value incremented in ISR also is not correct.

Can any one help on this please.

Regards, Shreeharsha I

Parents Reply Children
No Data
Related