This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

app_timer hangs after be changed intervals through GPIOTE

Hello,

Now i use NRF51822 DK with code in attachment to test app_timer hangs.

Fristly , you can press button 0 to start a 100ms app_timer, and we can see it through uart(NRF_LOG);

After 5 secons, app_timer will becom 5s and continue it until next GPIOTE comes.

Secondly. Now ,we give a press on button 0 , we can  see the programming hangs. Because in normal mode, the chip will stop app_timer in running  and restart it in 100ms interval.

Lastly, we can restart 100ms app_timer quickly as next button GPIOTE comes if we donn't start 5s app_times as inuse_100ms_cal equal 50;

I describe this trouble in this blog as:

https://devzone.nordicsemi.com/f/nordic-q-a/44048/app_timer-hangs-after-i-changed-intervals-through-gpiote

Thanks.

Liu

Parents Reply Children
No Data
Related