<?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 overrun handling FIFO</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/57758/uart-overrun-handling-fifo</link><description>Hi 
 We&amp;#39;ve some trouble with the UART (not UARTE) of the nRF52840. We use a baudrate of 38400. Because of HW limitations and power constrains, we do either have flow control nor DMA. We use currently the SDK Version 15.2. 
 Under some circumstances, an</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 13 Feb 2020 09:09:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/57758/uart-overrun-handling-fifo" /><item><title>RE: UART overrun handling FIFO</title><link>https://devzone.nordicsemi.com/thread/234121?ContentTypeID=1</link><pubDate>Thu, 13 Feb 2020 09:09:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3f80c789-6ded-454e-86c1-8720d2b0efe0</guid><dc:creator>Turbo J</dc:creator><description>[quote userid="74761" url="~/f/nordic-q-a/57758/uart-overrun-handling-fifo"]his because the softdevice will sometimes block the irq of the UART s[/quote]
&lt;p&gt;Try raising the UART IRQ priority to APP_IRQ_PRIORITY_HIGHEST.&lt;/p&gt;
&lt;p&gt;The highest prio available to the app can actually preempt some non-timing critical softdevice tasks. This may (or may not) be enough for 38k baud.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;UARTE and UART sould have roughly similar power consumtion. Both need HFCLK running for proper UART timing.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>