-
Notifications
You must be signed in to change notification settings - Fork 54
Examples of STM32LowPower for STM32WLE5CCU6 #71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi @DEDP01 ,
MCU STM32WL55JC from my nucleo board is closed to your STM32WLE5CCU6, except that yours is single core. Can you tell us more about your setup ? I guess you are using variant "Generic WL55CCU", can you confirm ? |
Can you tell us more about your setup ? Yes, my setup:
I guess you are using variant "Generic WL55CCU", can you confirm ? Yes, I customized the output, in my case LED_BUILTIN I changed to PB5. #include "STM32LowPower.h"
void setup() {
// in my case the pin is PB5.
pinMode(PB5, OUTPUT);
LowPower.begin();
}
void loop() {
digitalWrite(PB5, HIGH); //only the led keeps on.
LowPower.deepSleep(1000);
digitalWrite(PB5, LOW);
LowPower.deepSleep(1000);
} |
Can you check whether after sketch is loaded in Flash, unplug/plug of PowerSupply make a difference ? |
I already tried and it still doesn't work |
The fact RTC is already configured or not, is handled by begin() itself. Fixes stm32duino/STM32LowPower#71 Signed-off-by: Alexandre Bourdiol <[email protected]>
@DEDP01, |
Hello!
I prove the examples (AlarmTimedWakeup, ExternalWakeup and TimeWakeup), the first two examples worked correctly but the last one (TimedWakeup) doesn´t do anything, it only turns on the led and it keeps like that.
The example works correctly or is incompatible or the program has a actualization?
The text was updated successfully, but these errors were encountered: