Skip to content

Commit 69135b9

Browse files
e-rkrlubos
authored andcommitted
mpsl: clock_ctrl: fire XO_TUNED on nRF54L SoC series
The MPSL executes the HFCLK callback when the clock is active and stable on nRF54L SoCs. This fact must be reflected in the parameter of the event_handlier, which should receive the NRFX_CLOCK_EVT_XO_TUNED value. Signed-off-by: Rafał Kuźnia <[email protected]>
1 parent 65a7139 commit 69135b9

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

drivers/mpsl/clock_control/nrfx_clock_mpsl.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,11 @@ static nrfx_clock_event_handler_t event_handler;
1212

1313
static void mpsl_hfclk_callback(void)
1414
{
15+
#if IS_ENABLED(CONFIG_SOC_SERIES_NRF54LX)
16+
event_handler(NRFX_CLOCK_EVT_XO_TUNED);
17+
#else
1518
event_handler(NRFX_CLOCK_EVT_HFCLK_STARTED);
19+
#endif
1620
}
1721

1822
void nrfx_clock_start(nrf_clock_domain_t domain)

west.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ manifest:
6565
# https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/guides/modules.html
6666
- name: zephyr
6767
repo-path: sdk-zephyr
68-
revision: 8dbca43a6a9d332c62457789780c569e907aa7f7
68+
revision: 36d6c196da011ff0f5bd00d89ac2e0fc5e4ae97d
6969
import:
7070
# In addition to the zephyr repository itself, NCS also
7171
# imports the contents of zephyr/west.yml at the above

0 commit comments

Comments
 (0)