This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

nrf52840 System ON Low power mode.

Hello,

I am new in nordic previously I was working on Cypress controllers. I am trying to put the device in System ON Low power mode.

I have tried the below functions but there is not any effect on current consumption.

To make sure it will always be in an idle state, I am not doing anything in the main function is empty like below. But I am getting current consumption of around 430-440uA. When I remove cpuidle() function call then also current consumption remains the same.

void cpuidle(){
while (true)
{
k_cpu_idle();
}

}

void main(void)
{
cpuidle();
}

Also I have tried below function but I am getting undefined reference to `sd_app_evt_wait' error.

sd_app_evt_wait();

Please let me know am I doing anything wrong?

Thanks in advance.

Regards,

Neeraj Dhekale

  • Hello,

    The high sleep current is  likely caused by the serial logging interface (UART) being enabled. Please try to disable it in your project by adding CONFIG_SERIAL=n to your prj.conf file.

    Also, k_cpu_idle() is normally not used it the application code as we have the idle thread (CPU Idling) that gets executed whenever there are no pending tasks left.

    Regards,

    Vidar

Related