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
In the sdk_config.h, try increasing the value of
APP_TIMER_CONFIG_OP_QUEUE_SIZE
to a bit higher to suit your timer requests queue capacity from the application
Unfortunately this is not the case
Which SDK version are you using?
What is the exact line in the code where this error is returned. Normally the API of the libraries is documented well as to why such an error condition happens, but it could happen that the description might not be clear here.
If you are unable to debug the error condition and find out the source of this error, then i would need to replicate this at my desk to be able to help you.
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.