<?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>Enabling DMA mode aka UARTE0 in Nrf52832</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/95852/enabling-dma-mode-aka-uarte0-in-nrf52832</link><description>Hi, 
 I have interfaced nRF52832 module with a main MCU for UART communication. The data received at the uart_cb are 1 byte each. Which slows down the whole communication. 
 So my assumption is that UARTE0 is not enabled. Is there any document to refer</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 19 Jan 2023 14:04:17 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/95852/enabling-dma-mode-aka-uarte0-in-nrf52832" /><item><title>RE: Enabling DMA mode aka UARTE0 in Nrf52832</title><link>https://devzone.nordicsemi.com/thread/405701?ContentTypeID=1</link><pubDate>Thu, 19 Jan 2023 14:04:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5a8bf478-19a3-4d4d-b2da-591e06f0a94b</guid><dc:creator>Sachin</dc:creator><description>&lt;p&gt;Some more observations:. Please note I am using peripheral_uart as my reference code.&lt;/p&gt;
&lt;p&gt;1. BaudRate set to 56000,&amp;nbsp;UART_WAIT_FOR_RX set to 50 UART_BUF_SIZE set to 40&amp;nbsp;&lt;strong&gt;64 bytes of data takes 100mSec&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;2.&amp;nbsp;&lt;span&gt;BaudRate set to 56000,&amp;nbsp;UART_WAIT_FOR_RX set to 1000&amp;nbsp;&lt;/span&gt;&lt;span&gt;UART_BUF_SIZE set to 80&amp;nbsp;&lt;/span&gt;&lt;strong&gt;64 bytes of data takes 1mSec&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Is there any reason behind the such a change in actual throughput?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enabling DMA mode aka UARTE0 in Nrf52832</title><link>https://devzone.nordicsemi.com/thread/405667?ContentTypeID=1</link><pubDate>Thu, 19 Jan 2023 12:27:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:83b56253-8ff6-403d-b5bb-e08097e703e2</guid><dc:creator>Sachin</dc:creator><description>&lt;p&gt;Hi &lt;a href="https://devzone.nordicsemi.com/members/oivind"&gt;Øivind&lt;/a&gt;&amp;nbsp;,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Appreciate the quick revert. I am using nRF connect SDK 2.0.2. Yes, the&amp;nbsp;&amp;quot;nordic,nrf-uarte&amp;quot; is set as well. However the data communication speed is very low. Even when baud rate is set to 56000 the speed I am receiving 1 byte at 6msec.Should I change any other config settings to get right speed?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enabling DMA mode aka UARTE0 in Nrf52832</title><link>https://devzone.nordicsemi.com/thread/405653?ContentTypeID=1</link><pubDate>Thu, 19 Jan 2023 11:58:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ee8c6512-3b92-436b-811b-ddabac1e0025</guid><dc:creator>&amp;#216;ivind</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Which version of the nRF Connect SDK are you using? In old versions of the SDK the nrf52832 was set to use uart without Easy DMA by default.&lt;/p&gt;
&lt;p&gt;In an overlay file, try setting the compatible field of the uart0 devicetree node to use the uarte driver:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;amp;uart0 {
    compatible = &amp;quot;nordic,nrf-uarte&amp;quot;;
};&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>