Skip to content

cpu/stm32f7: add STOP and STANDBY low-power modes#11178

Closed
aabadie wants to merge 4 commits intoRIOT-OS:masterfrom
aabadie:cpu_stm32f7_pm
Closed

cpu/stm32f7: add STOP and STANDBY low-power modes#11178
aabadie wants to merge 4 commits intoRIOT-OS:masterfrom
aabadie:cpu_stm32f7_pm

Conversation

@aabadie
Copy link
Copy Markdown
Contributor

@aabadie aabadie commented Mar 14, 2019

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):

  • standby: ~7uA
  • stop: 2mA

Testing procedure

  • Build an flash tests/periph_pm on a nucleo-f746zg
  • Plug a multimeter on the IDD pins in Amper mode measurement
  • Switch to STANDBY mode:
> unblock 0
> unblock 1
> unblock_rtc 1 5

You should see a drop of consumption from 38mA to 7uA. After 5 seconds, the board reboots.

  • Switch to STOP mode:
> unblock 1
> unblock_rtc 1 5

You should see a drop of consumption from 38mA to 2mA

Issues/PRs references

Based on #11173 and #9521

@aabadie aabadie added Platform: ARM Platform: This PR/issue effects ARM-based platforms Type: new feature The issue requests / The PR implemements a new feature for RIOT CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Area: pm Area: (Low) power management labels Mar 14, 2019
@aabadie aabadie requested a review from vincent-d March 14, 2019 10:14
@aabadie aabadie added the State: waiting for other PR State: The PR requires another PR to be merged first label Mar 14, 2019
@aabadie
Copy link
Copy Markdown
Contributor Author

aabadie commented Mar 20, 2019

rebased (but waiting for #11173)

@aabadie
Copy link
Copy Markdown
Contributor Author

aabadie commented Mar 20, 2019

closing in favor of #11211.

@aabadie aabadie closed this Mar 20, 2019
@aabadie aabadie deleted the cpu_stm32f7_pm branch July 4, 2019 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: pm Area: (Low) power management CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Platform: ARM Platform: This PR/issue effects ARM-based platforms State: waiting for other PR State: The PR requires another PR to be merged first Type: new feature The issue requests / The PR implemements a new feature for RIOT

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant