-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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
samples: boards: stm32 power_mgt stdby and shutdown #79548
base: main
Are you sure you want to change the base?
Conversation
66024c7
to
9fa64e2
Compare
Running the samples/boards/st/power_mgmt/standby_shutdown/ on the samples/boards/st/power_mgmt/standby_shutdown/
Is not possible automatically as the test is waiting for user button pressed
or
|
Polarity low is wrong : wakeup pin 2 is active low so the wakeup must be detected on the rising edge This is the default wakeup pin2 config. Apply the recommended sequence to enter low power standby Signed-off-by: Francois Ramu <[email protected]>
After flashing the board, the reset pin and the software reset are detected as reset cause by the device Put this in the sample to match the rule Signed-off-by: Francois Ramu <[email protected]>
sample tested with disco_l475_iot1
|
a01c4dc
to
2b02e7b
Compare
samples/boards/st/power_mgmt/standby_shutdown/boards/disco_l475_iot1.conf
Outdated
Show resolved
Hide resolved
This PR is changing the method to use the user button to be the wakeup source to exit from lower power mode Signed-off-by: Francois Ramu <[email protected]>
@FRASTM Yes, but only when
which guards the polarity cfg code zephyr/soc/st/stm32/common/stm32_wkup_pins.c Line 196 in 03959a2
|
@JarmouniA , I do not catch, Could you please detail your request |
Add the wakeUp pins selection on its GPIO for all the stm32l4xx devices Change if needed (see the corresponding datasheet/RefMan) Signed-off-by: Francois Ramu <[email protected]>
Ping @JarmouniA |
I think my comment was clear, I don't see how I can clarify it further. |
Polarity low is wrong : wakeup pin 2 is active low
so the wakeup must be detected on the rising edge
This is the default wakeup pin2 config.
Apply the recommended sequence to enter low power standby
Fixes #79451