-
Notifications
You must be signed in to change notification settings - Fork 54
TimedWakeup not working #79
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
Update: |
Hi @tshcherban, Please note that I used latest commit from both libraries:
Can you please test the same ? |
Okay, tested (using latest changes).
but that - not:
LED should be 1s ON 2s OFF, but instead it is 1s ON 1s OFF, so |
Fixes stm32duino#79 Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
Hi @tshcherban , I pushed a fix to clear this flag, and it is now working fine on my side: |
Fixes #79 Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
Yep, works great. Verified on both |
I've tried a very basic example of timed wakeup:
And its working wrong. Works as expected on first board power-on, but on subsequent resets via rst button - LED stays on forewer. Also tried
deepSleep
,shutdown
,idle
- behavior is the same.And if i put before
LowPower.begin();
call the following snippet:all works as expected both on first power-on and subsequent resets. (of course shutdown reboots board so LED blinks shortly instead of cycling 1 sec, that im aware of). Not sure, maybe there is some bug in RTC library? or LowPower should care about some additional stuff?
Verified on:
STM32L051C8T6 custom board, basically bare chip with minimum required R/C
STM32L053R8 nucleo-64
STM32F446RE nucleo-64
The text was updated successfully, but these errors were encountered: