<?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 IRQ stops firing after string received and one character transmitted</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/15873/uart-irq-stops-firing-after-string-received-and-one-character-transmitted</link><description>I can send a CR terminated string through the UART using tx fifo OK. 
 BUT, if I receive a string from the UART rx OK first, and then try to send a string, only the 1st character is transmitted through the UART tx, then the uart IRQ stops firing (UART0_IRQHandler</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 24 Aug 2016 11:30:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/15873/uart-irq-stops-firing-after-string-received-and-one-character-transmitted" /><item><title>RE: UART IRQ stops firing after string received and one character transmitted</title><link>https://devzone.nordicsemi.com/thread/60558?ContentTypeID=1</link><pubDate>Wed, 24 Aug 2016 11:30:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7adb07a9-d252-4ecf-a7c7-19895a9aa069</guid><dc:creator>Ole Bauck</dc:creator><description>&lt;p&gt;Sounds strange. Would you share the code? You can update the question with the code added. You are not running into an error condition, ie ending up in the error handler or resetting?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART IRQ stops firing after string received and one character transmitted</title><link>https://devzone.nordicsemi.com/thread/60556?ContentTypeID=1</link><pubDate>Tue, 23 Aug 2016 17:18:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d74a784-c521-4b6c-9ad6-5916befccd05</guid><dc:creator>dcollier8</dc:creator><description>&lt;p&gt;Yes, we are using app_uart_get and app_uart_put, and no we are not using flow control. I increased the interrupt priority, but no difference. I don&amp;#39;t see anything that could block the interrupt (uart) from firing.
The receive buffer looks good, btw. Remember sending a string is fine, UNLESS a string is received first.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART IRQ stops firing after string received and one character transmitted</title><link>https://devzone.nordicsemi.com/thread/60557?ContentTypeID=1</link><pubDate>Tue, 23 Aug 2016 12:11:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1e602f4a-b329-4374-8700-efe4fabb67de</guid><dc:creator>Ole Bauck</dc:creator><description>&lt;p&gt;I assume you are using app_uart_fifo.c (and not app_uart.c)?&lt;/p&gt;
&lt;p&gt;When you receive a byte you should retrieve it from the fifo with app_uart_get(..).&lt;/p&gt;
&lt;p&gt;Are you doing any other operations in your code that may block the uart interrupt from firing? The uart interrupt will by default run at APP_PRIORITY_LOW. Are you using HW flow control and have you monitored these lines (specifically CTS)?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>