This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Can I use direct test mode for nRF51422/51822, without the mother board?

I want to run the Direct Test Mode for nRF51422 on my board, I'm trying to use the nRFgo Studio. When I'm trying to connect to the specific COM port, I get the following message: "Could not open the selected COM port. Aborting" Is it possible to use the nRFgo Studio to test my board?

Thanks

  • @Eli: No, you don't need the motherboard for this purpose. The DTM protocol use the standard Direct Test Mode over UART protocol as define in the Bluetooth core spec v4.2 at Part F volume 6.

    Have you make sure the COM port you selected is the port that connect to your board. Also you would need to program the direct_test_mode project as the firmware on your board, and modify the UART pin to match with the implementation on your board.

    Note that softdevice is not needed for DTM.

  • Yes I'm sure about the COM port. And yes the DTM firmware was flashed to the chip. The problem is that the nRF Studio doesn't like the COM port. I'm using XR21B1411 USB2UART bridge. I can find the COM port in the nRF studio but can't connect to it. I tried to create a virtual COM port using COM0COM software and connect the nRF studio, it works and I can see the commands. But I need nRF studio be connected to my board.

  • I would suggest you test and make sure the COM Port worked properly. You can try the example in \examples\peripheral\uart.

    If you want to use DTM on nRF51, the nRFGo studio is not really needed. You can either use any UART terminal to send the commands. Or you can simply modify the code of the DTM project to execute the test that you want. It should be pretty straight forward.

Related