Hi,
After upgrading from SDK 16 to SDK 17 my device started to assert on app_timer2.c line 298:
ASSERT(app_timer_cnt_diff_compute(drv_rtc_counter_get(p_instance), drv_rtc_compare_get(p_instance, 0)) < APP_TIMER_SAFE_WINDOW);
This happens way more often when running without debugger/RTT.
I checked my app timer handlers and i could not notice that any of them would take too long time to finish. Have not measured tho.
Assert happens both while advertising and in connected state.
As soon as I switch back to SDK 16, everything is fine again.
Has something changed in sdk_config.h? Do I need to update some values?
Some details:
- device nrf52840
- running device as a peripheral
- s140 softdevice
/Erik