LowPower on STM32WL55JC

Post here first, or if you can't find a relevant section!
Post Reply
MortenGuldager
Posts: 2
Joined: Sun Dec 29, 2024 10:51 am

LowPower on STM32WL55JC

Post 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.
fpiSTM
Posts: 1944
Joined: Wed Dec 11, 2019 7:11 pm
Answers: 108
Location: Le Mans
Contact:

Re: LowPower on STM32WL55JC

Post 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.
MortenGuldager
Posts: 2
Joined: Sun Dec 29, 2024 10:51 am

Re: LowPower on STM32WL55JC

Post 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?
Post Reply

Return to “General discussion”