NRF_ESB_EVENT_TX_FAILED

I use ESB to send data to a nrf24L(PRX) from nrf51422 (PTX) , data is recieved correctly in nrf24L but I always got a NRF_ESB_EVENT_TX_FAILED event in nrf51422.

the nrf24L is setup to use:

hal_nrf_enable_ack_payload(true); // Enable dynamic ack
hal_nrf_enable_dynamic_payload(true); // Enable dynamic payload
hal_nrf_setup_dynamic_payload(0xff); // pipe0,1 uses dynamic ack.
hal_nrf_enable_dynamic_ack(true); // Enable dynamic ack
hal_nrf_set_crc_mode(HAL_NRF_CRC_16BIT); // Operates in 16bits CRC mode
hal_nrf_set_auto_retr(15,500);//delay, 15 retransmits
hal_nrf_set_address_width(HAL_NRF_AW_5BYTES); // 5 bytes address width
hal_nrf_set_output_power(system_data.radio_power&3/*HAL_NRF_0DBM*/); //output power
hal_nrf_set_datarate(HAL_NRF_1MBPS); //on air data rate

and nrf51422

nrf_esb_config_t nrf_esb_config = NRF_ESB_LEGACY_CONFIG;
nrf_esb_config.retransmit_count = 15;
nrf_esb_config.retransmit_delay = 5000, \
nrf_esb_config.selective_auto_ack = false;
nrf_esb_config.protocol = NRF_ESB_PROTOCOL_ESB_DPL;
nrf_esb_config.bitrate = NRF_ESB_BITRATE_1MBPS;
nrf_esb_config.event_handler = nrf_esb_event_handler;
nrf_esb_config.mode = NRF_ESB_MODE_PTX;
nrf_esb_config.crc = NRF_ESB_CRC_16BIT;

Why do I got NRF_ESB_EVENT_TX_FAILED event?

Parents Reply Children
No Data
Related