<?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>Low power empty project</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/115263/low-power-empty-project</link><description>I&amp;#39;m working with the nrf9160 dk and trying to get a baseline low power project before I add peripherals and application code. I&amp;#39;m using ncs 2.7, and with an empty project, no uart, logging, cell not enabled, etc and an empty main. the DK is sitting at</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 08 Oct 2024 03:41:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/115263/low-power-empty-project" /><item><title>RE: Low power empty project</title><link>https://devzone.nordicsemi.com/thread/505264?ContentTypeID=1</link><pubDate>Tue, 08 Oct 2024 03:41:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:84160b13-aa8b-42ad-9730-46d2778f0de4</guid><dc:creator>Achim Kraus</dc:creator><description>&lt;p&gt;:-) so the &amp;quot;&lt;span style="color:#000000;"&gt;nrf_modem_lib_init();&amp;quot; is still required.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#000000;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Low power empty project</title><link>https://devzone.nordicsemi.com/thread/505261?ContentTypeID=1</link><pubDate>Tue, 08 Oct 2024 01:56:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7307fcf6-eacb-434c-b1b9-22e0887f8f57</guid><dc:creator>dave</dc:creator><description>&lt;p&gt;Found my answer in this thread&lt;br /&gt;&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/115133/nrf9160dk-current-consumption-measurement"&gt;devzone.nordicsemi.com/.../nrf9160dk-current-consumption-measurement&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Low power empty project</title><link>https://devzone.nordicsemi.com/thread/505068?ContentTypeID=1</link><pubDate>Sat, 05 Oct 2024 14:32:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e24b0030-aaa8-42fa-a7ee-388ca96f3c46</guid><dc:creator>dave</dc:creator><description>&lt;p&gt;Thanks! I&amp;#39;ll give this a try&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Low power empty project</title><link>https://devzone.nordicsemi.com/thread/505067?ContentTypeID=1</link><pubDate>Sat, 05 Oct 2024 14:30:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:75827a53-2c41-4c0e-99e4-9c326516acb0</guid><dc:creator>Achim Kraus</dc:creator><description>&lt;p&gt;OK, I see.&lt;/p&gt;
&lt;p&gt;Not sure, if that is still up-to-date, but in the past,&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/guides/hardware-design-test-and-measuring/b/nrf9x/posts/getting-started-with-current-measurements-on-the-nrf9160"&gt;Getting started with current measurements on the nRF9160&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;did a good job.&lt;/p&gt;
&lt;pre&gt;#include &amp;lt;modem/lte_lc.h&amp;gt;&lt;br /&gt;void main(void)&lt;br /&gt;{&lt;br /&gt; lte_lc_power_off();&lt;br /&gt; k_sleep(K_MSEC(1000));&lt;br /&gt; NRF_REGULATORS-&amp;gt;SYSTEMOFF = 1;&lt;br /&gt;}&lt;/pre&gt;
&lt;p&gt;The last time I used that required an additional call to &amp;quot;&lt;span style="color:#000000;"&gt;nrf_modem_lib_init();&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#000000;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Low power empty project</title><link>https://devzone.nordicsemi.com/thread/505066?ContentTypeID=1</link><pubDate>Sat, 05 Oct 2024 14:13:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fdd6a7c7-a265-4889-b5d6-a232a59c1cf9</guid><dc:creator>dave</dc:creator><description>&lt;p&gt;Sorry, I should have clarified, I am sleeping in a loop in main&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;int main(void)
{

    while (true) {
        k_sleep(K_MSEC(100000));
    }
    return 0;
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I am not using any peripherals right now and don&amp;#39;t have them (or anything else) enabled in the prj.conf or the device tree.&amp;nbsp; Do I need to configure them in the device tree for low power at this point?&lt;br /&gt;&lt;br /&gt;What do you mean by suspend the uart? In the prj.conf, device tree, or application code?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Low power empty project</title><link>https://devzone.nordicsemi.com/thread/505057?ContentTypeID=1</link><pubDate>Sat, 05 Oct 2024 05:34:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ed1d98e0-7d32-4ae4-a5b9-7a636935de35</guid><dc:creator>Achim Kraus</dc:creator><description>&lt;p&gt;&amp;gt; about&amp;nbsp;3.1mA (running from flash, not debugging)&lt;/p&gt;
&lt;p&gt;Does &amp;quot;running&amp;quot; mean, the mcu runs in a busy loop? Then try to add sleeps, e.g &amp;quot;k_sleep(K_MSEC(1000));&amp;quot;. That will sleep for a seconds. You may also need to suspend the UART (mainly the RX takes a couple of 100s &amp;micro;A). &amp;quot;Low Power&amp;quot; mainly means, &amp;quot;switch off&amp;quot; and &amp;quot;on&amp;quot; only when it&amp;#39;s indicated, that there is something to do.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>