cpu/stm32f7: add STOP and STANDBY low-power modes#11178
Closed
aabadie wants to merge 4 commits intoRIOT-OS:masterfrom
Closed
cpu/stm32f7: add STOP and STANDBY low-power modes#11178aabadie wants to merge 4 commits intoRIOT-OS:masterfrom
aabadie wants to merge 4 commits intoRIOT-OS:masterfrom
Conversation
Contributor
Author
|
rebased (but waiting for #11173) |
Contributor
Author
|
closing in favor of #11211. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Contribution description
This PR adds STOP and STANDBY low-power modes for stm32f7 and is based on #9521 and #11173 for simplicity.
I tested it on nucleo-f746zg and got good results (looks valid compared with datasheet):
Testing procedure
tests/periph_pmon a nucleo-f746zgYou should see a drop of consumption from 38mA to 7uA. After 5 seconds, the board reboots.
You should see a drop of consumption from 38mA to 2mA
Issues/PRs references
Based on #11173 and #9521