Adafruit Feather nrf52840: High power consumption (~1mA) in deep sleep

Hi,

I am using zephyr v4.3.0, and have compiled the "https://github.com/zephyrproject-rtos/zephyr/tree/main/samples/boards/nordic/system_off" sample to

run it on a Adafruit Feather nrf52840 (which is from year 2021 AFAIR)

The board is powered through the 3.3v pin (so the LDO is not used), and I use the Nordic PPK2 to measure the current.

I have disabled the uart console.

I have just modified the sample to wait 3 secs before entering sleep.

When entering sleep, the consumption never goes below 1 mA.

What I have attempted is to force the NeoPixel POWER and DATA GPIOs (with a hog in device tree)  with no much better success.

This consumption is far from the expected tens of micro amperes, what can be possibly wrong ?

Thanks !

Parents
  • Hi Thierry,

    I see you've already gotten some good tips from PJ here. I agree that there might be things on the Adafruit board that we're forgetting about here and need to explicitly disable. Another "unknown" here is the code - if you are running plain Zephyr there might be something new in this version that doesn't work the way it should on the nRF52840. This is likely not the case, but just to make sure, it would be an idea to test a project from the nRF Connect SDK. We do not necessarily do tests on other code than that. Have a look at this project for instance, and compare your PPK results with what you see in the description.

    and I use the Nordic PPK2 to measure the current.

    Could you show me a screenshot of what you see there?

    Regards,

    Elfving

  • Hi Elfving,

    Thanks to PJ as well for the tips. PJ, unless I am wrong there is no USB to serial converter on that board.

    I have check that CONFIG_I2C & CONFIG_SPI are both disabled. I will try with nRF SDK, which was something I did not consider yet, because I have a codebase that has to work on other boards.

    Here is the asked screenshot:

    As you can see, the consumption does not really change a lot when entering sleep (after 3 seconds).

    My plan is now:

    - switch to nRF SDK

    - Unsolder the LDO (I wonder if there if a current leak through it via the output pin)

    Regards

    Thierry

Reply
  • Hi Elfving,

    Thanks to PJ as well for the tips. PJ, unless I am wrong there is no USB to serial converter on that board.

    I have check that CONFIG_I2C & CONFIG_SPI are both disabled. I will try with nRF SDK, which was something I did not consider yet, because I have a codebase that has to work on other boards.

    Here is the asked screenshot:

    As you can see, the consumption does not really change a lot when entering sleep (after 3 seconds).

    My plan is now:

    - switch to nRF SDK

    - Unsolder the LDO (I wonder if there if a current leak through it via the output pin)

    Regards

    Thierry

Children
Related