Page 1 of 1

LowPower on STM32WL55JC

Posted: Sun Dec 29, 2024 4:30 pm
by MortenGuldager
Trying to get my Nucleo--WL55JC1 board into some super low power sleep.
Currently my code is quite minimal:

Code: Select all

#include <Arduino.h>
#include <RadioLib.h>
#include "STM32LowPower.h"

STM32WLx radio = new STM32WLx_Module();
void setup()
{
    LowPower.begin();
    radio.sleep();    // didnt really help
}

void loop()
{
    delay(10000);            // ~6.5mA
    LowPower.shutdown(5000); // ~500uA
    delay(100);              // never happens, "shutdown" seems to cause a reboot, not a problem for now
    LowPower.shutdown(100);
}
But when I monitor the current across JP1 (I-SoC) I first see about 6.5mA, which is expected, and then when it hits the

Code: Select all

LowPower.shutdown(5000);
it drops to a little above 500uA

I had hoped for much less, perhaps even down to a few uA.

Suggestions?

I'm using platformio, if that matters.

Re: LowPower on STM32WL55JC

Posted: Thu Jan 02, 2025 10:36 am
by fpiSTM
Hi @MortenGuldager
First when exiting shutdown board simply reset so all code fater it will never been executed.
About the consumption, well I guess it is linked to the core M0 which is not in low power mode only the core M4 are in low power.

Re: LowPower on STM32WL55JC

Posted: Wed Feb 26, 2025 9:09 am
by MortenGuldager
ok, so my next question will be, how do I put the M0 core to sleep as well? Does the lowpower module support this somehow too?