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

app_timer trigger immediatly on SDK13

Hi,

I have an issue with app_timer (nRF52, SDK13.0). I use a single shot timer.
I try to debug, and I'm in the case of app_timer.c line 650:

ticks latest: 534879, ticks at start: 12012818
ticks first interval: 163840

So this case put the ticks_to_expire to 0... I don't understand why ?

It think that it should be: MAX_RTC_COUNTER_VAL - delta_current_start + p_timer->ticks_first_interval;

Parents Reply Children
No Data
Related