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

Direct test mode (DTM) on nRF52840 source code example

Hello !

I'm currently experimenting with the direct test mode for the nRF52840. I got it up and running with the nRF connect application.

I do however want to run it from SEGGER embedded studios (or any other IDE for that matter) so that I'm able to modify the channels, and channel sweeping in source code, and add
different modifications.

(It is possible for me to modify the the channels etc through the nrRF connect application, but I want to do it through the source code, so I can add more things.)

When I open the direct_test_mode example in <nrf_SDK_17.0.2d674dde>/examples/dtm/direct_test_mode and run it on my nRF52840 DK does it get stuck on the code and doesn't continue:

        if (app_uart_get(&rx_byte) != NRF_SUCCESS)   // <--- here
        {
            // Nothing read from the UART.
            continue;
        }

Where do I specify if the board should be the transceiver or receiver, where do I modify which channel it should transmit or receive on etc?

I have read the documentation about the direct test mode in the SDK doc and the "Setting up producation test using DTM" doc, but it doesn't give me much information about the matter.

BR
Mark

Parents Reply Children
No Data
Related