This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DTM (via nRF Connect) using a custom board

How is it possible to run a DTM Test on a custom board using the nRF Connect Tool?

I am able to run it successfully with 2 DK boards, but I need to run it on my custom PCB (fitted with an nRF52840).

Notes:

  • The DTM example in the SDK 17.1 (nRF5_SDK_17.1.0_ddde560\examples\dtm\direct_test_mode\pca10056) seems not even to work on the DK (I always get "Can not communicate with the device")!
  • The DTM firmware source code provided on https://github.com/NordicSemiconductor/pc-nrfconnect-dtm does not build with the latest SDK (17.1).
  • I was able to compile it using an older SDK (15.3) and it works with the latest DTM Tool and a DK board.
  • How ever I need to run it on my own HW. Either through a SEGGER J-Link or UART (FTDI).
Parents
  • Hi,

     

    How is it possible to run a DTM Test on a custom board using the nRF Connect Tool?

    I am able to run it successfully with 2 DK boards, but I need to run it on my custom PCB (fitted with an nRF52840).

    Yes, you can use the nRF Connect for desktop "Direct test mode" PC application with any device that supports 2-wire DTM.

     

    By default, the uart rxd and txd is P0.08 and P0.06, so if you use other GPIOs for your uart output, you'll need to change this mapping in the direct_test_mode firmware.

     

    Kind regards,

    Håkon

  • Thanks for the quick reply!

    I tried already to use the 2-wire UART. It is connect to the PC via an FTDI-usb-cable. The nRF Connect for desktop "Direct test mode" PC application does see it, how ever I always get the "Can not communicate with the device" error when I try to start the test.

    Is the dtm firmware example (https://github.com/NordicSemiconductor/pc-nrfconnect-dtm/tree/master/firmware/src ) able to work with 2-wire UART? I confirmed that the RX/TX lines are mapped correctly, also I disabled the HW Flow Control (CtS/RTS) lines:

    #define HWFC           false

  • Hi,

     

    Which GPIOs are you using? Note that some GPIOs are not available by default, like the NFC pins (P0.09 and P0.10).

     

    Kind regards,

    Håkon

Reply Children
Related