This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

APP timer bugs?

Hi all,

i developer a code that :

  1. press button short switch on one led
  2. Press button long switch on two led.

but sometimes if i press the button a two led switch on, the device made this for few minutes and after reset the device.

If i debug it i see that the timer of long press expires :( Maybe a bug about the app timer? (devzone.nordicsemi.com/.../).

Someone can help me?

Thanks, Anna

Parents
  • I got response from Nordic's supporter in my personal page.

    As per response, current app_timer library do not work well if any timer timeout is greater than (RTC max overflow/2 = 256 second if prescaler is 0). But it is not documented and also not validated in code.

    I have made my timer timeout to match above statement and now it is working fine.

Reply
  • I got response from Nordic's supporter in my personal page.

    As per response, current app_timer library do not work well if any timer timeout is greater than (RTC max overflow/2 = 256 second if prescaler is 0). But it is not documented and also not validated in code.

    I have made my timer timeout to match above statement and now it is working fine.

Children
No Data
Related