Skip to content

UI based test

Eugene edited this page Jul 25, 2024 · 9 revisions

How to

Preparation

  • Target Board that wired 4lines(UART Tx/Rx lines, VCC, GND)
  • Serial converter (USB to UART)
  • Tester device (Spectrum analyzer or BLE RF Test equipment or nRF52 device)
    • If you use the nRF5x development kit, recommend the nRF52833-DK which supports full features
    • The BLE RF test equipment here used TC-3000C, MTP300A of TESCOM

Firmware

  1. Download SDK (NCS or nRF5 SDK)
  2. Open the DTM example
  3. Change the UART lines for the target device (In the case of nRF5 devices, no need to change it)
  4. Build and Flash the firmware
  • If you want to get the average RSSI value during the receiver test, you need to implement the relevant source code

Test

  1. Connect the UART wires between the Serial converter and the target device

  2. Connect the serial converter to the PC

  3. Open the nRF DTM tool

    image-20210915130217979

  4. Select the COM port and the baud rate for the serial converter

    • The default baudrate is 19200bps.
  5. Configure the settings that you want to test (Transmitter/Receiver/Channel/Tx Power/Length/Model/Datarate/...)

    • To use Link-Layer Channels, you need to enable the Link channel mode

      image-20210915114645660

  6. Configure the run-time

  7. Start the DTM test by clicking the START button

Test with Receiver(DK)

image-20210915125821565

RECEIVER

  1. Connect the nRF5x development kit to a PC
  2. Open the nRF DTM tool that setting with Receiver mode
  3. Set the same channel and data rate that configured on the Transmitter
  4. Start the nRF DTM

Test with RSSI viewer

image-20210915125919019

RSSI Viewer

  1. Connect the nRF5x development kit(or Target device) to a PC
  2. Open the RSSI Viewer of nRF Connect for Desktop
  3. Select the connected DK (if you didn't flash the firmware for the RSSI viewer then it will ask you to flash the firmware)
  4. Start the RSSI viewer

Test with RF test instruments

image-20210915130102731

Tester

  1. Connect the target device to the RF test instrument through an RF cable
  2. Connect serial lines through "USB to UART" device
  3. Configure the serial mode with 2-wire (or USB to 2-wire)
  4. Start test on the instrument

MTP300A TC-3000C

Getting started


Simple Test


Firmware Modification for RSSI


AoA Tx test result

Clone this wiki locally