<?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 Communication error hangs RX/TX nRF52</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/15410/uart-communication-error-hangs-rx-tx-nrf52</link><description>Hi,
I&amp;#39;am having an issue with UART using app_uart_fifo.c (SDK 0.9.2). At times I get communication error (usually at attaching and detaching uart connector) and my error handler: 
 switch(app_uart_evt_p-&amp;gt;evt_type){

 case APP_UART_COMMUNICATION_ERROR</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 29 Jul 2016 12:57:30 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/15410/uart-communication-error-hangs-rx-tx-nrf52" /><item><title>RE: UART Communication error hangs RX/TX nRF52</title><link>https://devzone.nordicsemi.com/thread/58829?ContentTypeID=1</link><pubDate>Fri, 29 Jul 2016 12:57:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ab4f28d2-7b16-4360-bca8-d06828b736da</guid><dc:creator>OskarM</dc:creator><description>&lt;p&gt;I&amp;#39;ll try next week with that.
regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART Communication error hangs RX/TX nRF52</title><link>https://devzone.nordicsemi.com/thread/58828?ContentTypeID=1</link><pubDate>Fri, 29 Jul 2016 10:27:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f0f17920-234b-4be8-aa89-b5bc66c370c3</guid><dc:creator>Ole Bauck</dc:creator><description>&lt;p&gt;This should be fixed in SDK 11.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART Communication error hangs RX/TX nRF52</title><link>https://devzone.nordicsemi.com/thread/58827?ContentTypeID=1</link><pubDate>Fri, 29 Jul 2016 08:40:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2b01a0c1-f9f1-4deb-8e81-a948d0fec735</guid><dc:creator>OskarM</dc:creator><description>&lt;p&gt;I will shortly. I spent few minutes to dig into SDK and from the first glance it will be the same issue in SDK11: interrupts are disabled in UART driver at error and if you use app_uart+app_uart_fifo.c library, there is no way of enabling them without full reinit. I&amp;#39;d recommend putting reinit in app_uart_flush()&lt;/p&gt;
&lt;p&gt;I think a tweak to app_uart_fifo is what I need to do...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART Communication error hangs RX/TX nRF52</title><link>https://devzone.nordicsemi.com/thread/58826?ContentTypeID=1</link><pubDate>Thu, 28 Jul 2016 21:44:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ba064b98-2b1e-4c48-b4a7-169b00e0ed9a</guid><dc:creator>Andrew</dc:creator><description>&lt;p&gt;I don&amp;#39;t know if it will solve your issue, but I would start with migrating away from the alpha SDK and implementing production level SDK 11.  You will find you get very little support for SDK 0.9.x&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>