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

Lockup with SDK12.3 with FreeRTOS power consumption fix.

I've recently discovered the power consumption issue with FreeRTOS and SDK12.3: devzone.nordicsemi.com/.../

So, I am now using SDK12.3 with SDK13.1 FreeRTOS files.

The power consumption is back to normal, however the modified files are producing a lockup (seen via WDT reset). The WDT reset occurs every few hours, so I haven't been to isolate it in a debugger.
Before making the changes to fix the power consumption, we've had hundreds of devices deployed and functioning properly with no lockups. The only changes have been the new FreeRTOS files.

Any suggestions on what could be causing this issue introduced by the changes to fix the power consumption?

Are there any other configuration (sdk/freeRTOS) changes or updated files I should use?

What is the recommended IRQ priority for the RTC (its the RTOS tick source) when using FreeRTOS and the SoftDevice?

Also, what is the recommended task priority (on the higher or lower end?) for the task which handles SoftDevice events?

nRF52, S132 3.0.0, SDK12.3, FreeRTOS from 1SDK3.1, gcc, eclipse.

**Update:

  • i do not experience this lockup/WDT reset when i turn tickless idle OFF. of course, this is not an option for a battery powered device.

  • i do not experience this lockup/WDT reset when using the freertos files from SDK 12.1 instead of 13.1, the lockup/WDT reset goes away, but power consumption is worse (~80uA more).

Related