NRF52 High power consumption on in PM_STATE_SUSPEND_TO_IDLE/PM_STATE_SUSPEND_TO_RAM state - Zephyr

Hi,

I am working on the nrf52 pdk using zephyr ncs v2.1.2 on windows

I am using the zephyr system off example in which I get the 30-40uA current as shown below.

But if I replace the PM_STATE_SOFT_OFF (Please refer below line code) to the PM_STATE_SUSPEND_TO_IDLE or PM_STATE_SUSPEND_TO_RAM state then I get the higher current as shown in below image,

pm_state_force(0u, &(struct pm_state_info){PM_STATE_SOFT_OFF, 0, 0});
Please help me to resolve the same problem.
why i am getting the too high current in it?
Thanks. 
Parents
  • Hello,

    Sorry for the time I took here. I was on sick leave last day which is why I haven't responded so far.

    While looking at your screenshot I guess you are using PPK1, which is kind of old that's probably the reason for lot of noises in the screenshot. Could you share the details of your setup  for measuring the current from nRF52840DK. I suggest you to go through the Preparing DK (section9.1) under the Measuring current section inside the product specification. I also suggest to go through the power profiler user guide for setting up correctly.

    AFAIK, the difference between the new zephyr power management states, that you have pointed, is that PM_STATE_SOFT_OFF works when the device is in non-runtime sleep mode (system OFF) and on the other hand PM_STATE_SUSPEND_TO_RAM and PM_STATE_SUSPEND_TO_IDLE works in system ON sleep mode. So generally current consumption will be less in system off sleep mode. Please see this thread which explains some of these things. But what you are seeing is high and I guess it is because of the set-up issue.

    Kind Regards,

    Abhijith

Reply
  • Hello,

    Sorry for the time I took here. I was on sick leave last day which is why I haven't responded so far.

    While looking at your screenshot I guess you are using PPK1, which is kind of old that's probably the reason for lot of noises in the screenshot. Could you share the details of your setup  for measuring the current from nRF52840DK. I suggest you to go through the Preparing DK (section9.1) under the Measuring current section inside the product specification. I also suggest to go through the power profiler user guide for setting up correctly.

    AFAIK, the difference between the new zephyr power management states, that you have pointed, is that PM_STATE_SOFT_OFF works when the device is in non-runtime sleep mode (system OFF) and on the other hand PM_STATE_SUSPEND_TO_RAM and PM_STATE_SUSPEND_TO_IDLE works in system ON sleep mode. So generally current consumption will be less in system off sleep mode. Please see this thread which explains some of these things. But what you are seeing is high and I guess it is because of the set-up issue.

    Kind Regards,

    Abhijith

Children
Related