-
Notifications
You must be signed in to change notification settings - Fork 1.4k
doc: Updated nRF54H20 PM optimization guide #25445
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
base: main
Are you sure you want to change the base?
Conversation
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.
Pull Request Overview
This PR enhances the nRF54H20 power management optimization guide by adding comprehensive technical documentation about the device's power management architecture and optimization strategies.
Key changes:
- Added detailed explanation of logical domains, power domains, and the locality principle
- Documented peripheral access strategies, DMA constraints, and system-off entry prerequisites
- Included practical integration guidelines and optimization checklists
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
doc/nrf/app_dev/device_guides/nrf54h/ug_nrf54h20_pm_optimization.rst
Outdated
Show resolved
Hide resolved
doc/nrf/app_dev/device_guides/nrf54h/ug_nrf54h20_pm_optimization.rst
Outdated
Show resolved
Hide resolved
CI InformationTo view the history of this post, click the 'edited' button above Inputs:Sources:sdk-nrf: PR head: 724649aa4ab6ebefe15fe16c2fd584bfa12ede6a more detailssdk-nrf:
Github labels
List of changed files detected by CI (2)Outputs:ToolchainVersion: Test Spec & Results: ✅ Success; ❌ Failure; 🟠 Queued; 🟡 Progress; ◻️ Skipped;
|
|
You can find the documentation preview for this PR here. Preview links for modified nRF Connect SDK documents: https://ncsdoc.z6.web.core.windows.net/PR-25445/nrf/app_dev/device_guides/nrf54h/ug_nrf54h20_pm_optimization.html |
14ca9f8 to
2d6f923
Compare
2d6f923 to
b4631a7
Compare
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.
Pull Request Overview
Copilot reviewed 1 out of 1 changed files in this pull request and generated 3 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
doc/nrf/app_dev/device_guides/nrf54h/ug_nrf54h20_pm_optimization.rst
Outdated
Show resolved
Hide resolved
doc/nrf/app_dev/device_guides/nrf54h/ug_nrf54h20_pm_optimization.rst
Outdated
Show resolved
Hide resolved
doc/nrf/app_dev/device_guides/nrf54h/ug_nrf54h20_pm_optimization.rst
Outdated
Show resolved
Hide resolved
b4631a7 to
522688b
Compare
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.
Pull request overview
Copilot reviewed 1 out of 1 changed files in this pull request and generated 2 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
doc/nrf/app_dev/device_guides/nrf54h/ug_nrf54h20_pm_optimization.rst
Outdated
Show resolved
Hide resolved
b7436ed to
50248ca
Compare
| @@ -353,32 +353,62 @@ When choosing between single-core and dual-core architectures (using either the | |||
| return 0; | |||
| } | |||
|
|
|||
| Deep-sleep policy | |||
| ================= | |||
| Disabling power management | |||
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.
@bjarki-andreasen @nordic-krch Need input
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.
Splitting this into a new PR
doc/nrf/app_dev/device_guides/nrf54h/ug_nrf54h20_pm_optimization.rst
Outdated
Show resolved
Hide resolved
doc/nrf/app_dev/device_guides/nrf54h/ug_nrf54h20_pm_optimization.rst
Outdated
Show resolved
Hide resolved
doc/nrf/app_dev/device_guides/nrf54h/ug_nrf54h20_pm_optimization.rst
Outdated
Show resolved
Hide resolved
doc/nrf/app_dev/device_guides/nrf54h/ug_nrf54h20_pm_optimization.rst
Outdated
Show resolved
Hide resolved
doc/nrf/app_dev/device_guides/nrf54h/ug_nrf54h20_pm_optimization.rst
Outdated
Show resolved
Hide resolved
doc/nrf/app_dev/device_guides/nrf54h/ug_nrf54h20_pm_optimization.rst
Outdated
Show resolved
Hide resolved
doc/nrf/app_dev/device_guides/nrf54h/ug_nrf54h20_pm_optimization.rst
Outdated
Show resolved
Hide resolved
doc/nrf/app_dev/device_guides/nrf54h/ug_nrf54h20_pm_optimization.rst
Outdated
Show resolved
Hide resolved
pizi-nordic
left a comment
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 looks good. I have mostly pointed minor things, which IMHO makes text more clear.
Part about DMA and MRAM interaction needs to be changed, as suggested usage of MRAM in DMA transaction sounds strange. See relevant comment for details.
| The :c:func:`pm_policy_latency_request_add`, :c:func:`pm_policy_latency_request_update`, and :c:func:`pm_policy_latency_request_remove` functions allow you to set a maximum latency requirement. | ||
| The system will not enter any power state that would cause the wake-up latency to exceed the specified value. | ||
|
|
||
| Setting a latency of ``0`` microseconds effectively disables all power management, as no power state can meet a zero-latency requirement. |
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.
nrfconnect/sdk-zephyr#3542 adds functionality that allows locking all power states in a much faster way. To lock all power states pm_policy_state_all_lock_get() is used and pm_policy_state_all_lock_put() to unlock. It has reference counter so lock is released when last user releases the lock.
Locking all states with this API overcomes a PM specific locking so if full lock is taken unlocking a specific state will keep it locked until full lock is released.
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.
Ok, I'll clarify this later on, for now I'm separating PM disabling edits from the rest of the PR
50248ca to
7cba226
Compare
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.
Pull request overview
Copilot reviewed 1 out of 1 changed files in this pull request and generated 6 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
doc/nrf/app_dev/device_guides/nrf54h/ug_nrf54h20_pm_optimization.rst
Outdated
Show resolved
Hide resolved
doc/nrf/app_dev/device_guides/nrf54h/ug_nrf54h20_pm_optimization.rst
Outdated
Show resolved
Hide resolved
doc/nrf/app_dev/device_guides/nrf54h/ug_nrf54h20_pm_optimization.rst
Outdated
Show resolved
Hide resolved
doc/nrf/app_dev/device_guides/nrf54h/ug_nrf54h20_pm_optimization.rst
Outdated
Show resolved
Hide resolved
doc/nrf/app_dev/device_guides/nrf54h/ug_nrf54h20_pm_optimization.rst
Outdated
Show resolved
Hide resolved
doc/nrf/app_dev/device_guides/nrf54h/ug_nrf54h20_pm_optimization.rst
Outdated
Show resolved
Hide resolved
7cba226 to
67df456
Compare
67df456 to
7abee32
Compare
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.
Pull request overview
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
doc/nrf/releases_and_maturity/releases/release-notes-changelog.rst
Outdated
Show resolved
Hide resolved
doc/nrf/app_dev/device_guides/nrf54h/ug_nrf54h20_pm_optimization.rst
Outdated
Show resolved
Hide resolved
Updated nRF54H20 PM optimization guide. Signed-off-by: Francesco Domenico Servidio <[email protected]>
7abee32 to
724649a
Compare
Updated nRF54H20 PM optimization guide.