Skip to content

Commit

Permalink
mpsl: Enable dppichannel in dppic130 and dppic132
Browse files Browse the repository at this point in the history
Mpsl now needs to enable channels in the dppi controllers that it uses.
  • Loading branch information
martintv committed Dec 3, 2024
1 parent e2cfdfd commit 97a2ff6
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions subsys/mpsl/init/mpsl_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
#if IS_ENABLED(CONFIG_SOC_COMPATIBLE_NRF54LX)
#include <nrfx_power.h>
#endif
#if defined(CONFIG_NRFX_DPPI)
#include <nrfx_dppi.h>
#if defined(CONFIG_SOC_SERIES_NRF54HX)
#include <hal/nrf_dppi.h>
#endif
#if defined(CONFIG_MPSL_TRIGGER_IPC_TASK_ON_RTC_START)
#include <hal/nrf_ipc.h>
Expand Down Expand Up @@ -392,6 +392,10 @@ static int32_t mpsl_lib_init_internal(void)
memset(&clock_cfg, 0, sizeof(clock_cfg));
#endif

#if defined(CONFIG_SOC_SERIES_NRF54HX)
nrf_dppi_channels_enable(NRF_DPPIC130, DPPI_SINK_CHANNELS);
nrf_dppi_channels_enable(NRF_DPPIC132, DPPI_SOURCE_CHANNELS);
#endif
err = mpsl_init(&clock_cfg, CONFIG_MPSL_LOW_PRIO_IRQN, m_assert_handler);
if (err) {
return err;
Expand Down

0 comments on commit 97a2ff6

Please sign in to comment.