[Backport v4.4-branch] ST: STM32WB09: Fix PM issues#107999
Open
github-actions[bot] wants to merge 7 commits intov4.4-branchfrom
Open
[Backport v4.4-branch] ST: STM32WB09: Fix PM issues#107999github-actions[bot] wants to merge 7 commits intov4.4-branchfrom
github-actions[bot] wants to merge 7 commits intov4.4-branchfrom
Conversation
Bypass acquiring RNG when it is already acquired. Signed-off-by: Ali Hozhabri <ali.hozhabri@st.com> (cherry picked from commit ba7a20a)
Avoid entering low power mode while waiting for an event to be generated by TRNG interrupt when CONFIG_PM_S2RAM is set. Signed-off-by: Ali Hozhabri <ali.hozhabri@st.com> (cherry picked from commit 59ccf80)
…WB09 Handle repetition and adaptive health test errors for STM32WB09 properly. Resetting Health error flags is not enough. See also RM0505 §14.7.11 Signed-off-by: Ali Hozhabri <ali.hozhabri@st.com> (cherry picked from commit a2d7019)
Calculate the future time correctly to avoid negative value for "value_ms". Register the pm_policy_event when HAL_RADIO_TIMER_SetRadioTimerValue returns success. Signed-off-by: Ali Hozhabri <ali.hozhabri@st.com> (cherry picked from commit 2e933d3)
Increase the minimum residency value to 1.5ms since the minimum threshold is 1070us and depends on max-hs-startup-time (default value: 780us). Therefore, a safe margin is 1500us to support other values for max-hs-startup-time. Signed-off-by: Ali Hozhabri <ali.hozhabri@st.com> (cherry picked from commit 418c5d6)
Check the stability of HSE before restarting the execution. Signed-off-by: Ali Hozhabri <ali.hozhabri@st.com> (cherry picked from commit bc469ea)
Update west.yml to point to the recent changes for hal_stm32. Signed-off-by: Ali Hozhabri <ali.hozhabri@st.com> (cherry picked from commit a3ce633)
Author
|
The following west manifest projects have changed revision in this Pull Request:
✅ All manifest checks OK Note: This message is automatically posted and updated by the Manifest GitHub Action. |
|
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.



Backport a3ce633~7..a3ce633 from #107047.
Original PR description:
Fix the issues related to preventing
suspend-to-ramstate:pm_policy_event_registercorrectly to avoid negative value when the system timer goes beyond 32-bit range.max-hs-startup-time(default value: 780us). Therefore, a safe margin is 1500us to support other values formax-hs-startup-time.Supplementary PR: #361