51822 esb datarate 250kpbs cann't work!!

asked 2017-02-17 09:23:45 +0200

hungbui gravatar image

updated 2017-02-17 12:29:05 +0200

(void)nrf_esb_init(NRF_ESB_MODE_PRX);
        //nrf_esb_set_output_power(NRF_ESB_OUTPUT_POWER_0_DBM);
        nrf_esb_set_channel(18);//2400+18
nrf_esb_set_crc_length(NRF_ESB_CRC_LENGTH_2_BYTE);
nrf_esb_set_base_address_length(NRF_ESB_BASE_ADDRESS_LENGTH_4B);
        nrf_esb_set_address_prefix_byte(0,0x55);
        nrf_esb_set_base_address_0(0x3412BBAA);
        nrf_esb_set_datarate(NRF_ESB_DATARATE_250_KBPS);
(void)nrf_esb_enable();

when i set datarate NRF_ESB_DATARATE_1_MBPS or NRF_ESB_DATARATE_2_MBPS it was work,but when i set datarate NRF_ESB_DATARATE_250_KBPS it wasn't work,(Receiving and sending the same)

edit retag flag offensive close delete report spam

Comments

@liangjian : Could you let me know which SDK you use ? Have you tried to test with the prx, ptx example in the SDK ?

What was the retransmit_delay you have ?

Hung Bui ( 2017-02-17 13:02:45 +0200 )editconvert to answer

thanks ,retransmit_delay,i not set,

liangjian ( 2017-02-17 13:06:46 +0200 )editconvert to answer

Now the problem solved,thank you

liangjian ( 2017-02-17 13:07:50 +0200 )editconvert to answer