Skip to content

fix: set CPU2 low power mode for STM32WBxx #87

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

Merged
merged 1 commit into from
Jan 10, 2023
Merged

Conversation

fpistm
Copy link
Member

@fpistm fpistm commented Jan 9, 2023

Fixes #85

Typically, action performed by CPU2 on a dual core application. Since this example is single core, perform it by CPU1.

On STM32WB, both CPU1 and CPU2 must be in low-power mode to set the entire System in low-power mode, corresponding to the deepest low-power mode possible.
For example, CPU1 in Stop2 mode and CPU2 in Shutdown mode will make system enter in Stop2 mode.

@fpistm fpistm added the enhancement New feature or request label Jan 9, 2023
@fpistm fpistm added this to the 12.3/1.3.0 milestone Jan 9, 2023
@fpistm fpistm mentioned this pull request Jan 9, 2023
@fpistm fpistm force-pushed the Wx_fix branch 2 times, most recently from 69d8f0d to 3067730 Compare January 9, 2023 16:44
@fpistm fpistm changed the title fix: set CPU2 low powermode for STM32WBxx and STM32WLxx fix: set CPU2 low power mode for STM32WBxx and STM32WLxx Jan 9, 2023
Fixes stm32duino#85

Typically, action performed by CPU2 on a dual core application.
Since this example is single core, perform it by CPU1.

On STM32WB, both CPU1 and CPU2 must be in low-power mode
to set the entire System in low-power mode, corresponding to
the deepest low-power mode possible.
For example, CPU1 in Stop2 mode and CPU2 in Shutdown mode
will make system enter in Stop2 mode.

Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
@fpistm fpistm changed the title fix: set CPU2 low power mode for STM32WBxx and STM32WLxx fix: set CPU2 low power mode for STM32WBxx Jan 10, 2023
@fpistm fpistm merged commit ee9a8e6 into stm32duino:main Jan 10, 2023
@fpistm fpistm deleted the Wx_fix branch January 23, 2023 09:35
@fpistm fpistm added the fix 🩹 Bug fix label Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request fix 🩹 Bug fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Serial port
1 participant