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

How to test DTM with nRFgo Studio?

I read a document, "Setting up production test using DTM", "nAN-034 Application Note v1.0". And, Figure 3 shows how to setup test environment. But, I cannot find which S/W need to be downloaded to nRF51DK and tester PC. My question is written red color in below image.

image description

  • Q1. Is it correct to download direct_test_mode example on DUT?
  • Q2.What hex file should be downloaded to nRF DK?
  • Q3. What S/W and how to operate the S/W?

Best Regards.

Parents
  • Hi,

    Q1: Yes the DUT should be flashed with the DTM example.

    Q2: The DK should also be flashed with the DTM example. The roles of each device is decided by the upper tester, which controls the devices over UART.

    Q3: The tester should run the python script from the zip that is attached with nAN34. The documentation for the script and DTM library is found in the readme file in the .zip.

    Best regards,

    Øyvind

  • Hi,

    To be honest I've never done this in nRFGo studio, only used the script. I think the trick in nRFGo studio is to have two instances running, and program the DUT in one and the lower tester in the other.

    Assuming COM 11 is your DUT and COM 9 is the lower tester

    To test DUT RX

    • Program COM 9 to transmit
    • Program COM 11 to receive
    • Verify that you are getting the right amount of packets

    To test DUT TX

    • Program COM 11 to transmit
    • Program COM 9 to receive
    • Verify that you are getting the right amount of packets

    For more flexibility you will probably want to set up a script to do this for you, I recommend looking into the python dtm library.

Reply
  • Hi,

    To be honest I've never done this in nRFGo studio, only used the script. I think the trick in nRFGo studio is to have two instances running, and program the DUT in one and the lower tester in the other.

    Assuming COM 11 is your DUT and COM 9 is the lower tester

    To test DUT RX

    • Program COM 9 to transmit
    • Program COM 11 to receive
    • Verify that you are getting the right amount of packets

    To test DUT TX

    • Program COM 11 to transmit
    • Program COM 9 to receive
    • Verify that you are getting the right amount of packets

    For more flexibility you will probably want to set up a script to do this for you, I recommend looking into the python dtm library.

Children
No Data
Related