nrf52840dk Shockburst Performance

I have two 52840's PTX/RTX and I am only getting 120m range, direct line of sight, which is much lower than I expected. I made minimal changes to the ESB sample code. Is there something I am missing or is 120m the best I should expect?

   
struct esb_config config = ESB_DEFAULT_CONFIG;

    config.protocol = ESB_PROTOCOL_ESB_DPL;
    config.retransmit_delay = 600;
    config.bitrate = ESB_BITRATE_1MBPS;
    config.event_handler = ptx_event_handler;
    config.mode = ESB_MODE_PTX;
    config.selective_auto_ack = true;

    config.retransmit_count = 10;
   
    config.payload_length = CONFIG_ESB_MAX_PAYLOAD_LENGTH; // CONFIG_ESB_MAX_PAYLOAD_LENGTH = 64
    config.use_fast_ramp_up = false;

    // config.tx_output_power = 0;
    config.tx_output_power = RADIO_TXPOWER_TXPOWER_Pos8dBm;

    esb_enable_pipes(8);
    esb_set_rf_channel(40);

    tx_payload.pipe = 0;
  • Hi,

    120 meters in a open area (a field for instance, with no interference), or in a city environment (like a street)?

    For an open field, with no interference, 120 meter sounds a bit low, but your payload is also 64 bytes. You could see if reducing the payload length can help.

    Are you using nRF52840-DK's when testing?

     

    There will be a bit better performance if you use "ESB_BITRATE_1MBPS_BLE", as the RX sensitivity is better in the "BLE" data rate mode.

     

    Kind regards,

    Håkon

Related