Hi
I have a question regardin why nRF54L15 cannot use the automatic mpsl power split?
If I want to use ESB + nRF21540 with automatic TXP control, what should I do?
#if !(defined(CONFIG_SOC_SERIES_NRF54H) || defined(CONFIG_SOC_SERIES_NRF54L))
int32_t err;
mpsl_tx_power_split_t tx_power;
(void)mpsl_fem_tx_power_split(esb_cfg.tx_output_power, &tx_power,
convert_bitrate_to_mpsl_phy(esb_cfg.bitrate),
(RADIO_BASE_FREQUENCY + esb_addr.rf_channel), false);
err = mpsl_fem_pa_power_control_set(tx_power.fem_pa_power_control);
if (err) {
/* Should not happen. */
__ASSERT_NO_MSG(false);
}
#ifdef NRF53_SERIES
bool high_voltage = false;
if (tx_power.radio_tx_power > 0) {
high_voltage = true;
tx_power.radio_tx_power -= NRF5340_HIGH_VOLTAGE_GAIN;
}
nrf_vreqctrl_radio_high_voltage_set(NRF_VREQCTRL_NS, high_voltage);
#endif /* NRF53_SERIES */
nrf_radio_txpower_set(NRF_RADIO, tx_power.radio_tx_power);
#else
nrf_radio_txpower_set(NRF_RADIO, dbm_to_nrf_radio_txpower(esb_cfg.tx_output_power));
#endif /* !(defined(CONFIG_SOC_SERIES_NRF54H) || defined(CONFIG_SOC_SERIES_NRF54L)) */