-
Notifications
You must be signed in to change notification settings - Fork 770
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
STM32U5: Wake-Up event after ~30s sleep #3499
Comments
I guess the issue lies here:
|
With:
Obviously, 1_000_000 * 8_388 = 8_388_000_000 is an u32 overflow. |
Right now the RTC is required for the time driver as far as I understand. I'm currently not able to reproduce your error. Could you please share your Cargo.toml with me. Especially the tick-hz- feature of embassy-time. The only thing I didn't do exactly as in your example is the timeout task. I'm keeping that in because it is always a hassle to flash the MCU when it is always going into Stop2. |
Thanks for trying. Here is my Cargo.toml, with embassy being on commit
|
Currently testing the new low-power feature for the STM32U5(45RETxQ) (#3496).
When going directly to sleep (without a time set), the device wakes-up after ~30s of sleep (probably due to Overflow IRQ):
Code to reproduce:
Two more questions:
MIN_STOP_PAUSE
to 250ms? To me this seems waaay longer than needed?The text was updated successfully, but these errors were encountered: