<?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>Test UART using GPIO</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/37699/test-uart-using-gpio</link><description>Hi, 
 I want to test UART peripheral on nrf52840 by running example in path examples\peripheral\uart as it is. 
 Connection setup is: 
 nRF power source USB 
 nRF USB port connection 
 Default switch mode 
 Windows PC having USB to RS232 serial cable</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 23 Aug 2018 06:47:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/37699/test-uart-using-gpio" /><item><title>RE: Test UART using GPIO</title><link>https://devzone.nordicsemi.com/thread/145406?ContentTypeID=1</link><pubDate>Thu, 23 Aug 2018 06:47:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b5d56621-83d6-4a67-8968-de9004607af4</guid><dc:creator>cbd</dc:creator><description>&lt;p&gt;Agreed.&lt;/p&gt;
&lt;p&gt;If you&amp;#39;re using the GPIO lines to the interface MCU for your lead connection then you&amp;#39;ll have issues, especially if your still using the USB port on the other side for debug.&lt;/p&gt;
&lt;p&gt;I believe that there&amp;#39;s a note that this shouldn&amp;#39;t be done for fear of damaging the interface MCU.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Test UART using GPIO</title><link>https://devzone.nordicsemi.com/thread/145363?ContentTypeID=1</link><pubDate>Wed, 22 Aug 2018 16:37:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:23567339-3377-4e75-b0fa-d89cd00aab8c</guid><dc:creator>Marjeris Romero</dc:creator><description>&lt;p&gt;So if I understand correctly,&amp;nbsp; you want to connect the GPIO pins used for UART on the nRF52840 directly to a USB-RS232&amp;nbsp; serial converter cable (i.e. Digi-Key part # 768-1065-ND)?&lt;/p&gt;
&lt;p&gt;Try first to connect USB-RS232 ground to any GND pin on the nrf52840 DK. You may also need to disconnect the interface MCU by switching SW6 to nRF ONLY or set other GPIO pins as UART RX/TX in software.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Test UART using GPIO</title><link>https://devzone.nordicsemi.com/thread/145265?ContentTypeID=1</link><pubDate>Wed, 22 Aug 2018 09:33:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ce7c18c2-5ef8-4917-ae18-7e24bb49adc8</guid><dc:creator>Sridhar Jonnavittula</dc:creator><description>&lt;p&gt;When I connect to J2 it is working fine with same COM port settings. But there may be cases where using GPIO on DK and USB-RS232 converter both as a combination is a requirement right. How to support this requirement.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Test UART using GPIO</title><link>https://devzone.nordicsemi.com/thread/145253?ContentTypeID=1</link><pubDate>Wed, 22 Aug 2018 08:56:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d2c9dcfe-01c0-4a5d-8988-2474faf04dad</guid><dc:creator>Marjeris Romero</dc:creator><description>&lt;p&gt;The UART signals are routed through the interface MCU,&amp;nbsp; can you try connecting your micro USB cable to the J2 connector instead?&lt;br /&gt;&lt;br /&gt; If you are still having issues, could you please upload a picture or drawing of your setup so we can try to reproduce it?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Test UART using GPIO</title><link>https://devzone.nordicsemi.com/thread/145240?ContentTypeID=1</link><pubDate>Wed, 22 Aug 2018 08:20:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ec4c5391-e543-42c7-bb83-c1ac1b2a61f3</guid><dc:creator>Sridhar Jonnavittula</dc:creator><description>&lt;p&gt;Yes. I have used latest SDK V15.0.0 only and kept same settings for COM port&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Test UART using GPIO</title><link>https://devzone.nordicsemi.com/thread/145237?ContentTypeID=1</link><pubDate>Wed, 22 Aug 2018 08:17:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0da71ffa-f449-4b13-81ba-5f76f7e6df27</guid><dc:creator>Marjeris Romero</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Which version of the SDK are you using? Have you checked the information in the infocenter for which settings you need to use to test the example? For instance for the newest SDK you should take a look at &lt;a title="uart-example" href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v15.0.0%2Fuart_example.html&amp;amp;cp=4_0_0_4_5_47_0&amp;amp;anchor=uart_example_testing" rel="noopener noreferrer" target="_blank"&gt;this page.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Marjeris&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Test UART using GPIO</title><link>https://devzone.nordicsemi.com/thread/145225?ContentTypeID=1</link><pubDate>Wed, 22 Aug 2018 07:48:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2a1c17d3-ae2d-48f5-8d76-34e1d80f621c</guid><dc:creator>Sridhar Jonnavittula</dc:creator><description>&lt;p&gt;1. I did not connect USB-RS232 ground pin 5 to any of GND pin on nrf52840 DK&lt;/p&gt;
&lt;p&gt;2. Yes&lt;/p&gt;
&lt;p&gt;3.&amp;nbsp;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1534923975447v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;and example application don&amp;#39;t have &lt;strong&gt;Data and Stop bits.&lt;/strong&gt; Where to set those values?&lt;/p&gt;
&lt;p&gt;4. Yes&lt;/p&gt;
&lt;p&gt;Is it OK to connect micro USB cable to USB J3 on nrf52840 DK for this test case?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Test UART using GPIO</title><link>https://devzone.nordicsemi.com/thread/145213?ContentTypeID=1</link><pubDate>Wed, 22 Aug 2018 07:13:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:60634792-9805-4022-a8f8-abdfad3c3565</guid><dc:creator>cbd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Just to check:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Did you connect the ground wire from your USB-RS232 lead to a ground on the board?&lt;/li&gt;
&lt;li&gt;Did you connect TX to RX on the lead to the board and vice versa?&lt;/li&gt;
&lt;li&gt;Did you configure both ports for the same settings e.g. board rate, stop bits, parity, flow control etc?&lt;/li&gt;
&lt;li&gt;Finally does the USB-RS232 lead give a 3.3V or a 5V output, you&amp;#39;ll need 3.3V.&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>