ESB communication Ack control

Hi,

I want to use a LNA for make our sensitivity better, Then i should to put a RF switch and have a control in sending and receiving, because when the device is in receiving mode , must be the LNA track active and when the device is in sending mode, the free track without LNA by RF switch will be active. The problem is, after receiving, NRF send back automatically an Ack, I want to have control in ack sending. because before sending i have to change the RF root with RF switch. In follow, you can see my setting.

nrf_esb_config.protocol = NRF_ESB_PROTOCOL_ESB;
nrf_esb_config.event_handler = nrf_esb_event_handler;
nrf_esb_config.crc = NRF_ESB_CRC_8BIT;
nrf_esb_config.bitrate = NRF_ESB_BITRATE_1MBPS;

nrf_esb_config.mode = NRF_ESB_MODE_PRX;

nrf_esb_config.tx_output_power = NRF_ESB_TX_POWER_0DBM;

nrf_esb_config.retransmit_delay = 600;

nrf_esb_config.retransmit_count = 3;

nrf_esb_config.tx_mode = NRF_ESB_TXMODE_AUTO;

nrf_esb_config.radio_irq_priority = 2;

nrf_esb_config.event_irq_priority = 1;

nrf_esb_config.payload_length = 16;

nrf_esb_config.selective_auto_ack = true;

thanks.

Best regard,

Ali

Parents Reply Children
Related