<?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>nRF52 UART locks up after OVERFLOW error</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/24817/nrf52-uart-locks-up-after-overflow-error</link><description>Hi! 
 I&amp;#39;m using an NRF52 with app_uart. As expected at 115200 baud rate, I occasionally get overflow errors which I can see in my event handler. 
 However, after these errors the UART no longer receives any characters and is broken until I reinitialise</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 02 Aug 2018 15:14:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/24817/nrf52-uart-locks-up-after-overflow-error" /><item><title>RE: nRF52 UART locks up after OVERFLOW error</title><link>https://devzone.nordicsemi.com/thread/142666?ContentTypeID=1</link><pubDate>Thu, 02 Aug 2018 15:14:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8aa729fb-1062-4beb-8188-8ae6aaa545cc</guid><dc:creator>jimparis_</dc:creator><description>&lt;p&gt;The real cause is likely this: &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/37120/nrfx_uart-bug"&gt;devzone.nordicsemi.com/.../nrfx_uart-bug&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 UART locks up after OVERFLOW error</title><link>https://devzone.nordicsemi.com/thread/97708?ContentTypeID=1</link><pubDate>Thu, 07 Sep 2017 07:35:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4033e508-8f2d-4f1b-9c76-2ab78ae801a6</guid><dc:creator>Gordon</dc:creator><description>&lt;p&gt;And you have to totally uninit and reinit the UART to clear it? nRF51 had &lt;code&gt;UART_ERRORSRC_OVERRUN_Clear&lt;/code&gt;, but it seems that nRF52 doesn&amp;#39;t have that?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 UART locks up after OVERFLOW error</title><link>https://devzone.nordicsemi.com/thread/97710?ContentTypeID=1</link><pubDate>Wed, 06 Sep 2017 22:44:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fc84f783-98b7-4166-9c0d-c7da23cb4d31</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;I don&amp;#39;t think so. You need to clear the event directly by setting the event&amp;#39;s flag to zero&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 UART locks up after OVERFLOW error</title><link>https://devzone.nordicsemi.com/thread/97709?ContentTypeID=1</link><pubDate>Tue, 05 Sep 2017 07:47:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e8c1f54d-5e5f-486f-a2df-378d92ad6fc9</guid><dc:creator>Gordon</dc:creator><description>&lt;p&gt;Ok, thanks! Will that code also clear the overflow event?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 UART locks up after OVERFLOW error</title><link>https://devzone.nordicsemi.com/thread/97707?ContentTypeID=1</link><pubDate>Fri, 01 Sep 2017 12:58:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:194a80f0-c944-41ce-a050-d5e6ff281eed</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Gordon,&lt;/p&gt;
&lt;p&gt;I afraid you will have to clear the event and reinit the uart drv:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;nrf_drv_uart_uninit(&amp;amp;_uart_instance);
uart_init();
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 UART locks up after OVERFLOW error</title><link>https://devzone.nordicsemi.com/thread/97706?ContentTypeID=1</link><pubDate>Thu, 31 Aug 2017 14:38:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cdbdc536-c2a9-48eb-bc11-adb295eaa0c7</guid><dc:creator>Matt</dc:creator><description>&lt;p&gt;You need to consult with the Nordic experts then. As for my own application (PC &amp;lt;-serial -&amp;gt; N52832 &amp;lt;-ble-&amp;gt; N52832) again I do not have the luxury of utilizing flow control (the usb to ttl console cable does not come with flow control lines!) so I just implement my own makeshift flow control in the application message layer.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 UART locks up after OVERFLOW error</title><link>https://devzone.nordicsemi.com/thread/97705?ContentTypeID=1</link><pubDate>Thu, 31 Aug 2017 13:56:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:38097a8c-d609-4414-b208-fdb8da8c5adc</guid><dc:creator>Gordon</dc:creator><description>&lt;p&gt;I&amp;#39;m afraid not. It&amp;#39;s for the Espruino JS interpreter so it&amp;#39;s pretty general purpose and I can&amp;#39;t guarantee there will always be flow control available. I&amp;#39;m honestly not worried about the overflows, it&amp;#39;s the recovery afterwards that&amp;#39;s an issue for me.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 UART locks up after OVERFLOW error</title><link>https://devzone.nordicsemi.com/thread/97704?ContentTypeID=1</link><pubDate>Thu, 31 Aug 2017 13:40:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:12ee25f9-fc15-432c-b8d4-1edbd076cb84</guid><dc:creator>Matt</dc:creator><description>&lt;p&gt;Can you enable flow control here? Does the other end (eg. the PC end) support the flow control lines ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>