<?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>Trying to shut down UART on 52840 running Zephyr</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/64641/trying-to-shut-down-uart-on-52840-running-zephyr</link><description>I&amp;#39;m using a 52840 and need both low stand by current and use of a UART. I understand that the UART drives up the power so I&amp;#39;m trying to completely shut it down when not being used. However, I can never find a combination of calls that lowers the power</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 11 Aug 2020 08:47:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/64641/trying-to-shut-down-uart-on-52840-running-zephyr" /><item><title>RE: Trying to shut down UART on 52840 running Zephyr</title><link>https://devzone.nordicsemi.com/thread/263962?ContentTypeID=1</link><pubDate>Tue, 11 Aug 2020 08:47:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3d6a9912-a3a5-4ca5-805c-a12309237dfb</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;I don&amp;#39;t think so. I don&amp;#39;t have a complete overview of this, but I think the UART driver is by default not low power and expects that RX is always enabled on both sides.&lt;/p&gt;
&lt;p&gt;The low power UART PR should fix this.&lt;/p&gt;
&lt;p&gt;The commands for disabling UART are (e.g. for instance 0):&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;NRF_UARTE0-&amp;gt;EVENTS_RXTO = 0;
NRF_UARTE0-&amp;gt;TASKS_STOPRX = 1;
while(NRF_UARTE0-&amp;gt;EVENTS_RXTO == 0){}
NRF_UARTE0-&amp;gt;EVENTS_RXTO = 0;
NRF_UARTE0-&amp;gt;ENABLE = 0;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;In addition, you have to&amp;nbsp;set CONFIG_SERIAL=n (disable UART) in MCUboot and SPM, and set&amp;nbsp;CONFIG_CONSOLE=n (unhook UART printk calls from UART) in the applications prj.conf. But I don&amp;#39;t think this will have any effect if the instance is enabled in prj.conf (e.g. CONFIG_UART_0_NRF_UARTE=y). Could you try to test this out and see if it works or not?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trying to shut down UART on 52840 running Zephyr</title><link>https://devzone.nordicsemi.com/thread/263887?ContentTypeID=1</link><pubDate>Mon, 10 Aug 2020 15:03:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e958a4cd-36ca-4def-8f1e-ade16f3bb090</guid><dc:creator>dboling</dc:creator><description>&lt;p&gt;Thanks. I&amp;#39;ll check it out. Is there no standard way to simply shut down the current UART hw?&lt;/p&gt;
&lt;p&gt;Doug&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trying to shut down UART on 52840 running Zephyr</title><link>https://devzone.nordicsemi.com/thread/263811?ContentTypeID=1</link><pubDate>Mon, 10 Aug 2020 12:09:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7ac1d502-7ee6-485e-a319-01f98f7d6391</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;Check out this pull request:&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-nrf/pull/2591"&gt;https://github.com/nrfconnect/sdk-nrf/pull/2591&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>