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

When use the sample code of direct_test_mode, the nRF 51DK cannot work in DTM mode

  1. Open the nRFgo Studio and connect PCA10028 (NRF 51DK Board) then Erase all data

  2. Open the uVision V5.18a

  3. Open the DTM project file of the example in the following path, then Build code (F7) by the default(no change any code) : \examples\dtm\direct_test_mode\pca10028\s130\arm5_no_packs\direct_test_mode_s130_pca10028.uvprojx

  4. After Code build successful, Press "Download" button to download to PCA10028 (NRF 51DK Board) turn off switch and unplug the USB cable, then connect to the Anritsu MT8852B Bluetooth Tester via RS232 to TTL adaper.

  5. Switch the EUT interface to 2wire from Anritsu MT8852B

  6. The Anritsu MT8852B can not communicate with this NRF 51DK Board.

Am I missing some step?

Parents
  • Hi,

    The steps are correct.

    You can double check that RX/TX are correct (correct pins are used, and not interchanged).

    You can check that the DTM works on the board using nRFgo Studio. Instead of unplugging the USB cable you can use the Direct Test Mode feature of nRFgo Studio to start a test with a constant carrier on a given channel, and then you can see if the board does that by either using a spectrum analyzer (looking for the carrier) or by measuring the power consumption.

    Regards, Terje

Reply
  • Hi,

    The steps are correct.

    You can double check that RX/TX are correct (correct pins are used, and not interchanged).

    You can check that the DTM works on the board using nRFgo Studio. Instead of unplugging the USB cable you can use the Direct Test Mode feature of nRFgo Studio to start a test with a constant carrier on a given channel, and then you can see if the board does that by either using a spectrum analyzer (looking for the carrier) or by measuring the power consumption.

    Regards, Terje

Children
  • Thanks for your reply!

    I am checking that the RX and TX pin and VDD, GND are correct I tried to the following items, The NRF51DK can be executed complete test with Anritsu MT8852B. But it can't work use the sample code after build then download via uVision V5.18a.

    I can't download the HEX sample file directly to NRF51DK, because I need to change some parameter in the code. Could you please help me check if any missing some step?

    Thanks!

    < ITEM 1 >

    1. Download HEX sample file to NRF51DK from the following path use NRFgo Studio
      \examples\dtm\direct_test_mode\direct_test_mode_blank_pca10028.hex

    2. Unplug USB cable after the HEX file download successful.

    3. Connect to the Anritsu MT8852B Bluetooth Tester via RS232 to TTL adaper.

    4. The NRF51DK can be executed complete test with Anritsu MT8852B.

    < ITEM 2 >

    1. Following the above step, but in the step 1 the HEX file replaces to the following path ,it can be complete test with Anritsu MT8852B . \examples\dtm\direct_test_mode\direct_test_mode_s130_pca10028.hex
  • Do you experience problems with the example from the SDK as-is, or have you made changes related to PDU size? Ref. this case: devzone.nordicsemi.com/.../

Related