<?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>nRF Connect Direct Test Mode re-connection issue if you remove the debugger</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/59503/nrf-connect-direct-test-mode-re-connection-issue-if-you-remove-the-debugger</link><description>I am having an issue using the DTM app in nRF Connect. It is the latest version of the app (v3.3.0 as of this writing). The issue is that if I disconnect the debug lines (Rx and TX) and the hardware remains powered it will continue to transmit/receive</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 30 Mar 2020 13:56:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/59503/nrf-connect-direct-test-mode-re-connection-issue-if-you-remove-the-debugger" /><item><title>RE: nRF Connect Direct Test Mode re-connection issue if you remove the debugger</title><link>https://devzone.nordicsemi.com/thread/242458?ContentTypeID=1</link><pubDate>Mon, 30 Mar 2020 13:56:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:70713e38-91f5-4e2b-bc00-91585e33d8e7</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;If you search for&amp;nbsp;nrf_gpio_cfg_input() in nrfx_uarte.c and nrfx_uart.c you should be able to replace&amp;nbsp;NRF_GPIO_PIN_NOPULL with&amp;nbsp;NRF_GPIO_PIN_PULLUP for the RXD pin (which I suspect is the problematic one).&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Connect Direct Test Mode re-connection issue if you remove the debugger</title><link>https://devzone.nordicsemi.com/thread/241965?ContentTypeID=1</link><pubDate>Thu, 26 Mar 2020 19:38:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:036655c6-7019-44f8-9fd4-957875644a5d</guid><dc:creator>Branden Sheffield</dc:creator><description>&lt;p&gt;Thanks for the suggestions!&amp;nbsp; I like those ideas, I don&amp;#39;t have space on my custom HW to add the 10ks but could probably modify my debug boards easily and test this.&amp;nbsp; I may try the suggestion to add the reset command in the uart error handle first however as a quick work around.&lt;/p&gt;
&lt;p&gt;thanks again for the quick feedback!&lt;/p&gt;
&lt;p&gt;PS - I still think a reset feature may be nice the DTM app as a future feature request &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Connect Direct Test Mode re-connection issue if you remove the debugger</title><link>https://devzone.nordicsemi.com/thread/241811?ContentTypeID=1</link><pubDate>Thu, 26 Mar 2020 11:58:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c2c5b1ae-170a-484d-a9d8-bd74c9f3ac79</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;I suspect there is an assert occurring here due to noise on the UART lines, this will cause UART framing error.&amp;nbsp;In the&amp;nbsp;uart_error_handle() I can see that the DTM application will assert by default if there is&amp;nbsp;APP_UART_COMMUNICATION_ERROR. In addition I suspect that&amp;nbsp;app_error_fault_handler() is configured with DEBUG enabled, thereby it will not execute&amp;nbsp;NVIC_SystemReset().&lt;/p&gt;
&lt;p&gt;I guess there are several workarounds possible here, for instance you can in the&amp;nbsp;uart_error_handle() simply call NVIC_SystemReset() directly if there is an&amp;nbsp;APP_UART_COMMUNICATION_ERROR.&lt;/p&gt;
&lt;p&gt;Alternatively you may also look into adding external pull up resistor (e.g. 10kohm) on the UART RXD and TXD pins to avoid the&amp;nbsp;&lt;span&gt;APP_UART_COMMUNICATION_ERROR to occur in the first place.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>