<?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 interrupt</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/94563/uart-interrupt</link><description>Hi team, 
 I am using Segger 5.4 version and nordic SDK 16.0v for the nRF52840 microcontroller. I am working on UART peripheral to send and receive data through interrupt method. I am using UART_APP_FIFO_INIT() API to generate interrupts. In the interrupt</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 06 Dec 2022 11:20:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/94563/uart-interrupt" /><item><title>RE: UART interrupt</title><link>https://devzone.nordicsemi.com/thread/399156?ContentTypeID=1</link><pubDate>Tue, 06 Dec 2022 11:20:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7ae63fae-2963-44dd-9f55-ce5ee8f53a58</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The UART and UARTE peripherals will typically generate interrupts every time data is transmitted or received over the UART. If you send more data every time the previous data was sent it makes sense that you would end up in a loop, where you keep sending data forever.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The idea behind the app_uart_fifo driver is that you should not need to worry about the interrupt handling directly. You just forward data to the app_uart_fifo interface, and it will be buffered and sent automatically.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Whenever there is RX data to process this will be forwarded to the application through a callback function.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Can you let me know what you want to use the UART for?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Are you just using it to send log messages, or something else?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>