Bluetooth direct test mode doesnt work for custom board

Hi, I'm using a custom board with nrf52840, NCS version 2.3.0, zephyr 0.16.0

I'm trying to use the samples/bluetooth/direct_test_mode with the modified rx,tx pin information according to our cutomon board. 

I'm unable to estanblish the communication to the nrf desktop application for the direct test mode. 

I have seen several questions on this, and none of their solution works for me. 

The Desktop can see both the jlink and the USB/UART connections, but i cannot run any test. 

If i use jlink this is the error i'm getting this below given error.

if i use the usb/UART, i get this error

I'm not sure where the issue is, the sample i have tested both by copying into my own custom code, and on its own. I neither see any RTT message on the DTM, nor any serial communication. Any help would be much appreciated. 

Do i have to set anything specific for antenna as in nrf53xxx, in nrf52?

  • It dependes what you want to test really. it can be summarzied like this 

    The Radio Test Example demonstrates how to configure the radio as the constant RX or TX carrier, the modulated TX carrier, or the RX or TX sweep.

    While the DTM example is more advanced and its purpose is to test the operation of the radio at the physical level, such as:

    • Transmission power and receiver sensitivity
    • Frequency offset and drift
    • Modulation characteristics
    • Packet error rate
    • Intermodulation performance

     See Radio Test Example and Direct Test Mode example documentation

    So yes, the radio_test example is used for FCC and CE certification. The DTM example is primarly used for Bluetooth qualification , but can also be used for FCC/CE certification. 

    ref this thread

    I'm sorry but I keep mixes up a few cases. In this case you have a custom board with only one UART right and this goes through a Jlink? The uart pins looks fine from what I can see, and they are connect how to your computer?

    Also did you include this in your overlay? I could not see it from the image

    / {
    	chosen {
    		ncs,dtm-uart = &uart0;
    	};
    };

    The repones might be slow here since from end of word today until including Monday the 1. of April is public holidays here in Norway

    Regards

    Runar

  • With the NCS upgraded to 2.6.0, I'm able to  do the direct test mode on the nrf desktop application, with the custom board. 

  • Thats great to hear, best luck on further development

    Regards

    Runar

Related