nimble/phy/nrf5x: Fix tx-tx transition timing

Need to adjust start time by ramp up time.
This commit is contained in:
Andrzej Kaczmarek
2022-10-05 00:46:44 +02:00
parent 266e81d2d3
commit 0414740226
+2 -1
View File
@@ -1097,7 +1097,8 @@ ble_phy_tx_end_isr(void)
/* Adjust for delay between EVENT_READY and actual TX start time */
tx_time -= g_ble_phy_t_txdelay[g_ble_phy_data.phy_cur_phy_mode];
nrf_timer_cc_set(NRF_TIMER0, 0, tx_time);
radio_time = tx_time - BLE_PHY_T_TXENFAST;
nrf_timer_cc_set(NRF_TIMER0, 0, radio_time);
NRF_TIMER0->EVENTS_COMPARE[0] = 0;
phy_ppi_timer0_compare0_to_radio_txen_enable();