<?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>Cannot communicate over UART</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/16216/cannot-communicate-over-uart</link><description>Hello, 
 I have some problems with UART communication with my nRF51 DK.
When I connect it through USB cable, all is ok. But when I connect pins: P0.09(TXD), P0.11(RXD) to my USB/UART converter, nothing happens on terminal. I have also custom board with</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 10 Oct 2016 07:05:15 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/16216/cannot-communicate-over-uart" /><item><title>RE: Cannot communicate over UART</title><link>https://devzone.nordicsemi.com/thread/61935?ContentTypeID=1</link><pubDate>Mon, 10 Oct 2016 07:05:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fd97a439-b56f-427a-9731-15afa10f377e</guid><dc:creator>AZI</dc:creator><description>&lt;p&gt;Thanks! I got direct UART with external MCU(Arduino) working using the default config with HWFC disabled &amp;amp; UART pin 11 for Rx (unidirectional and didn&amp;#39;t use TX) and connecting the grounds.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot communicate over UART</title><link>https://devzone.nordicsemi.com/thread/61936?ContentTypeID=1</link><pubDate>Mon, 10 Oct 2016 04:59:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d41740b8-8002-41e6-b04c-2b977fa3d2d4</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;well that has nothing to do with the original question at all, which was about using the UART not over USB. The requirement for DTR from the remote end has nothing to do with the nrf51822 MCU either, the requirement for DTR comes from the interface MCU, the Atmel/Segger chip; and that requirement is documented in the devkit user guide.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot communicate over UART</title><link>https://devzone.nordicsemi.com/thread/61934?ContentTypeID=1</link><pubDate>Fri, 07 Oct 2016 20:06:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:42696e59-fe8a-4ff7-a2e1-d6319eef75d0</guid><dc:creator>AZI</dc:creator><description>&lt;p&gt;It seems nrf51822 UART MCU expects a DTR from the remote end(DTE) while connecting to external MCU over USB.  Works fine with termite on PC as it uses Virtual COM port/ CDC and software raises DTR in order to wake up the nrf51822 MCU. Arduino doesn&amp;#39;t support this with it&amp;#39;s USB CDC.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot communicate over UART</title><link>https://devzone.nordicsemi.com/thread/61933?ContentTypeID=1</link><pubDate>Mon, 12 Sep 2016 12:45:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ae43a0af-af09-4ba2-a006-4a8133edf86a</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;perhaps your UART/USB converter doesn&amp;#39;t work, or you&amp;#39;re using the wrong baud rate, or the wrong flow control. There&amp;#39;s really nothing else to suggest, you&amp;#39;ve connected the pins, you&amp;#39;re running the code, if it doesn&amp;#39;t work then you need to get a signal analyser on it and see what&amp;#39;s going on.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot communicate over UART</title><link>https://devzone.nordicsemi.com/thread/61931?ContentTypeID=1</link><pubDate>Mon, 12 Sep 2016 12:36:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b6b551ef-ba23-4a13-9388-6f60236bc942</guid><dc:creator>Pawel</dc:creator><description>&lt;p&gt;Thank you for your answer, RK.
I tried other pins(P0.12-P0.16), but result is the same - nothing on terminal. Any other clues?&lt;/p&gt;
&lt;p&gt;Below I paste my post from deleted topic:&lt;/p&gt;
&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Could somebody tell me how to proper use UART pins located on my nRF51DK board?&lt;/p&gt;
&lt;p&gt;I connected RX(P0.11), CTS(P0.10), TX(P0.09), RTS(P0.08) and GND to the relevant pins on my USB/UART converter connected to the PC. DK is powered throught USB cable connected to the PC. I tested ble_app_uart example and these are the results:&lt;/p&gt;
&lt;p&gt;In terminal I connected to port COM of USB/UART and nothing happens, even after i restarted board. After that i connected to port COM of USB cable connected directly to the DK and program works well.&lt;/p&gt;
&lt;p&gt;So, how should I use these UART pins on my board?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot communicate over UART</title><link>https://devzone.nordicsemi.com/thread/61929?ContentTypeID=1</link><pubDate>Mon, 12 Sep 2016 12:00:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4d0f7273-709c-49cc-8128-96b1b5fe1913</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;Pins P0.9 and 0.11 are already used by the onboard segger, you can&amp;#39;t connect the same pins to two UARTS, it&amp;#39;s not going to work. Choose pins which are NOT used by the onboard segger or anything else and use those.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot communicate over UART</title><link>https://devzone.nordicsemi.com/thread/61932?ContentTypeID=1</link><pubDate>Thu, 08 Sep 2016 10:31:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6b65c5fd-cb3c-43b0-a6b4-1c55dbde6583</guid><dc:creator>Pawel</dc:creator><description>&lt;p&gt;No, it is not working with other pins.
When i disable HW flow control it is working, but only with usb pluged into devkit, not working through pins connected to USB/UART converter.
I tried examples with UART form SDK and it behaves in the same way. So it should not be an error condition and reset. As I mentioned before, the same code runs ok when USB cable is connected to board, but when I try to connect UART pins to the USB/UART converter it is not working.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot communicate over UART</title><link>https://devzone.nordicsemi.com/thread/61930?ContentTypeID=1</link><pubDate>Wed, 07 Sep 2016 15:34:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4bfa35d1-fee1-4da2-897c-1997e1dc5150</guid><dc:creator>Ole Bauck</dc:creator><description>&lt;p&gt;Do it work with other pins? Do it work with the onboard chip if you disable HW flow control?&lt;/p&gt;
&lt;p&gt;Your code might run into an error condition and reset, see &lt;a href="https://devzone.nordicsemi.com/question/60125/my-device-is-freezing-and-restarting/"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>