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:
Thanks.
Liu