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
  • I've modified the two examples by adding a callback handler to the app timer module, so that I can toggle a GPIO when the app timer starts and when it has completed in the handler. This lets me measure the elapsed time of the app timer.

    Comparing the two:

    SDK v17.02 ble_app_template_17_0_2.zip:

    Using the debugger I check the timeout parameter that is passed to app_timer_start() and see that it's set to 100 (ms). 

    By measuring the toggling interval of the GPIO, I see that the timeout time of the application timer corresponds to the timeout that is passed to app_timer_start(): 

    SDK v17.1 0 1856.ble_app_template.zip

    Using the debugger I check the timeout parameter that is passed to app_timer_start() and see that it's set to 100(ms):

    By measuring the toggling interval of the GPIO, I see that the timeout time of the application timer corresponds to the timeout that is passed to app_timer_start(): 

    Result: In both cases I can see and verify that the timeout is set to 100 ms. 
    I could therefore not reproduce your observations.

    regards

    Jared 

Children
Related