Direct Test Mode over USB with nRF5340DK

Hi,

I'm trying to test DTM over USB CDC with an nRF5340DK unfortunately, Direct Test Mode desktop App is not detecting the DK.

Build command (copied from VSCode output)

I first run the DTM in UART mode with the DK and it worked as expected.

I also run the cdc_acm sample to confirm that the USB is working on the DK and it's working as expected.

I'm using a Mac(macOS Sequoia 15.3.2), nRF Connect SDK v2.6.0, Direct Test mode app v2.4.2

Can you please help me?

Best regards,

Mehdi

Parents Reply Children
  • Hi,

    I followed the same instructions but it's not working on my side. I'm not able to see the USB serial device of the nRF5340DK

    Can you please advise on how to debug?

    Best regards,

    Mehdi

  • Do you also connect the nRF USB port (J3) to the PC? Also, make sure the USB cable can work and transmit data. 

  • Yes I connected the nRF USB port. And my USB cable is good. I flashed my DK with the cdc_acm sample and I was able to see the USB serial device.

  • I'm using a Mac(macOS Sequoia 15.3.2), nRF Connect SDK v2.6.0, Direct Test mode app v2.4.2

    Please try NCS v.2.9.1.

  • Thank you for you help. with NCS v2.9.1 it works.
    And I found out why it didn't work with NCS v2.6.0, to activate USB mode in v2.6.0 the command Is different than in  v2.9.1. The correct command is the following.

    -DCONFIG_DTM_USB=y