Bluetooth: Controller: Fix regression in Code PHY S2 Rx to any PHY Tx

Fix regression in Coded PHY S2 reception to any other PHY Tx
in the s/w switch implementation.

Regression in commit 55b7dba8ec ("Bluetooth: Controller:
Refactor sw_switch hal interface use").

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
This commit is contained in:
Vinayak Kariappa Chettimada 2025-01-20 21:15:19 +01:00 committed by Benjamin Cabé
parent cd361c35be
commit 7573ac521d
2 changed files with 3 additions and 2 deletions

View file

@ -559,7 +559,7 @@ static inline void hal_radio_sw_switch_coded_tx_config_set(uint8_t ppi_en,
HAL_SW_SWITCH_TIMER_S8_DISABLE_PPI_REGISTER_EVT =
HAL_SW_SWITCH_TIMER_S8_DISABLE_PPI_EVT;
nrf_timer_subscribe_set(SW_SWITCH_TIMER,
nrf_timer_capture_task_get(cc_s2),
nrf_timer_capture_task_get(SW_SWITCH_TIMER_EVTS_COMP(group_index)),
HAL_SW_SWITCH_TIMER_S8_DISABLE_PPI);
nrf_dppi_channels_enable(NRF_DPPIC,

View file

@ -517,7 +517,8 @@ static inline void hal_radio_sw_switch_coded_tx_config_set(uint8_t ppi_en,
nrf_ppi_event_endpoint_setup(NRF_PPI, HAL_SW_SWITCH_TIMER_S8_DISABLE_PPI,
HAL_SW_SWITCH_TIMER_S8_DISABLE_PPI_EVT);
nrf_ppi_task_endpoint_setup(NRF_PPI, HAL_SW_SWITCH_TIMER_S8_DISABLE_PPI,
HAL_SW_SWITCH_TIMER_S8_DISABLE_PPI_TASK(cc_s2));
HAL_SW_SWITCH_TIMER_S8_DISABLE_PPI_TASK(
SW_SWITCH_TIMER_EVTS_COMP(group_index)));
nrf_ppi_channels_enable(
NRF_PPI,