-
Notifications
You must be signed in to change notification settings - Fork 3k
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
STM32: add information in README for SLEEP feature #14670
Conversation
@jeromecoutant, thank you for your changes. |
targets/TARGET_STM/README.md
Outdated
|
||
ST MCUs feature several low-power modes, please check Reference Manual of each one for more details. | ||
|
||
- MBED sleep mode is usually mapped on ST SLEEP mode: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- MBED sleep mode is usually mapped on ST SLEEP mode: | |
- MBED sleep mode is usually mapped to ST SLEEP mode: |
targets/TARGET_STM/README.md
Outdated
- all peripherals can run and wake up the CPU when an interrupt or an event | ||
occurs | ||
|
||
- MBED deepsleep mode is mapped on ST STOP2 mode: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- MBED deepsleep mode is mapped on ST STOP2 mode: | |
- MBED deepsleep mode is mapped to ST STOP2 mode: |
targets/TARGET_STM/README.md
Outdated
- the LSI and the LSE can be kept running | ||
- RTC can remain active | ||
|
||
Reminder: related mbed-os is described there https://os.mbed.com/docs/mbed-os/latest/apis/power-management-sleep.html |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is rather a note or is it a reminider?
Detailed sleep Mbed OS description https://os.mbed.com/docs/mbed-os/latest/apis/power-management-sleep.html
aa72de0
to
afdc27a
Compare
@0xc0170 Thx for the review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
otherwise LGTM
Detailed sleep Mbed OS description : https://os.mbed.com/docs/mbed-os/latest/apis/power-management-sleep.html | ||
- debug profile is disabling deepsleep | ||
- deepsleep can also be disabled by application or drivers using sleep_manager_lock_deep_sleep() | ||
- deep-sleep-latency value is configured to 4 by default for STM32 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would it be worth documenting why 4 was selected here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This pull request has automatically been marked as stale because it has had no recent activity. , please complete review of the changes to move the PR forward. Thank you for your contributions. |
@adbridge let's merge this doc update ? |
CI started |
Summary of changes
Few high level information added in the STM32 read me file about sleep and deepsleep feature implementation.
Part of #14610
Impact of changes
Migration actions required
Documentation
Pull request type
Test results
Reviewers