<?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 cannot return to mainloop after uart receiving</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/14781/nrf51822-cannot-return-to-mainloop-after-uart-receiving</link><description>I am debugging UART routine and met an issue that it can return back to mainloop after UART receiving. Is there anybody who can give any advice?
Thanks in advance.
Alex 
 below is the code: 
 /**@brief Function for initializing the UART module.
</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 28 Jun 2016 10:16:23 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/14781/nrf51822-cannot-return-to-mainloop-after-uart-receiving" /><item><title>RE: nrf51822 cannot return to mainloop after uart receiving</title><link>https://devzone.nordicsemi.com/thread/56440?ContentTypeID=1</link><pubDate>Tue, 28 Jun 2016 10:16:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e4bb5eb9-c283-4f75-8a10-7d6a835c4a13</guid><dc:creator>sunnyjet16</dc:creator><description>&lt;p&gt;I resolved the issue. It is because I forgot to use simple_uart_get() to clear the flag.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>