Test mode

Hi 

We are currently in the midst of our production process and are utilizing a microcontroller that communicates with a BLE chip.
As part of our quality assurance, we aim to test the Tx mode and the Rx sensitivity using UART.

To proceed with this, we require guidance on the specific commands that need to be sent to the BLE chip to initiate the test mode.
Could you please provide us with the following information:

  • The exact commands to send from the MCU to the BLE to start the Tx and Rx tests.
  • The pattern of data that should be transmitted for the Tx test.
  • The methodology for measuring Rx sensitivity.
Parents Reply
  • Hi 
    Thank you for the assistance with the BLE Direct Test Mode setup.
    I have successfully tested the configuration using the Direct Test Mode app to better understand the requirements.
    However, there is one aspect that remains unclear and not fully detailed in the documentation: the calculation of Packet Error Rate and how the RX synchronizes with the TX during the test.
    How can i test the PER during the DTM mode 
    What RX Tx synchronizes shouyld be 
      

Children
  • Hi

    You need two instances of DTM for this. Set one device as receiver and one as transmitter. Same datarate and channel for both. Packet type PRBS9 (TS only).

    Press start test on the RX side. On the TX side, set the timeout to a few seconds. Press start test and wait for it to finish

    When you stop the test on the RX side, it will report the number of packets it has received. You can adjust the timeout on the TX side untill you have for instance 1500 packets received. 

    This is how the Bluetooth tested does as well. The DUT will just report  the number of packets it has received between test start and stop. The tester calculates the PER based on the number of sent and received packets. 

    There's an old app note with some python script here: https://infocenter.nordicsemi.com/topic/struct_appnotes/struct/appnotes_nan34.html that you may be able to use with some tweaking.

    Cheers,

    Ketil

Related