<?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>nRF52840 DTM Can not communicate with my custom device.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/100860/nrf52840-dtm-can-not-communicate-with-my-custom-device</link><description>Hi, 
 My custom board use nrf52840. I first tested uart function by examples/peripheral/uart/*. It is good. My board&amp;#39;s uart ports are P1.9 for TX, P0.12 for RX. 
 And then, I modified the nRF5_SDK_17.1.0_ddde560\examples\dtm\direct_test_mode/main.c But</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 11 Jul 2023 23:33:23 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/100860/nrf52840-dtm-can-not-communicate-with-my-custom-device" /><item><title>RE: nRF52840 DTM Can not communicate with my custom device.</title><link>https://devzone.nordicsemi.com/thread/435822?ContentTypeID=1</link><pubDate>Tue, 11 Jul 2023 23:33:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:99230749-6399-4680-8152-28a879382b9c</guid><dc:creator>rockerderek</dc:creator><description>&lt;p&gt;Hi Jared,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m having a similar problem. I&amp;#39;m trying to use SDK 2.3.0&amp;nbsp;&lt;strong&gt;&lt;em&gt;nrf/samples/bluetooth/direct_test_mode&lt;/em&gt;&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;with built-in USB on nRF5340 or the UART-to-USB virtual COM port with an &lt;a href="https://www.tag-connect.com/product/tc2030-nl-ftdi-ttl-232rg-vsw3v3"&gt;FTDI cable that has a TC2030 connector&lt;/a&gt; on the end, but that hasn&amp;#39;t worked.&lt;/p&gt;
&lt;p&gt;The TC2030 connector looks like this on our PCB:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " height="250" src="https://devzone.nordicsemi.com/resized-image/__size/304x500/__key/communityserver-discussions-components-files/4/pastedimage1689118028002v1.png" width="152" /&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/6242.TC2030_2D00_MCP_2D00_NL.pdf"&gt;6242.TC2030-MCP-NL.pdf&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Based on this document&amp;nbsp;&lt;/span&gt;&lt;a href="https://infocenter.nordicsemi.com/pdf/nan_34.pdf"&gt;DTM for DUT&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Our UART_DBG_TX pin is P0.28 and the UART_DBG_RX pin is P0.27. Do I need to edit the nrf5340dk_nrf5340_cpunet-pinctrl.dtsi file like so?&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1689117156881v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;And do I add&amp;nbsp;&lt;strong&gt;CONFIG_DTM_USB&lt;/strong&gt;&lt;span&gt;&lt;strong&gt;=y&lt;/strong&gt;&amp;nbsp;to my prj.conf file without adding any files like zephyr/drivers/usbc.h or other code to use DTM on my custom board via USB? I also added&amp;nbsp;&lt;/span&gt;&lt;strong&gt;CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC=y&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;to the prj.conf file since we don&amp;#39;t have an external 32KHz oscillator between X1 and X2. Is there anything else I need to do to make the nRF Connect DTM app on my Windows 10 PC work with my custom board?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 DTM Can not communicate with my custom device.</title><link>https://devzone.nordicsemi.com/thread/433338?ContentTypeID=1</link><pubDate>Wed, 28 Jun 2023 00:27:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aaa432c9-fc49-4a5a-b248-c36b6740b079</guid><dc:creator>paul0208</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The issue turned out to be a hardware problem without any apparent cause.&lt;br /&gt;&lt;br /&gt;My H/W engineer&amp;nbsp;did&amp;nbsp;equip 32MHz Xtal with wrong direction.&lt;br /&gt;The direct test mode example is working on my custom board now.&lt;/p&gt;
&lt;p&gt;Please close this ticket.&lt;br /&gt;&lt;br /&gt;BR&lt;br /&gt;Paul&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 DTM Can not communicate with my custom device.</title><link>https://devzone.nordicsemi.com/thread/432720?ContentTypeID=1</link><pubDate>Fri, 23 Jun 2023 13:52:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b8f31cb0-24e7-427d-a898-2ce78db5d9b1</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I see so you&amp;#39;re setup is basically this:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/2570.pastedimage1687356630612v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;I misunderstood you, I didn&amp;#39;t understand that you had already had a spectrum analyzer for testing, I thought that you wanted to use the DK as a tester, but I now understand that you have a spectrum analyzer for testing. What kind of spectrum analyzer is it? The nRF Connect DTM sw is made to be used with a development kit as a tester, if you&amp;#39;re using a spectrum analyzer such as a Anritsu then you have to use the scripts that are made by the manufacturer of that spectrum analyzer,&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 DTM Can not communicate with my custom device.</title><link>https://devzone.nordicsemi.com/thread/432601?ContentTypeID=1</link><pubDate>Fri, 23 Jun 2023 03:15:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:72acffdd-d886-4ad5-a1ac-76e45a9c9ff8</guid><dc:creator>paul0208</dc:creator><description>&lt;p&gt;Hi&lt;br /&gt;Please find my configuration for certification.&lt;br /&gt;IF DUT is replaced with DK, DTM test result is OK&lt;/p&gt;
&lt;p&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/pastedimage1687490141591v3.png" alt=" " /&gt;&lt;br /&gt;BR&lt;br /&gt;Paul&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 DTM Can not communicate with my custom device.</title><link>https://devzone.nordicsemi.com/thread/432553?ContentTypeID=1</link><pubDate>Thu, 22 Jun 2023 14:00:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:40253d42-c1d8-4447-8f0e-72bf8ecf764d</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Paul,&lt;/p&gt;
&lt;p&gt;The computer is indeed running nRF Connect DTM but you still need either a Anritsu or a DK as a tester. I think it would be good if you could share a picture or a sketch that shows how you have setup the test, it would clarify any confusions.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you,&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 DTM Can not communicate with my custom device.</title><link>https://devzone.nordicsemi.com/thread/432526?ContentTypeID=1</link><pubDate>Thu, 22 Jun 2023 12:46:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3c8cacd8-f602-460a-9dbf-cf68b43981ba</guid><dc:creator>paul0208</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;DUT has UART interface connected to PC or Anritus as Fig 2 you attached.&lt;br /&gt;And dtm example should be programed into DUT after modifying UART configuration.&lt;br /&gt;&lt;br /&gt;This dtm example is not interworking with nRF connect DTM directly?&lt;br /&gt;Computer in Fig 2 is not nRF connect DTM?&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;BR&lt;br /&gt;Paul&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 DTM Can not communicate with my custom device.</title><link>https://devzone.nordicsemi.com/thread/432375?ContentTypeID=1</link><pubDate>Wed, 21 Jun 2023 14:11:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:005e6c7d-ee19-43df-b867-5c5321dd0f46</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="paul0208"]I want to do DTM test&amp;nbsp; for my custom board by nRF Connect DTM directly. not thru DK board.&lt;br /&gt;[/quote]
&lt;p&gt;This is not supported, you either have to use a DK or a Anritsu as a production tester. This is described in the app note I shared earlier:&lt;/p&gt;
&lt;p&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/8015.pastedimage1687356630612v2.png" alt=" " /&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/8510.pastedimage1687356644752v3.png" alt=" " /&gt;&lt;/p&gt;
[quote user="paul0208"]My board use 1.8V. Can I program this board by nRF52840 DK or nRF52832 DK ?[/quote]
&lt;p&gt;From the &lt;a href="https://infocenter.nordicsemi.com/topic/ug_nrf52840_dk/UG/dk/hw_debug_out.html?cp=5_0_4_7_9"&gt;documentation&lt;/a&gt;:&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Note:&lt;/span&gt;&lt;span&gt;&amp;nbsp;The voltage supported by external debugging/programming is VDD voltage. Normally, this is 3 V when running from USB, but if the onboard&amp;nbsp;&lt;/span&gt;&lt;span&gt;nRF52840&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a title="A microchip that integrates all the necessary electronic circuits and components of a computer or other electronic systems on a single integrated circuit." href="https://infocenter.nordicsemi.com/topic/ug_nrf52840_dk/dita_common/glossary/glossary.html#soc"&gt;&lt;dfn&gt;SoC&lt;/dfn&gt;&lt;/a&gt;&lt;span&gt;&amp;nbsp;is supplied from either USB or Li-Ion, the nRF power source switch (&lt;/span&gt;&lt;span&gt;SW9&lt;/span&gt;&lt;span&gt;) is in either Li-Po or USB position, and VDD can be set by the&amp;nbsp;&lt;/span&gt;&lt;span&gt;nRF52840&lt;/span&gt;&lt;span&gt;&amp;nbsp;firmware. Make sure the voltage level of the external board matches the VDD of the&amp;nbsp;&lt;/span&gt;&lt;span&gt;nRF52840 DK&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 DTM Can not communicate with my custom device.</title><link>https://devzone.nordicsemi.com/thread/432175?ContentTypeID=1</link><pubDate>Wed, 21 Jun 2023 06:29:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c6ee7870-9eb2-4a9b-8492-f1bd2f71450c</guid><dc:creator>paul0208</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;My board use 1.8V. Can I program this board by nRF52840 DK or nRF52832 DK ?&lt;/p&gt;
&lt;p&gt;BR&lt;br /&gt;Paul&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 DTM Can not communicate with my custom device.</title><link>https://devzone.nordicsemi.com/thread/432076?ContentTypeID=1</link><pubDate>Tue, 20 Jun 2023 14:37:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:29a56ff1-90ea-46fc-9698-8b0127a685ce</guid><dc:creator>paul0208</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;I want to do DTM test&amp;nbsp; for my custom board by nRF Connect DTM directly. not thru DK board.&lt;br /&gt;&lt;br /&gt;This is my history to test&lt;/p&gt;
&lt;p&gt;1. I have modified example source code of UART, and compile and upload to my custom board.&lt;br /&gt;2. but nRF Connect DTM app did not recognize my custom board. I found &amp;quot;Communication Error&amp;quot;&lt;br /&gt;3. So, I made this ticket. &amp;quot;nRF52840 DTM Can not communicate with my custom device.&amp;quot;&lt;br /&gt;4. To&amp;nbsp; exclude my custom board&amp;#39;s H/W problem, I wanted to test DK board first.&lt;br /&gt;5. After compile example WITHOUT any modify and upload to DK board, but nRF Connect DTM can not recognize uploaded F/W on DK board as I mentioned before.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;I want to test my custom board by nRF Connect DTM directly thru USB UART.&lt;br /&gt;&lt;br /&gt;BR&lt;br /&gt;Paul&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 DTM Can not communicate with my custom device.</title><link>https://devzone.nordicsemi.com/thread/431959?ContentTypeID=1</link><pubDate>Tue, 20 Jun 2023 11:09:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7ac4912e-15dd-4890-b6f8-a26446457faf</guid><dc:creator>Jared</dc:creator><description>[quote user="paul0208"]You said nRF5SDK original example should work on DK board. It is correct or not?[/quote]
&lt;p&gt;That is correct, the unmodified example should work on the DK, but you were mentioning custom board as well, so I understood it as you wanted to do DTM test on your custom board using the DK as a tester.&amp;nbsp;&lt;/p&gt;
[quote user="paul0208"]I have modify DTM example to fit UART pin for my custom board, but nRF Connect DTM can not recognize my custom board, *communication error*.&lt;br /&gt;[/quote]
&lt;p&gt;nRF Connect shouldn&amp;#39;t be connected to your custom board, it should be connected to your DK if I have understood what you want to do correctly.&lt;/p&gt;
&lt;p&gt;Can you clarify what you want to do? Do you want to use the DK as a tester and perform DTM test on your custom boad?&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 DTM Can not communicate with my custom device.</title><link>https://devzone.nordicsemi.com/thread/431828?ContentTypeID=1</link><pubDate>Mon, 19 Jun 2023 15:19:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4b7b19b0-7675-4f52-b129-dab6ea381551</guid><dc:creator>paul0208</dc:creator><description>&lt;p&gt;Hi, Jared&lt;/p&gt;
&lt;p&gt;You said nRF5SDK original example should work on DK board. It is correct or not?&lt;/p&gt;
&lt;p&gt;I have modify DTM example to fit UART pin for my custom board, but nRF Connect DTM can not recognize my custom board, *communication error*.&lt;br /&gt;&lt;br /&gt;OK. I will do this again.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;static&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;void&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;uart_init&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;void&lt;/span&gt;&lt;span&gt;)&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;{ &amp;nbsp; &lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;uint32_t&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;err_code&lt;/span&gt;&lt;span&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;const&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;app_uart_comm_params_t&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;comm_params&lt;/span&gt;&lt;span&gt; =&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;NRF_GPIO_PIN_MAP&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;0&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;span&gt;12&lt;/span&gt;&lt;span&gt;),&lt;/span&gt;&lt;span&gt; // RX_PIN_NUMBER,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;NRF_GPIO_PIN_MAP&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;1&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;span&gt;9&lt;/span&gt;&lt;span&gt;),&lt;/span&gt;&lt;span&gt; // TX_PIN_NUMBER,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;NRF_GPIO_PIN_MAP&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;1&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;span&gt;16&lt;/span&gt;&lt;span&gt;),&lt;/span&gt;&lt;span&gt; // RTS_PIN_NUMBER,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;NRF_GPIO_PIN_MAP&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;1&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;span&gt;15&lt;/span&gt;&lt;span&gt;),&lt;/span&gt;&lt;span&gt; // CTS_PIN_NUMBER,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; APP_UART_FLOW_CONTROL_DISABLED,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;false&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; DTM_BITRATE&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; };&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;APP_UART_FIFO_INIT&lt;/span&gt;&lt;span&gt;(&amp;amp;&lt;/span&gt;&lt;span&gt;comm_params&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;UART_RX_BUF_SIZE&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;UART_TX_BUF_SIZE&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;uart_error_handle&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;APP_IRQ_PRIORITY_LOWEST,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;err_code&lt;/span&gt;&lt;span&gt;);&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;APP_ERROR_CHECK&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;err_code&lt;/span&gt;&lt;span&gt;);&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;&lt;br /&gt;BR&lt;br /&gt;Paul&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 DTM Can not communicate with my custom device.</title><link>https://devzone.nordicsemi.com/thread/431801?ContentTypeID=1</link><pubDate>Mon, 19 Jun 2023 13:48:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:22cd67c4-e6ce-47fc-89d0-8ca56c73601a</guid><dc:creator>Jared</dc:creator><description>[quote user="paul0208"]I have download&amp;nbsp;nRF5_SDK_17.1.0_ddde560 newly for clarify.&lt;br /&gt;And, compile at&amp;nbsp;nRF5_SDK_17.1.0_ddde560\examples\dtm\direct_test_mode\pca10056\blank\armgcc without modify.&lt;br /&gt;I program the compiled hex file to my DK 52840 DK board and run &amp;quot;Direct Test Mode&amp;quot; App on nRF Connect for desktop. But I found as follow error popup window&lt;br /&gt;&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;cursor:zoom-in;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/0317.pastedimage1686925140217v1.png" /&gt;&lt;br /&gt;When I press Program button, &amp;quot;Direct test Mode&amp;quot; App updates my DK board by&amp;nbsp;some&amp;nbsp;binary automatically.&lt;br /&gt;Start Test is OK&lt;br /&gt;&lt;br /&gt;I did not modify dtm example.[/quote]
&lt;p&gt;I think I need to clarify how the DTM test should be run. There is several options for running a DTM test, one of the options is to use a development kit as a tester. You have the development kit where you flash the software from the nRF Connect DTM, and then you have the device that you want to test, where you flash the DTM example from the SDK. The picture that you shared is not an error, but it is telling you that the device that you want to use as a tester doesn&amp;#39;t have the proper DTM tester application programmed.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You need to:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Flash the Development kit with the nRF Connect DTM application.&lt;/li&gt;
&lt;li&gt;Modify the DTM example from the nRF5SDK so that the UART pins fits your custom board, and then flash it to your custom board.&lt;/li&gt;
&lt;li&gt;Perform DTM test&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;See &lt;a href="https://infocenter.nordicsemi.com/pdf/nan_34.pdf"&gt;this&lt;/a&gt;&amp;nbsp;note for more information.&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 DTM Can not communicate with my custom device.</title><link>https://devzone.nordicsemi.com/thread/431635?ContentTypeID=1</link><pubDate>Mon, 19 Jun 2023 02:45:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f257efb9-a70a-49cf-8888-0923e08f73e0</guid><dc:creator>paul0208</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;I know that a support engineer has been assigned to this ticket.&lt;br /&gt;When can I get the support?&lt;br /&gt;&lt;br /&gt;BR&lt;br /&gt;Paul&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 DTM Can not communicate with my custom device.</title><link>https://devzone.nordicsemi.com/thread/431540?ContentTypeID=1</link><pubDate>Fri, 16 Jun 2023 14:30:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8c12122d-3210-4dfa-98d7-dbadc0567c32</guid><dc:creator>paul0208</dc:creator><description>&lt;p&gt;After update the DK board, I have read back DK board program again.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1686925675002v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;But compiled binary of example as follow.&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1686925756518v2.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Some different between good and bad.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 DTM Can not communicate with my custom device.</title><link>https://devzone.nordicsemi.com/thread/431538?ContentTypeID=1</link><pubDate>Fri, 16 Jun 2023 14:22:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:75241cf6-7625-47e3-9b4e-2e969b6879ba</guid><dc:creator>paul0208</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thanks for reply.&lt;/p&gt;
&lt;p&gt;I have download&amp;nbsp;nRF5_SDK_17.1.0_ddde560 newly for clarify.&lt;br /&gt;And, compile at&amp;nbsp;nRF5_SDK_17.1.0_ddde560\examples\dtm\direct_test_mode\pca10056\blank\armgcc without modify.&lt;br /&gt;I program the compiled hex file to my DK 52840 DK board and run &amp;quot;Direct Test Mode&amp;quot; App on nRF Connect for desktop. But I found as follow error popup window&lt;br /&gt;&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1686925140217v1.png" /&gt;&lt;br /&gt;When I press Program button, &amp;quot;Direct test Mode&amp;quot; App updates my DK board by&amp;nbsp;some&amp;nbsp;binary automatically.&lt;br /&gt;Start Test is OK&lt;br /&gt;&lt;br /&gt;I did not modify dtm example.&lt;br /&gt;&lt;br /&gt;BR&lt;br /&gt;Paul&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 DTM Can not communicate with my custom device.</title><link>https://devzone.nordicsemi.com/thread/431468?ContentTypeID=1</link><pubDate>Fri, 16 Jun 2023 11:30:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2dea87d5-2c86-4330-a7b3-e0bcf905d2cf</guid><dc:creator>Jared</dc:creator><description>[quote user="paul0208"]How and what can&amp;nbsp;I modify the main.c in dtm example code to run on DK board?[/quote]
&lt;p&gt;The unmodified example should work on our development kit, you don&amp;#39;t need to modify it.&lt;/p&gt;
[quote user="paul0208"]My custom boad is connected to PC by port p1.9 and p0.12 thu USB-uart converter.[/quote]
&lt;p&gt;Then you need to replace RX_PIN_NUMBER and TX_PIN_NUMBER in uart_init() with these pins,&lt;/p&gt;
[quote user="paul0208"]Do I have to use RTS and CTS to use &amp;quot;DTM tool&amp;quot;?[/quote]
&lt;p&gt;The unmodified example do not use Hardware Flow Control so it&amp;#39;s not required if you don&amp;#39;t modify this.&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 DTM Can not communicate with my custom device.</title><link>https://devzone.nordicsemi.com/thread/431385?ContentTypeID=1</link><pubDate>Fri, 16 Jun 2023 00:12:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2d3f53bb-c630-4ccd-bc48-cb1b5e679bc4</guid><dc:creator>paul0208</dc:creator><description>&lt;p&gt;Do I have to use RTS and CTS to use &amp;quot;DTM tool&amp;quot;?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 DTM Can not communicate with my custom device.</title><link>https://devzone.nordicsemi.com/thread/431382?ContentTypeID=1</link><pubDate>Thu, 15 Jun 2023 22:47:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b58b521a-2796-4f15-bf88-02745e8e9fde</guid><dc:creator>paul0208</dc:creator><description>&lt;p&gt;My custom boad is connected to PC by port p1.9 and p0.12 thu USB-uart converter.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&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/2023_2D00_06_2D00_16-074259.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 DTM Can not communicate with my custom device.</title><link>https://devzone.nordicsemi.com/thread/431304?ContentTypeID=1</link><pubDate>Thu, 15 Jun 2023 14:04:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:423f20cb-a9d3-4e4e-8c95-fa732829b123</guid><dc:creator>paul0208</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;How and what can&amp;nbsp;I modify the main.c in dtm example code to run on DK board?&lt;br /&gt;BR&lt;br /&gt;Paul&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 DTM Can not communicate with my custom device.</title><link>https://devzone.nordicsemi.com/thread/431293?ContentTypeID=1</link><pubDate>Thu, 15 Jun 2023 13:42:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4f0d4454-6907-4553-b79d-f8d7f0b13a29</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote user="paul0208"]When I apply my dtm code to DK board after modify UART config of main.c, it does not work.[/quote]
&lt;p&gt;It won&amp;#39;t work to switch pins on the DK since P0.06 and P0.08 is connected to the interface chip on the development kit via UART and the interface chip push the data to the USB port, it acts as a UART-to-USB bridge between the interface chip and the nRF52840. Switching pins will therefore not work on the DK.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You switched the UART pins to the&amp;nbsp;&lt;span&gt;P0.12&amp;nbsp;and P1.9 and connected CTS and RTS on your custom board and it still didn&amp;#39;t&amp;nbsp;work?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Can you tell me how everything is connected to your custom board?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;regards&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Jared&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 DTM Can not communicate with my custom device.</title><link>https://devzone.nordicsemi.com/thread/431271?ContentTypeID=1</link><pubDate>Thu, 15 Jun 2023 13:06:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6e922f9a-cdad-420d-a184-23aa0b89481a</guid><dc:creator>paul0208</dc:creator><description>&lt;p&gt;When I apply my dtm code to DK board after modify UART config of main.c, it does not work.&lt;br /&gt;&amp;quot;DTM tool&amp;quot; can not detect my DTM S/W on DK board, &lt;br /&gt;DTM tool&amp;quot; try to update the DK with pre-compiled dtm binary.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&amp;quot;DTM tool&amp;quot; think DK board&amp;#39;s F/W is not DTM S/W, even though I program my dtm code to DK board.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 DTM Can not communicate with my custom device.</title><link>https://devzone.nordicsemi.com/thread/431262?ContentTypeID=1</link><pubDate>Thu, 15 Jun 2023 12:55:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:167d8bdc-f2b2-490a-86fd-3c6cecbaba26</guid><dc:creator>paul0208</dc:creator><description>&lt;p&gt;Hi, Jared,&lt;br /&gt;&lt;br /&gt;My custom board does not use P0.6 and P0.8.&lt;br /&gt;That is way that I did not apply pre-compiled binary on my custom board.&lt;br /&gt;&lt;br /&gt;Yes,&lt;br /&gt;I modify this structure for my custom board.&lt;/p&gt;
&lt;p&gt;BR&lt;br /&gt;Paul&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 DTM Can not communicate with my custom device.</title><link>https://devzone.nordicsemi.com/thread/431187?ContentTypeID=1</link><pubDate>Thu, 15 Jun 2023 09:06:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:04677562-4163-4098-ae49-70736966b733</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]But, Direct test Mode appl do upgrade nrf52840 DK board firmware to some binary(maybe pre-compiled version by Nordic)&lt;br /&gt;And DTM test is success by your binary.[/quote]
&lt;p&gt;What do you mean, it works when using the pre compiled binaries on your custom board but it doesn&amp;#39;t work when you use your modified code?&lt;/p&gt;
[quote user="paul0208"]For DTM, do I have to&amp;nbsp;assign&amp;nbsp;RTS/CTS pin?[/quote]
&lt;p&gt;Here:&lt;/p&gt;
&lt;p&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/pastedimage1686819997589v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 DTM Can not communicate with my custom device.</title><link>https://devzone.nordicsemi.com/thread/431179?ContentTypeID=1</link><pubDate>Thu, 15 Jun 2023 08:50:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ef458776-8691-487e-9912-db2aab917056</guid><dc:creator>paul0208</dc:creator><description>&lt;p&gt;For DTM, do I have to&amp;nbsp;assign&amp;nbsp;RTS/CTS pin?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>