Testing with a computer

If you have another nRF5340 Preview Development Kit (PDK), you can test your application with nRF Connect for Desktop. nRF Connect for Desktop is available for Windows, Linux, and macOS.

Note: This method requires an nRF5340 PDK to be connected to your computer.
The following procedure assumes that you have programmed the ble_app_uart example from the nRF Connect SDK. Steps for testing other examples are similar.
  1. Download and install nRF Connect for Desktop.
  2. Connect the second PDK to a USB port of your computer.
  3. Connect to the board that runs the ble_app_uart example via CDC-UART.
  4. Open nRF Connect for Desktop and add the Bluetooth® Low Energy app.
  5. Launch the Bluetooth Low Energy app.
  6. Select the serial port for the PDK that is connected to your computer (not the board that runs the ble_app_uart example).
    If the device has not been used with the nRF Connect Bluetooth Low Energy app before, you may be asked to update the J-Link firmware and connectivity firmware for the device. You need to have the correct connectivity firmware on the nRF SoC to continue. When the nRF SoC has been programmed with the correct firmware, the nRF Connect Bluetooth Low Energy app proceeds to connect to it over USB. When the connection is established, the device appears in the main view.
  7. Click Start scan.
  8. Find the device and click Connect.
    The default device name for the ble_app_uart example is "Nordic_UART_Service".
  9. Select the Universal Asynchronous Receiver/Transmitter (UART) RX characteristic value.
  10. Write 30 31 32 33 34 35 36 37 38 39 (the hexadecimal value for the string "0123456789") and click write.
    The text "0123456789" is displayed in the terminal that is connected to the board via UART.
  11. Enter any text, for example, Hello, in the terminal.
    In nRF Connect, the UART TX characteristic value changes to the corresponding ASCII value. For example, for Hello, the value is 48 65 6C 6C 6F.