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, 

    As far as I can see, you toggle the LED every time the program enters wrapper_timer_restart() from wrapper_timer_reschedule(). This will not represent the amount of time elapsed before the app timer has reached its timeout as multiple different timers in your program call wrapper_timer_reschedule(). For example, beepClock, alert_majorClock, alert_subClock all call wrapper_timer_reschedule(), which means that all of them will toggle LED1. I think this problem is more related to your program flow then the app timer module itself. 

    If you disagree, can you share a much simpler example that only uses the app timer module and toggles a LED and see if you can reproduce a difference between SDK v17.0.2 and v17.1.0? 

    regards

    Jared 

Children
Related