<?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>NRF91 power save mode with CONFIG_SERIAL=y</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/50601/nrf91-power-save-mode-with-config_serial-y</link><description>Hi, 
 as I understand (and tried), in order to get low power consumption on the NRF91, I need to to get CONFIG_SERIAL=n. 
 However , I need the uart to be enabled (for short periods of time every few hours). 
 Is it possible to Change this flag at runtime</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 09 Aug 2019 10:46:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/50601/nrf91-power-save-mode-with-config_serial-y" /><item><title>RE: NRF91 power save mode with CONFIG_SERIAL=y</title><link>https://devzone.nordicsemi.com/thread/203264?ContentTypeID=1</link><pubDate>Fri, 09 Aug 2019 10:46:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:481cd4c9-b0f7-4b8b-bbfa-99f623be916d</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;@jbrzozoski I am not sure whether there will be support for this in the future. Could you please ask your local Regional Sales Manager? If you do not know who this is, send me a PM on DevZone with your country location &amp;amp; I can put you in touch.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF91 power save mode with CONFIG_SERIAL=y</title><link>https://devzone.nordicsemi.com/thread/203134?ContentTypeID=1</link><pubDate>Thu, 08 Aug 2019 14:48:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:74fb3ced-da82-4a1b-9023-eb521c2481ae</guid><dc:creator>almogalm</dc:creator><description>&lt;p&gt;hi &lt;a href="https://devzone.nordicsemi.com/members/bjorn-kvaale"&gt;Bjørn Kvaale&lt;/a&gt;, in blog post you mentioned they use &lt;span&gt;CONFIG_SERIAL=n to disable uart on precompilation.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF91 power save mode with CONFIG_SERIAL=y</title><link>https://devzone.nordicsemi.com/thread/203126?ContentTypeID=1</link><pubDate>Thu, 08 Aug 2019 14:28:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b0c95c44-9e97-4742-bfde-18806fdddd82</guid><dc:creator>jbrzozoski</dc:creator><description>&lt;p&gt;Looking around in the guts of Zephyr and NRFX, the UARTE drivers already have some level of support for disabling them in run-time.&amp;nbsp; It looks like most of that functionality is tied into the API enabled via CONFIG_SYS_POWER_MANAGEMENT, but that is currently not&lt;span&gt;&amp;nbsp;&lt;/span&gt;supported&lt;span&gt;&amp;nbsp;&lt;/span&gt;on the nRF9160.&amp;nbsp; Is that support on the roadmap anywhere?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF91 power save mode with CONFIG_SERIAL=y</title><link>https://devzone.nordicsemi.com/thread/203104?ContentTypeID=1</link><pubDate>Thu, 08 Aug 2019 13:36:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:243c1247-2368-4fd3-ae60-1c035a16f674</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;That seems roughly correct, depending on what you are doing. Maybe&lt;a href="https://devzone.nordicsemi.com/nordic/cellular-iot-guides/b/hardware-design/posts/measuring-psm-idle-current-on-the-nrf91-dk"&gt; this blog post &lt;/a&gt;could also help a bit.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF91 power save mode with CONFIG_SERIAL=y</title><link>https://devzone.nordicsemi.com/thread/202883?ContentTypeID=1</link><pubDate>Wed, 07 Aug 2019 14:55:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:051a399a-eaf7-46ef-961d-e78881ea76cf</guid><dc:creator>Yusuke</dc:creator><description>&lt;p&gt;Hi, Bjorn. Thank you so much! This code works out.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;void disable_uart(){
        NRF_UARTE0-&amp;gt;TASKS_STOPTX = 1;
        NRF_UARTE0-&amp;gt;TASKS_STOPRX = 1;

        NRF_UARTE3-&amp;gt;TASKS_STOPTX = 1;
        NRF_UARTE3-&amp;gt;TASKS_STOPRX = 1;
}

void enable_uart(){
        NRF_UARTE0-&amp;gt;TASKS_STARTRX = 1;

        NRF_UARTE3-&amp;gt;TASKS_STARTRX = 1;
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;A&amp;nbsp;current around 25uA is consumed on DK v0.8.5 while the UART RX is off. Is this&amp;nbsp;reasonable&amp;nbsp;value? I read datasheet and it doesn&amp;#39;t describe current consumption of UART. Let me know the value, if you have measured.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF91 power save mode with CONFIG_SERIAL=y</title><link>https://devzone.nordicsemi.com/thread/202867?ContentTypeID=1</link><pubDate>Wed, 07 Aug 2019 14:00:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6949766c-89ae-4d35-a72b-fc317c0719b7</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;You cannot change flags in runtime, but you can turn off the uart RX if needed. See &lt;a href="https://github.com/Rallare/fw-nrfconnect-nrf/blob/nrf9160_samples/samples/nrf9160/udp_with_psm/src/main.c#L211"&gt;this code&lt;/a&gt; for more info.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF91 power save mode with CONFIG_SERIAL=y</title><link>https://devzone.nordicsemi.com/thread/202483?ContentTypeID=1</link><pubDate>Mon, 05 Aug 2019 16:35:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8ddd5c1c-2153-4c19-9ca9-a93453ccacad</guid><dc:creator>Yusuke</dc:creator><description>&lt;p&gt;I don&amp;#39;t&amp;nbsp;know&amp;nbsp;how to solve the issue, but this might help you.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/zephyrproject-rtos/zephyr/pull/7034"&gt;https://github.com/zephyrproject-rtos/zephyr/pull/7034&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>