Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs

nrf5 SDK 17.1.0 app_timer2 issue

Hello I recently updated my project from 17.0.2 to 17.1.0.
I found a problem while checking the full functionality after the update.
In my project, there is a buzzer for an alarm, and it was confirmed that the operation time was doubled.
I'm using app_timer2 for buzzer control, I ask if there are SDK fixes related to app_timer2.
In the code I wrote, it is enough to input the buzzer operation time by 1/2, but I would like to know the fundamental solution.
I'll be waiting for the reply.

Parents Reply
  • Hi John, 
    I'm sorry for the late response. Jared is on vacation. 

    I have reproduced the issue here and can confirm what you observed. 


    I'm suspecting that the change in the library in SDK v17.1 caused the issue. I have reported this to the team and will keep you updated. 

    What I found is that if you do APP_TIMER_MODE_SINGLE_SHOT instead of APP_TIMER_MODE_REPEATED you will not see the issue. 
    Or if you use app_schedule to do the app_timer_stop() app_timer_start() in main context it would work as well. 

    Would these workarounds good for you ?

Children
Related