mpsl: unify CONSTLAT/low-power hooks; add NVM low-latency handling#27670
Conversation
CI InformationTo view the history of this post, click the 'edited' button above Inputs:Sources:sdk-nrf: PR head: 743721128907f4fd7a33c1f94b9511ed94066faf more detailssdk-nrf:
Github labels
List of changed files detected by CI (1)Outputs:ToolchainVersion: 911f4c5c26 Test Spec & Results: ✅ Success; ❌ Failure; 🟠 Queued; 🟡 Progress; ◻️ Skipped;
|
f0da8f5 to
eb47e42
Compare
|
Temporarily removed build assert:
It will be added in separate PR when the MPLS libraries are updated. |
a466da0 to
ba57728
Compare
|
ba57728 to
2ed6523
Compare
2ed6523 to
4a97e3b
Compare
4a97e3b to
b5bd20c
Compare
| LOG_ERR("NVM low latency request has failed (%d)", err); | ||
| } | ||
| #else | ||
| nrf_power_task_trigger(NRF_POWER, NRF_POWER_TASK_CONSTLAT); |
There was a problem hiding this comment.
Here we should handle the case where CONFIG_NRF_SYS_EVENT is not enabled, but where NRFX_POWER is enabled. That is, call nrfx_power_constlat_mode_request()
b5bd20c to
fa79255
Compare
ffb963f to
d8d72d7
Compare
d8d72d7 to
820cb13
Compare
The `mpsl_constlat_request_callback` and `mpsl_lowpower_request- _callback` will be replaced with a single low-latency acquire/release API. The new API is added in this commit. The former one will be removed in followin commit when the modified MPSL library is available in nrfxlib. The MPSL library expects implementations of the new public functions handle acquire/release of low-latency mode on the NVM controller. The integration layer supplies this for all MPSL users in the SDK. The implementation allows to control the NVM latency by nrf_sys_event subsystem. For that an application has the select the NRF_SYS_EVENT KConfig. As of now the new API and NVM latency control is required for nRF54Lxx SoCs. Signed-off-by: Piotr Pryga <piotr.pryga@nordicsemi.no>
820cb13 to
7437211
Compare
Replace
mpsl_constlat_request_callbackandmpsl_lowpower_request- _callbackwith a single low-latency acquire/release API.The MPSL library expects implementations of the new public functions
handle acquire/release of low-latency mode on the NVM controller.
The integration layer supplies this for all MPSL users in the SDK.
The implementation allows to control the NVM latency by nrf_sys_event
subsystem. For that an application has the select the NRF_SYS_EVENT
KConfig.
As of now the new API and NVM latency control is required for
nRF54Lxx SoCs.