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

Direct Test Mode

Hi,

we have to program direct test mode software for our certification process of our device. What we did was: take the dtm example from Nordic SDK (v15.3.0) and programmed it to the device. Our certication lab gives us feedback that the mode does not work. It only gives the send data back (feedback loop). Is there anything we are doing wrong? Do we have to program something else to the device?

This is very urgend, so a quick answer would be very nice!!!

Kind regards

Sascha Schmidt

  • Hi,

    Have you set-up the UART correctly and are the lines isolated from the rest of the board?

    Your test house may just be seeing signal reflection rather than data response.

  • Hello,

    yes your right. I checked it with a logic analyzer. I now programmed the precompiled hex file from Nordic and tried it out with a demo board and a PC. Now the UART says nothing at all. I get no response to any command of the direct test mode. Am I right that the UART pins are on 5, 6, 7, 8 of the nRF52832 (I looked it up in the board-file of the board_pca10040.h)

    Kind regards and thanks for the support!!!

    Sascha Schmidt

  • Hi Sascha, 

    By default the pins are configures as follow: 

    #define RX_PIN_NUMBER 8
    #define TX_PIN_NUMBER 6
    #define CTS_PIN_NUMBER 7
    #define RTS_PIN_NUMBER 5

    Which demo board are you testing with ? Note that when you connect to PC you need a RS232/FTDI chip to interface with PC. 

    I would suggest you to test with the \examples\peripheral\uart to make sure UART works at it should. 

  • Hi,

    ok that verified my understanding of which pins of the chip are used, so thanks for that!! :) We have a FTDI chip to connect to the PC via USB. Is it necessary that the softdevice is programmed to the device, so that dtm works?

    We have a rigado demo board for thier BMD-350 module.

    Thanks in advance!!!!

    Kind regards

    Sascha Schmidt

  • No, you don't need a softdevice to be flashed on the board when using DTM. Softdevice should be erased. 

    Please make sure there is no bootloader on the module that may prevent running the DTM code. 

    Please test using UART example and try to debug. 

1 2 3