Skip to content
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

CatenaStm32L0::Sleep uses STANDBY mode which would reboot system #150

Closed
terrillmoore opened this issue Apr 14, 2019 · 0 comments
Closed
Assignees
Labels

Comments

@terrillmoore
Copy link
Member

It would reboot the system, if we were using it correctly; you have to clear the WFE bit before requesting it, or it won't happen (instead you do a sleep, it appears, or you come right back, which doesn't seem to happen when testing with stm3l0_pwrtest.ino).

When we fix standby, we'll break this. We need to change to request Stop. Luckily, this is all inside the current platform code (no cross-library headaches) as long as we fix Stop before we add code to clear WFE.

@terrillmoore terrillmoore self-assigned this Apr 14, 2019
terrillmoore added a commit that referenced this issue Apr 15, 2019
Fix #150: switch timed Sleep() to use STOP mode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant