<?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>NRF9160 High current consumption eDRX idle.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/110153/nrf9160-high-current-consumption-edrx-idle</link><description>Hi! 
 I&amp;#39;m evaluating NRF9160 DK board and have faced current consumption problems. My device keeps consuming over 2mA while in eDRX idle. 
 eDRX cycle length seems to be OK, but I wonder what could cause idle power spiking? If I&amp;#39;m not wrong I should get</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 12 Apr 2024 15:20:34 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/110153/nrf9160-high-current-consumption-edrx-idle" /><item><title>RE: NRF9160 High current consumption eDRX idle.</title><link>https://devzone.nordicsemi.com/thread/478588?ContentTypeID=1</link><pubDate>Fri, 12 Apr 2024 15:20:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:34ccf812-2820-40f2-86bc-0a5075649253</guid><dc:creator>lumdeveloper</dc:creator><description>&lt;p&gt;So it was a configuration error and these configs are the solution. It seems that I had failed to configure it correctly on mcuboot + my config were overwritten by ns.conf. I located the wrong configs from combined .conf file. Now my power consumption is all good. Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF9160 High current consumption eDRX idle.</title><link>https://devzone.nordicsemi.com/thread/478516?ContentTypeID=1</link><pubDate>Fri, 12 Apr 2024 10:04:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d10abbe1-2526-47c3-8e96-069b1e5b0347</guid><dc:creator>Achim Kraus</dc:creator><description>[quote userid="133032" url="~/f/nordic-q-a/110153/nrf9160-high-current-consumption-edrx-idle/478513"]I can achieve low power when using .hex provided by your link. [/quote]
&lt;p&gt;OK, that verifies, that your DK is not broken.&lt;/p&gt;
[quote userid="133032" url="~/f/nordic-q-a/110153/nrf9160-high-current-consumption-edrx-idle/478513"]However I need to run edrx and keep the modem active and I still have no luck with that same weird-shaped consumption is still present. I can&amp;#39;t use PSM.[/quote]
&lt;p&gt;The nRF9160 comes with a couple of configurations, which may have influence on that. e.g. &amp;quot;%XDATAPRFL&amp;quot;. It may be also the case, that your application is causing some consumption, maybe by &amp;quot;polling&amp;quot; or things as that.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF9160 High current consumption eDRX idle.</title><link>https://devzone.nordicsemi.com/thread/478513?ContentTypeID=1</link><pubDate>Fri, 12 Apr 2024 09:44:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:07b545de-d500-41a6-8c9e-7dc7904536df</guid><dc:creator>lumdeveloper</dc:creator><description>&lt;p&gt;Thanks for your help. I can achieve low power when using .hex provided by your link. However I need to run edrx and keep the modem active and I still have no luck with that same weird-shaped consumption is still present. I can&amp;#39;t use PSM.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF9160 High current consumption eDRX idle.</title><link>https://devzone.nordicsemi.com/thread/478436?ContentTypeID=1</link><pubDate>Fri, 12 Apr 2024 06:35:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f616c98c-c3cc-4329-805a-ec15a54f5d29</guid><dc:creator>Achim Kraus</dc:creator><description>&lt;p&gt;Some years ago, the starting point for power measuring was &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; which in my case helped a lot. I&amp;#39;m not sure, if that is still working. I use in the meantime a slightly adapted version.&lt;/p&gt;
&lt;p&gt;main.c:&lt;/p&gt;
&lt;pre&gt;&lt;code class="hljs language-cpp" data-highlighted="yes"&gt;&lt;span class="hljs-meta"&gt;#&lt;span class="hljs-keyword"&gt;include&lt;/span&gt; &lt;span class="hljs-string"&gt;&amp;lt;modem/lte_lc.h&amp;gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class="hljs-meta"&gt;#&lt;span class="hljs-keyword"&gt;include&lt;/span&gt; &lt;span class="hljs-string"&gt;&amp;lt;modem/nrf_modem_lib.h&amp;gt;&lt;/span&gt;&lt;/span&gt;

&lt;span class="hljs-function"&gt;&lt;span class="hljs-type"&gt;int&lt;/span&gt; &lt;span class="hljs-title"&gt;main&lt;/span&gt;&lt;span class="hljs-params"&gt;(&lt;span class="hljs-type"&gt;void&lt;/span&gt;)&lt;/span&gt;
&lt;/span&gt;{
 &lt;span class="hljs-built_in"&gt;nrf_modem_lib_init&lt;/span&gt;();
 &lt;span class="hljs-built_in"&gt;lte_lc_power_off&lt;/span&gt;();
 &lt;span class="hljs-built_in"&gt;k_sleep&lt;/span&gt;(&lt;span class="hljs-built_in"&gt;K_MSEC&lt;/span&gt;(&lt;span class="hljs-number"&gt;1000&lt;/span&gt;));
 NRF_REGULATORS-&amp;gt;SYSTEMOFF = &lt;span class="hljs-number"&gt;1&lt;/span&gt;;
 &lt;span class="hljs-keyword"&gt;return&lt;/span&gt; &lt;span class="hljs-number"&gt;0&lt;/span&gt;;
}&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;prj.conf:&lt;/p&gt;
&lt;pre&gt;&lt;code class="hljs language-ini" data-highlighted="yes"&gt;&lt;span class="hljs-attr"&gt;CONFIG_LTE_LINK_CONTROL&lt;/span&gt;=y
&lt;span class="hljs-attr"&gt;CONFIG_NRF_MODEM_LIB&lt;/span&gt;=y
&lt;span class="hljs-attr"&gt;CONFIG_LOG&lt;/span&gt;=n&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;(without modem library I&amp;#39;m not sure, if the modem still starts on it&amp;#39;s own.)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF9160 High current consumption eDRX idle.</title><link>https://devzone.nordicsemi.com/thread/478384?ContentTypeID=1</link><pubDate>Thu, 11 Apr 2024 16:41:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bd2b1c36-37aa-4138-b355-28855a129b3c</guid><dc:creator>lumdeveloper</dc:creator><description>&lt;p&gt;Unfortunately no, I tried all the following related to logging and tracing:&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_LOG&lt;/span&gt;&lt;span&gt;=n&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_NRF_MODEM_LIB_TRACE&lt;/span&gt;&lt;span&gt;=n&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_NRF_MODEM_LIB_TRACE_BACKEND_UART&lt;/span&gt;&lt;span&gt;=n&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_NRF_MODEM_LIB_TRACE_BACKEND_UART_ZEPHYR&lt;/span&gt;&lt;span&gt;=n&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_SERIAL&lt;/span&gt;&lt;span&gt;=n&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_UART_ASYNC_API&lt;/span&gt;&lt;span&gt;=n&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_UART_1_ASYNC&lt;/span&gt;&lt;span&gt;=n&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Maybe I have to think way to somehow separate modem CPU and application CPU consumption to make sure it is modem drawing the current. I just don&amp;#39;t know a good way just yet. I continue reading and wait for further responses. Thank you anyway.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF9160 High current consumption eDRX idle.</title><link>https://devzone.nordicsemi.com/thread/478375?ContentTypeID=1</link><pubDate>Thu, 11 Apr 2024 15:03:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c730803f-7dcb-4031-94da-588e7776b4bb</guid><dc:creator>Didrik Rokhaug</dc:creator><description>[quote user="lumdeveloper"] I have indeed tried to set[/quote]
&lt;p&gt;And that didn&amp;#39;t help with the power consumption I assume?&lt;/p&gt;
&lt;p&gt;I forgot to point out that if you have modem tracing enabled, you must disable that as well with CONFIG_NRF_MODEM_LIB_TRACE=n.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF9160 High current consumption eDRX idle.</title><link>https://devzone.nordicsemi.com/thread/478366?ContentTypeID=1</link><pubDate>Thu, 11 Apr 2024 14:32:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b0b0ea3a-64be-4272-9bcb-ce7d68033781</guid><dc:creator>lumdeveloper</dc:creator><description>&lt;p&gt;Thanks for pointing that out, I have indeed tried to set:&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_LOG&lt;/span&gt;&lt;span&gt;=n&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_SERIAL&lt;/span&gt;&lt;span&gt;=n&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF9160 High current consumption eDRX idle.</title><link>https://devzone.nordicsemi.com/thread/478365?ContentTypeID=1</link><pubDate>Thu, 11 Apr 2024 14:30:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c0be7b0f-8d59-4341-92e1-44f403d4d699</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Is the UART running?&lt;/p&gt;
&lt;p&gt;If so, can you try to disable it with CONFIG_SERIAL=n?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Didrik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>