Bit Error Rate (BER) measurement between an nRF52840DK board and a BC840E

I am using an nRF52840DK and a BC840E and need to perform a bit error rate test.
Is there an example that allows me to measure the Bit Error Rate (BER) between ke two boards or directly from the "radio test" application send a series of known bits (bytes) and then see which bits arrive right and which arrive wrong at the receiver?

Parents Reply Children
  • Hi Hakon,
    I thank you for your answer.


    I wanted to ask you how I can set the number of packets to be sent within the "start_tx_modulated_carrier" command. If you can, can you send me the documentation on the arguments you can give to the start_tx_modulated_carrier function and give me an example of the syntax for sending a predefined number of packets?

    Then I also wanted to tell you, that in order to calculate the BER I should have saved somewhere the bits that were sent and the bits that were received.
    The received bits I can see from serial by keeping the receiving card connected to the PC. But for the sent bits, how can I see them, and then be able to calculate the BER, as the number of erroneous bits between the transmitted and received bits?

    Thanks,

    Leonardo

  • Hi,

     

    Leonardo Balocchi said:
    I wanted to ask you how I can set the number of packets to be sent within the "start_tx_modulated_carrier" command. If you can, can you send me the documentation on the arguments you can give to the start_tx_modulated_carrier function and give me an example of the syntax for sending a predefined number of packets?

    You provide a number after the command.

    For instance: start_tx_modulated_carrier 1000

     

    Remember to setup the second device in RX before executing the above command.

    Leonardo Balocchi said:
    Then I also wanted to tell you, that in order to calculate the BER I should have saved somewhere the bits that were sent and the bits that were received.
    The received bits I can see from serial by keeping the receiving card connected to the PC. But for the sent bits, how can I see them, and then be able to calculate the BER, as the number of erroneous bits between the transmitted and received bits?

    Use the formula that I posted previously to calculate BER from PER.

    The default is to send with a full payload, ie. 255 bytes of user data (127 for 802.15.4). You'll need to manually add preamble, crc etc.

     

    Kind regards,

    Håkon

Related