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

nrf_delay_ms with a delay above 100msec causes reset with app timers running!

Hi,

I have a reset issue when trying to set a delay greater or equal to 100 milliseconds using nrf_delay_ms(...). This only happens if I start my app timers (app_timer_start(...)) before calling the delay function. If the app timers are not running, the delay executes without any problem even up to 5 seconds!

Is there a watchdog initialised hidden somewhere in these app timer functions that I am missing and that is resetting my MCU above 100 msecs?

Thanks for the help.

Phil

Parents
  • Is there any progress on this problem? I got this same NRFERROR_NO_MEM error in timeout_handler_exec when I use app_timer and schedule, But I think there is no long delay in my code. Which operation to app_timer will be pushed into queue beside start_timer and stop_timer? Will the timeout event be added into this queue? APP_TIMER_OP_QUEUE_SIZE is 20 and APP_TIMER_MAX_TIMERS is 11. image description

Reply
  • Is there any progress on this problem? I got this same NRFERROR_NO_MEM error in timeout_handler_exec when I use app_timer and schedule, But I think there is no long delay in my code. Which operation to app_timer will be pushed into queue beside start_timer and stop_timer? Will the timeout event be added into this queue? APP_TIMER_OP_QUEUE_SIZE is 20 and APP_TIMER_MAX_TIMERS is 11. image description

Children
Related