<?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 get uart_example to work on NRF51822?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/360/how-to-get-uart_example-to-work-on-nrf51822</link><description>I am unable to see any uart print output when running the uart_example with NRF51822. I am able to see the program execute via the debugger, but have not seen any output. I have tried using it with and without the SoftDevice flashed, using the appropriate</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 10 Oct 2014 11:32:23 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/360/how-to-get-uart_example-to-work-on-nrf51822" /><item><title>RE: How to get uart_example to work on NRF51822?</title><link>https://devzone.nordicsemi.com/thread/1881?ContentTypeID=1</link><pubDate>Fri, 10 Oct 2014 11:32:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a7b1c402-7390-4420-b77d-648c0611b81f</guid><dc:creator>Anne van Rossum</dc:creator><description>&lt;p&gt;Off topic: What I can recommend is also to buy the (very cheap) Saleae logic analyzer. I was following &lt;a href="https://devzone.nordicsemi.com/documentation/nrf51/6.1.0/s110/html/a00009.html#nrf51_setup_nrf6310"&gt;devzone.nordicsemi.com/.../a00009.html&lt;/a&gt; as a good boy, but discovered in the end that I failed to set the baud rate right, e.g. 0x009D5000UL for 38400 baud. Not only can you see if you didn&amp;#39;t switch TX and RX by accident. The automatic baud rate detection of the logic analyzer software can solve these problems in no time!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get uart_example to work on NRF51822?</title><link>https://devzone.nordicsemi.com/thread/1880?ContentTypeID=1</link><pubDate>Tue, 27 Aug 2013 13:30:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d49fc14d-3315-4bb1-8eaa-e5e159e2cdd9</guid><dc:creator>Francis</dc:creator><description>&lt;p&gt;Thank you!  That got me on the right track.  I had some minor differences.&lt;/p&gt;
&lt;p&gt;Without any changes to the UART example that I have,  the pin assignments are (taken from nrf6310.h included by the uart_example):&lt;/p&gt;
&lt;p&gt;#define RX_PIN_NUMBER  16    // UART RX pin number.
#define TX_PIN_NUMBER  17    // UART TX pin number.
#define CTS_PIN_NUMBER 18    // UART Clear To Send pin number.
#define RTS_PIN_NUMBER 19    // Not used if HWFC is set to false&lt;/p&gt;
&lt;p&gt;For a nrf51822-DK (PCA10005) connected to a nrf6310, I connected P15&amp;#39;s RXD and TXD to P2.0 and P2.1, respectively.  I also connected P15&amp;#39;s CTS and RTS to P2.2 and P2.3, respectively.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get uart_example to work on NRF51822?</title><link>https://devzone.nordicsemi.com/thread/1879?ContentTypeID=1</link><pubDate>Tue, 27 Aug 2013 06:49:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f8833ce8-3114-4fa1-a348-312c5b0cdc0c</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;If you&amp;#39;re using the Development Kit, and flashing to that module, you need to connect a serial cable or USB-to-UART bridge to the serial port on the motherboard and also make sure that the appropriate pins of the nRF51822 (pin 15 and 16 by default) are connected to the RXD/TXD on P15. This is shown in section 2.9 in the &lt;a href="https://www.nordicsemi.com/eng/content/download/2451/29519/file/nRF6700%20User%20Guide%20v1.6.pdf"&gt;nRFgo Starter Kit User Guide&lt;/a&gt;. Your UART settings seems correct for such setup.&lt;/p&gt;
&lt;p&gt;The J-Link CDC port you see is most likely the one that your development dongle exposes, so if you flash the pca10000 UART example to it, you should see UART data coming out of it. This port requires hardware flow control&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>