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

nRF52832 and Freertos idle current

Hello,

I'm working with an nRF52832, SDK 14.2 and Freertos 8.0.1. 

Two tasks are defined, one for led signalling and one where saadc is used to check the battery value.

Without starting the scheduler (with vTaskStartScheduler()) I checked that the idle current is almost correct, because is around 80uA, considering that the board is powered by a DC/DC converter with 70uA quiescent current.

To check it I used the code below, after deactivation of all peripheral like saadc (with nrf_saadc_disable()) and uart (with app_uart_close()).

while(1)
{
__SEV();
__WFE();
__WFE();
};

When I start the scheduler, also with only one task running and a simple while (1) cicle with vTaskDelay(1000), I can't get not less than 500uA of idle current.

Do you have some suggestion how to reduce the idle current in this condition? Is maybe needed to update the version of Freertos?

Already checked the forum for an answer on this issue but I have not find a solution yet (like alternative port_cmsis_systick or different rtos configurations, like TICKLESS_IDLE vs HOOK_IDLE).

Many thanks in advance.

Best regards.

Related