<?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>With nRF Connect SDK, how to I change uart0 to &amp;quot;nRF UART without EasyDMA&amp;quot;?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/77652/with-nrf-connect-sdk-how-to-i-change-uart0-to-nrf-uart-without-easydma</link><description>It was suggested in other cases that it may be more power efficient to use uart without easydma in some cases. 
 I am using NCS and I see CONFIG_UART_0_NRF_UARTE is defined which suggests I am using uart with EasyDMA. 
 What is the right way to change</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 09 Aug 2021 18:09:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/77652/with-nrf-connect-sdk-how-to-i-change-uart0-to-nrf-uart-without-easydma" /><item><title>RE: With nRF Connect SDK, how to I change uart0 to "nRF UART without EasyDMA"?</title><link>https://devzone.nordicsemi.com/thread/324085?ContentTypeID=1</link><pubDate>Mon, 09 Aug 2021 18:09:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d5cbc099-f8df-4a15-a5a6-5c90ba21211a</guid><dc:creator>ayavilevich</dc:creator><description>&lt;p&gt;Hey,&lt;/p&gt;
&lt;p&gt;Thanks, this is what I was looking for.&lt;/p&gt;
&lt;p&gt;By adding&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;amp;uart0 {
	compatible = &amp;quot;nordic,nrf-uart&amp;quot;;
};&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;(note, must not have space)&lt;/p&gt;
&lt;p&gt;to a &amp;quot;nrf52840dk_nrf52840.overlay&amp;quot; file in the project I was able to change the driver for uart0.&lt;/p&gt;
&lt;p&gt;Unfortunately this didn&amp;#39;t have an effect of changing power consumption like I expected based on other discussions. I will check further.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: With nRF Connect SDK, how to I change uart0 to "nRF UART without EasyDMA"?</title><link>https://devzone.nordicsemi.com/thread/323792?ContentTypeID=1</link><pubDate>Fri, 06 Aug 2021 13:57:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:53df2d76-d641-4fb6-9a71-0f5fbff76f33</guid><dc:creator>Heidi</dc:creator><description>&lt;p&gt;Oh, I see.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Looks like this is set by&amp;nbsp;checking&amp;nbsp;the DeviceTree. So you will need to an overlay file and change the uart0 node so that the compatible property is&amp;nbsp;&lt;span&gt;&amp;quot;nordic,nrf-uart&amp;quot;, instead of &amp;quot;nordic,nrf-uarte&amp;quot;.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;So add a file &amp;lt;board_name.overlay&amp;gt; with the contents:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;amp;uart0 {
	compatible = &amp;quot;nordic, nrf-uart&amp;quot;;
};&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: With nRF Connect SDK, how to I change uart0 to "nRF UART without EasyDMA"?</title><link>https://devzone.nordicsemi.com/thread/323225?ContentTypeID=1</link><pubDate>Wed, 04 Aug 2021 07:24:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c65661e0-a481-4f74-bc08-0a1c284052ad</guid><dc:creator>ayavilevich</dc:creator><description>&lt;p&gt;Hi, if I add CONFIG_SERIAL=n to the prj.conf file then it will disable serial/uart for the project. This is not what I am asking about.&lt;/p&gt;
&lt;p&gt;What I am trying to do is not to disable serial but make a configuration such that CONFIG_UART_0_NRF_UARTE=n and CONFIG_UART_0_NRF_UART=y (which are not user-configurable entries).&lt;/p&gt;
&lt;p&gt;And so that I am using the code in &lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/master/drivers/serial/uart_nrfx_uart.c"&gt;https://github.com/nrfconnect/sdk-zephyr/blob/master/drivers/serial/uart_nrfx_uart.c&lt;/a&gt; rather than in &lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/master/drivers/serial/uart_nrfx_uarte.c"&gt;https://github.com/nrfconnect/sdk-zephyr/blob/master/drivers/serial/uart_nrfx_uarte.c&lt;/a&gt; .&lt;/p&gt;
&lt;p&gt;The reason why I am looking to do that is because of power consumption. More information here: &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/47578/nrf52832-uart-power-consumption"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/47578/nrf52832-uart-power-consumption&lt;/a&gt; .&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: With nRF Connect SDK, how to I change uart0 to "nRF UART without EasyDMA"?</title><link>https://devzone.nordicsemi.com/thread/323071?ContentTypeID=1</link><pubDate>Tue, 03 Aug 2021 11:20:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:78a25f20-3ff8-4c1a-9c05-d8f1a8b3cc95</guid><dc:creator>Heidi</dc:creator><description>&lt;p&gt;Hi! Håkon is on vacation so I will be taking over this case.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;UART with easyDMA is dependent on CONFIG_SERIAL which is enabled in the board folder of the nRF52 devices.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;So to&amp;nbsp;configure UART without, just disable this config by adding CONFIG_SERIAL=n to the prj.conf file of your application.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Heidi&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: With nRF Connect SDK, how to I change uart0 to "nRF UART without EasyDMA"?</title><link>https://devzone.nordicsemi.com/thread/322098?ContentTypeID=1</link><pubDate>Tue, 27 Jul 2021 15:30:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cf9f8df2-ac22-4690-99eb-d04419728a29</guid><dc:creator>ayavilevich</dc:creator><description>&lt;p&gt;This is for nRF52 series. What are the changes that one can make to to configure UART without easyDMA when using NCS on the nRF52?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: With nRF Connect SDK, how to I change uart0 to "nRF UART without EasyDMA"?</title><link>https://devzone.nordicsemi.com/thread/322041?ContentTypeID=1</link><pubDate>Tue, 27 Jul 2021 12:11:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f6d176ff-8cbb-4666-800c-0523564b60f9</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;What board do you build for. UART without easyDMA is not available on the nRF9160 or nRF5340. It is however available on the nRF52 chips.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: With nRF Connect SDK, how to I change uart0 to "nRF UART without EasyDMA"?</title><link>https://devzone.nordicsemi.com/thread/321133?ContentTypeID=1</link><pubDate>Wed, 21 Jul 2021 13:04:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:06394592-0063-4e7c-a85f-3098d54264ad</guid><dc:creator>ayavilevich</dc:creator><description>&lt;p&gt;Replace where? The reference says &amp;quot;&lt;em&gt;(No prompt &amp;ndash; not directly user assignable.)&lt;/em&gt;&amp;quot; about these config options.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: With nRF Connect SDK, how to I change uart0 to "nRF UART without EasyDMA"?</title><link>https://devzone.nordicsemi.com/thread/321106?ContentTypeID=1</link><pubDate>Wed, 21 Jul 2021 11:39:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:66fe429a-5957-4eae-bbae-554b4ce9149f</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;you can try replacing &lt;code&gt;&lt;span&gt;CONFIG_&lt;span&gt;UART&lt;/span&gt;_0_NRF_UARTE with CONFIG_&lt;span&gt;UART&lt;/span&gt;_0_NRF_UART.&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>