<?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>APP_UART_COMMUNICATION_ERROR</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/15675/app_uart_communication_error</link><description>I&amp;#39;m trying to hook up a nRF51 to two other devices. One is connected with UART and the other through BLE (NUS). 
 The connection with BLE is working fine. But as soon as the UART receives data the module resets. I found that this reset is because of</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 29 Apr 2020 06:17:15 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/15675/app_uart_communication_error" /><item><title>RE: APP_UART_COMMUNICATION_ERROR</title><link>https://devzone.nordicsemi.com/thread/247204?ContentTypeID=1</link><pubDate>Wed, 29 Apr 2020 06:17:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d6e495d6-cd76-4de2-a74e-91a64ef73ee3</guid><dc:creator>Somesh Burkule</dc:creator><description>&lt;p&gt;Ok. thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: APP_UART_COMMUNICATION_ERROR</title><link>https://devzone.nordicsemi.com/thread/247167?ContentTypeID=1</link><pubDate>Tue, 28 Apr 2020 18:43:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4237cb1f-930e-45e5-961b-5510cdf1f47a</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Somesh, please open a new case giving details about the problem you have and the development environment you are using.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: APP_UART_COMMUNICATION_ERROR</title><link>https://devzone.nordicsemi.com/thread/247118?ContentTypeID=1</link><pubDate>Tue, 28 Apr 2020 13:37:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f17c99dd-9cee-485d-9859-28830bfd5682</guid><dc:creator>Somesh Burkule</dc:creator><description>&lt;p&gt;Hi &lt;a href="https://devzone.nordicsemi.com/members/aryan"&gt;Susheel Nuguru&lt;/a&gt;,&lt;/p&gt;
&lt;p&gt;I am also getting the same issue.&lt;/p&gt;
&lt;p&gt;I tried with increasing Rx and Tx buffer size to 512, still nrf resets.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I am using&amp;nbsp;APP_ERROR_HANDLER(p_event-&amp;gt;data.error_communication) in uart_event_handle when&amp;nbsp;APP_UART_COMMUNICATION_ERROR occurs which calls to app_error_handler_bare((ERR_CODE)) and nrf resets here.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;How to resove it? why this error comes?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: APP_UART_COMMUNICATION_ERROR</title><link>https://devzone.nordicsemi.com/thread/59875?ContentTypeID=1</link><pubDate>Fri, 12 Aug 2016 16:44:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:79d825fc-2412-442a-aed9-d63714c19bd0</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Thank you for updating this thread&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: APP_UART_COMMUNICATION_ERROR</title><link>https://devzone.nordicsemi.com/thread/59874?ContentTypeID=1</link><pubDate>Fri, 12 Aug 2016 14:29:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:69dc4576-9825-4f29-86c2-3d5e8dfb3b07</guid><dc:creator>Michel</dc:creator><description>&lt;p&gt;There was something correpted in my code. I couldn&amp;#39;t find it, so I started all over. And now I got rid of all the issues.&lt;/p&gt;
&lt;p&gt;The buffersize was increased to 1024 but still after receiving 7 chars it caused the error. I don&amp;#39;t know how it got corrupted, but it&amp;#39;s working fine now.&lt;/p&gt;
&lt;p&gt;Thanks for you support.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: APP_UART_COMMUNICATION_ERROR</title><link>https://devzone.nordicsemi.com/thread/59873?ContentTypeID=1</link><pubDate>Wed, 10 Aug 2016 20:03:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:61338d16-051f-4632-be16-344420540da9</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;the maximum size is what ever RAM is available for your fifo module without causing a stack overflow. You can calculate it if you can see your .map file.&lt;/p&gt;
&lt;p&gt;example can me&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;RAMSIZE_ON_YOUR_DEVICE minus 
RAM USED BY SOFTDEVICE minus
RAM used by your application = RAM left unused
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: APP_UART_COMMUNICATION_ERROR</title><link>https://devzone.nordicsemi.com/thread/59872?ContentTypeID=1</link><pubDate>Wed, 10 Aug 2016 18:41:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9e10121f-854d-427a-9d69-8c0b02aa785c</guid><dc:creator>Michel</dc:creator><description>&lt;p&gt;Thank you For your reply.&lt;/p&gt;
&lt;p&gt;I already played with the buffer size. How big can I make this buffer? What will be the maximum?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: APP_UART_COMMUNICATION_ERROR</title><link>https://devzone.nordicsemi.com/thread/59871?ContentTypeID=1</link><pubDate>Wed, 10 Aug 2016 16:29:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1738f08f-7cdd-4359-8c27-5302ccb9474b</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;increase your  TX/RX fifo buffer so that fifo has more free buffer in hand (this must be some #define in your main.c file). The APP_UART_COMMUNICATION_ERROR says that the error was inside app_uart_fifo.c module and since it was unable to get free buffer from fifo module, the uart driver bailed out.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>