<?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>nrf51822 uart only works when connected to debugger</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/40932/nrf51822-uart-only-works-when-connected-to-debugger</link><description>Hi, 
 I am using nRF5_SDK_12.3.0 and writing customized firmware based on uart example. 
 Everything works fine with the DK. Then I program the firmware to a nrf51822 module using the DK after modifying the board definition to fix my customized board</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 03 Dec 2018 09:10:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/40932/nrf51822-uart-only-works-when-connected-to-debugger" /><item><title>RE: nrf51822 uart only works when connected to debugger</title><link>https://devzone.nordicsemi.com/thread/159904?ContentTypeID=1</link><pubDate>Mon, 03 Dec 2018 09:10:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:13f3903d-a999-4434-a614-7ff65bb708f9</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;I am happy you figured it out, and glad to help. Please ask if you encounter any more problems.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51822 uart only works when connected to debugger</title><link>https://devzone.nordicsemi.com/thread/159475?ContentTypeID=1</link><pubDate>Thu, 29 Nov 2018 08:15:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:433e1171-f750-47c4-be75-64883daff511</guid><dc:creator>JonesNg</dc:creator><description>&lt;p&gt;Hi Simon,&lt;/p&gt;
&lt;p&gt;I noticed that the wire between the uart to usb dongle and the module was damaged. Therefore, the dongle needs the DK to complete the circuitry so as to read the uart signal correctly.&lt;/p&gt;
&lt;p&gt;After changing the wiring, the uart message can be seen without connected to the DK.&lt;/p&gt;
&lt;p&gt;Thanks for you help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51822 uart only works when connected to debugger</title><link>https://devzone.nordicsemi.com/thread/159458?ContentTypeID=1</link><pubDate>Thu, 29 Nov 2018 01:20:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bbcbd70a-d1bb-464f-9cce-4346ca368504</guid><dc:creator>JonesNg</dc:creator><description>&lt;p&gt;Here are the answers of the questions:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;I connect the VTG, SWDIO, SWDCLK AND GND from P20 of the nrf51 DK to VCC (3.3V), SWDIO, SWDCLK and GND to the module.&lt;/li&gt;
&lt;li&gt;I use an connect UART TX, UART RX and GND to a uart to usb dongle and display the message in PC using a serial tool.&lt;/li&gt;
&lt;li&gt;I am using a module with nrf51822AA with external crystal of 16MHz and 32.768KHz.&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51822 uart only works when connected to debugger</title><link>https://devzone.nordicsemi.com/thread/159418?ContentTypeID=1</link><pubDate>Wed, 28 Nov 2018 13:43:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4e5b2755-6587-49ad-a6a8-cc0edafce2c4</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;I have some questions first:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;How do you connect your module to the DK?&lt;/li&gt;
&lt;li&gt;How do you read the UART messages?&lt;/li&gt;
&lt;li&gt;Are you using an external crystal? By default, the UART will use the RC oscillator (see page 28 in&amp;nbsp;&lt;a href="http://infocenter.nordicsemi.com/pdf/nRF51822_PS_v3.3.pdf"&gt;nRF51822, Product Specification v3.3&lt;/a&gt; ), which&amp;nbsp;has a&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/21658/my-nrf51822-can-not-reach-1mbaud-on-an-uart-serial-uart-communication"&gt;high tolerance&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>