<?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>How to trigger dma buffer with UARTE (no async)?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/69761/how-to-trigger-dma-buffer-with-uarte-no-async</link><description>Dear Devzoners, 
 I have a question about triggering received data via UART with the nrf_libuarte_drv . 
 Prehistory: We started using the libuarte async driver, but due to data losses (because of timer restarting after each receive event) we are looking</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 22 Dec 2020 12:36:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/69761/how-to-trigger-dma-buffer-with-uarte-no-async" /><item><title>RE: How to trigger dma buffer with UARTE (no async)?</title><link>https://devzone.nordicsemi.com/thread/286284?ContentTypeID=1</link><pubDate>Tue, 22 Dec 2020 12:36:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:28a4838c-3cc3-464a-b2e1-b92532a6400b</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Jeff&lt;/p&gt;
&lt;p&gt;Possibly the &lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/uarte.html?cp=4_0_0_5_33_8_7#register.EVENTS_RXDRDY"&gt;RXDRDY event&lt;/a&gt; in the UARTE peripheral is what you need. This event should be generated after each received byte, and if you combine it with some form of timeout mechanism you can use it to detect that a transaction over the UART was just completed.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;As a side note it is odd to hear that you weren&amp;#39;t able to get the async driver working properly. By setting up the RAM buffers properly it should be possible to use the driver in such a way that&amp;nbsp;you don&amp;#39;t get any data loss, and if there is an issue in the driver preventing this then it&amp;#39;s something we need to look into.&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>