LowPower on STM32WL55JC
Posted: Sun Dec 29, 2024 4:30 pm
Trying to get my Nucleo--WL55JC1 board into some super low power sleep.
Currently my code is quite minimal:
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 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.
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);
}
Code: Select all
LowPower.shutdown(5000);
I had hoped for much less, perhaps even down to a few uA.
Suggestions?
I'm using platformio, if that matters.