<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>How to use a custom nRF52840 alongside an nRF52840 DK with the DTM module?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/113724/how-to-use-a-custom-nrf52840-alongside-an-nrf52840-dk-with-the-dtm-module</link><description>Hi all! As a disclaimer; I am a beginner with the Nordic SDK, so my understanding may be wrong. Please feel free to correct any holes in my theory. I am trying to use a custom PCB with an nRF52840 microprocessor with the nRF Connect for Desktop application</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 13 Aug 2024 07:53:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/113724/how-to-use-a-custom-nrf52840-alongside-an-nrf52840-dk-with-the-dtm-module" /><item><title>RE: How to use a custom nRF52840 alongside an nRF52840 DK with the DTM module?</title><link>https://devzone.nordicsemi.com/thread/497949?ContentTypeID=1</link><pubDate>Tue, 13 Aug 2024 07:53:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ba02085f-35db-413a-b973-fe93d8cde5f5</guid><dc:creator>JONATHAN LL</dc:creator><description>[quote user="kili"]running the nrfjprog --recover command[/quote]
&lt;p&gt;The recover command wipes the unit and &amp;quot;opens&amp;quot; the device as it disables readback protection.&lt;br /&gt;&lt;br /&gt;&amp;quot;&lt;em&gt;Erases all user flash memory and disables the readback protection mechanism if enabled.&lt;/em&gt;&amp;quot;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
[quote user="kili"]Question, before I go into physical modifications of my custom PCB that will be the DUT in this setup (it has an nRF52840 on it). Can I perform the test using:[/quote]
&lt;p&gt;You will need to have access to the TX and RX pin of the DUT. So if you dont have them available you will need to modify the PIN for the sample.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;You can use a DK or som other serial to uart converter for communication with the device.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Jonathan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use a custom nRF52840 alongside an nRF52840 DK with the DTM module?</title><link>https://devzone.nordicsemi.com/thread/497681?ContentTypeID=1</link><pubDate>Fri, 09 Aug 2024 19:04:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:756503b8-b15e-40ee-864d-cb867c74e6a9</guid><dc:creator>kenny1389</dc:creator><description>&lt;p&gt;Edit: I was able to connect the nRF52840 DK successfully after following the solution in this thread:&lt;br /&gt;&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/98042/nrf-connect-for-desktop-bluetooth-low-energy---keeps-on-saying-device-must-be-programmed"&gt;nRF Connect for Desktop Bluetooth Low Energy - Keeps on saying &amp;quot;Device must be programmed&amp;quot;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;running the nrfjprog --recover command is what allowed me to run the DK with DTM.&lt;br /&gt;&lt;br /&gt;Question, before I go into physical modifications of my custom PCB that will be the DUT in this setup (it has an nRF52840 on it). Can I perform the test using:&lt;br /&gt;&lt;br /&gt;1. the&amp;nbsp;&lt;span&gt;built in UART/virtual COM port for the DK and &lt;br /&gt;2. CDC ACM implementation on the DUT, &lt;br /&gt;&lt;br /&gt;or will I need UART on my custom PCB as well? If so, is it sufficient to only modify the PIN numbers on the direct_test_mode_pca10056 example of the 17.1.0 SDK?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use a custom nRF52840 alongside an nRF52840 DK with the DTM module?</title><link>https://devzone.nordicsemi.com/thread/497674?ContentTypeID=1</link><pubDate>Fri, 09 Aug 2024 16:56:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2e9dcb93-24a3-460e-a47d-743275bfb684</guid><dc:creator>kenny1389</dc:creator><description>&lt;p&gt;Hi Jonathan, thanks for the reply. I found useful information in the docs you linked; I was able to program a CDC ACM module on my custom board to interface with USB. Looking back at the docs I think I may still need to go for the UART physical connection despite my intention to avoid doing so.&lt;br /&gt;&lt;br /&gt;I&amp;#39;ve run into another issue with my development kit (nRF52840DK) which I will use as the Lower Tester. I tried several ways to program the device, through SES (erasing flash and downloading direct_test_mode_pca10056 firmware onto it) as well as using the nRF Connect Programmer to flash the 10056.hex file on the DK.&lt;/p&gt;
&lt;p&gt;However, any time I open the Direct Test Mode module and load the DK, it meets me with&lt;/p&gt;
&lt;p&gt;&amp;#39;&lt;span&gt;Device must be programmed, do you want to proceed?&amp;#39;&lt;br /&gt;&lt;br /&gt;If I select no,&amp;nbsp;when I initiate the test, it just hangs in the Running device setup:&lt;/span&gt;&lt;span&gt;&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1723222187644v1.png" alt=" " /&gt;&lt;br /&gt;&lt;br /&gt;If I select yes, I get&amp;nbsp;this issue:&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1723222378703v3.png" alt=" " /&gt;&lt;br /&gt;&lt;br /&gt;I have the DK connected to my PC via USB (J2), the nRF power source switch is set to VDD. Am I missing something, what could be causing the DK to not recognize the correct firmware being on it?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use a custom nRF52840 alongside an nRF52840 DK with the DTM module?</title><link>https://devzone.nordicsemi.com/thread/497652?ContentTypeID=1</link><pubDate>Fri, 09 Aug 2024 13:59:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:85dcf441-ceeb-4e1d-9472-4b95130b6cb9</guid><dc:creator>JONATHAN LL</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Use the nRF connect for desktop app, and use the nRF connect SDK, so&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.5.2/page/nrf/samples/bluetooth/direct_test_mode/README.html"&gt;https://docs.nordicsemi.com/bundle/ncs-2.5.2/page/nrf/samples/bluetooth/direct_test_mode/README.html&lt;/a&gt;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;What you would need to to is have to correct pins for uart communication configured on your DUT.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;But we have older guides here:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/fast-production-screening-based-upon-bluetooth-dtm"&gt;https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/fast-production-screening-based-upon-bluetooth-dtm&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;And a 3rd party her:&amp;nbsp;&lt;a href="https://raytac.blog/2023/11/22/navigating-rf-certification-a-guide-to-dtm-and-radio-testing/"&gt;https://raytac.blog/2023/11/22/navigating-rf-certification-a-guide-to-dtm-and-radio-testing/&lt;/a&gt;&amp;nbsp; and&amp;nbsp;&lt;a href="https://jimmywongiot.com/2021/03/02/rf-physical-test-on-the-nrf5-series/"&gt;https://jimmywongiot.com/2021/03/02/rf-physical-test-on-the-nrf5-series/&lt;/a&gt;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;But I do see that our documentation could maybe be updated here so will have a look.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Feel free to ask if you have any issues or something needs to be clarified.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Jonathan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>