Hi
I got NRF_ERROR_NO_MEM, when calling to "nrf_atfifo_item_alloc()" from "timer_req_schedule()" routine.
Is the allocation is done from the task heap or stack?
Thanks
Arik
Hi
I got NRF_ERROR_NO_MEM, when calling to "nrf_atfifo_item_alloc()" from "timer_req_schedule()" routine.
Is the allocation is done from the task heap or stack?
Thanks
Arik
Hi Arik,
I had a similar problem and my experience is that I was trying to start an application timer (with app_timer_start()) before actually the "application timer" system was initialized and started with a call to app_timer_init().
Make sure to place the app_timer_start() instruction only after that.
In some Nordic examples, app_timer_init() is already called somewhere in the Nordic code. You cannot call the same function twice (it would produce an error). That leaves you the only option to place your app_timer_start()call after that.
This solved the problem with the NRF_ERROR_NO_MEM error for me.
Hi Arik,
I had a similar problem and my experience is that I was trying to start an application timer (with app_timer_start()) before actually the "application timer" system was initialized and started with a call to app_timer_init().
Make sure to place the app_timer_start() instruction only after that.
In some Nordic examples, app_timer_init() is already called somewhere in the Nordic code. You cannot call the same function twice (it would produce an error). That leaves you the only option to place your app_timer_start()call after that.
This solved the problem with the NRF_ERROR_NO_MEM error for me.