Hi all,
I create 4 timer in APP, and there seem only one timer (work in single shot mode) can not trigger by right ticks.
I add some log and find that:
- First I start this timer, timeout_ticks is 229376 (7s), then I get the current time by app_timer_cnt_get, it show the current time is 4 .
- When time out of this timer get the current time is 229382, it seem right.
- Then I start this timer against, timeout_ticks is 16384 (0.5s), the current time is 229386.
- But something wrong, I wait almost 7s, then it get timeout handler. And I also print the current time, it is 229393, it seems wrong, 229393 -229382 = 11,it is not 16384, but I wait almost 7s.
- Finally I start this timer against, timeout_ticks is 196608(6s),current time is 229398.
- But also get wrong current time of 229405 when the time out, but I think I wait about 6s to get this time out which seem right.
What's wrong? Please help me, thank you very much.
What I use is NRF52, and the SDK is nRF5_SDK_11.0.0, softdevice is s132.