<?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>UART Service instant overflow</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/25323/uart-service-instant-overflow</link><description>I&amp;#39;m trying to create a program that takes a stream of UART data at 115k baud streaming in and sends it over BLE as fast as possible. So far, I&amp;#39;ve 
 (1)Verified/ made some tweaks to the Nordic UART Service (NUS) and validated I can see the stream with</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 21 Sep 2017 04:16:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/25323/uart-service-instant-overflow" /><item><title>RE: UART Service instant overflow</title><link>https://devzone.nordicsemi.com/thread/99794?ContentTypeID=1</link><pubDate>Thu, 21 Sep 2017 04:16:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a8c4b2c2-b1d5-4e3a-b072-36685bed632f</guid><dc:creator>Drewster</dc:creator><description>&lt;p&gt;Found the answer - it&amp;#39;s a little dumb..&lt;/p&gt;
&lt;p&gt;in ble_evt_dispatch it looks like I forgot to add the NUS! Naturally, it was never getting into a &amp;quot;connected&amp;quot; state&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART Service instant overflow</title><link>https://devzone.nordicsemi.com/thread/99791?ContentTypeID=1</link><pubDate>Wed, 20 Sep 2017 13:44:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:53eb3b6f-bce7-47ff-b760-a48873436f1e</guid><dc:creator>Drewster</dc:creator><description>&lt;p&gt;@Martin I edited my post to account for most of your comment. The errors occur with UART connected, otherwise it seems to just hang out and connect to devices fine. I&amp;#39;ve added more detail on the errors and when they occur above.&lt;/p&gt;
&lt;p&gt;&amp;quot;Initialize UART&amp;quot; was just bad structure - that&amp;#39;s just on the list of successful things&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART Service instant overflow</title><link>https://devzone.nordicsemi.com/thread/99793?ContentTypeID=1</link><pubDate>Wed, 20 Sep 2017 07:27:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3f338d7d-c06f-4f99-9fb2-af8c46efcdd8</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;It is possible to &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/uarte.html?cp=2_1_0_34_9_9#register.PSEL.RXD"&gt;disconnect the RX pin altogether&lt;/a&gt; if you need to test this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART Service instant overflow</title><link>https://devzone.nordicsemi.com/thread/99792?ContentTypeID=1</link><pubDate>Wed, 20 Sep 2017 07:26:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b5f50812-d7cd-4a2b-a974-c0114544239a</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Can you try to set NRF_LOG_DEFAULT_LEVEL to &amp;#39;Debug&amp;#39; in sdk_config.h so that maybe we can get some more detailed logging.&lt;/li&gt;
&lt;li&gt;If you leave the RX line on the nRF52 unconnected and floating in the wind it is pretty common to get UART errors because it picks up noise which registers as incoherent UART frames.&lt;/li&gt;
&lt;li&gt;Do you at any point, with RX connected or not, get any error info out of the UART event handler? The parameter passed into the handler might contain some valuable info. You can find the info in &lt;code&gt;p_event-&amp;gt;data.error_communication&lt;/code&gt; and/or &lt;code&gt;p_event-&amp;gt;data.error_code&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;You say that &amp;quot;Debugging points to a UART overrun&amp;quot;. Are there any specific clues that points to this?&lt;/li&gt;
&lt;li&gt;In your list of bullet points you list &amp;quot;Initialize UART&amp;quot; after you get the &lt;code&gt;APP:INFO:Disconnected&lt;/code&gt; message. Is this correct and as intended?&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>