<?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>nRF9160DK current consumption measurement.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/115133/nrf9160dk-current-consumption-measurement</link><description>Hi Team, 
 I’m currently evaluating the new custom PCB we designed and need to measure its sleep current consumption. 
 To do this, I plan to create simple firmware for the nRF9160DK. Using an overlay file, I’ll disable unnecessary features, set the necessary</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 02 Oct 2024 08:59:16 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/115133/nrf9160dk-current-consumption-measurement" /><item><title>RE: nRF9160DK current consumption measurement.</title><link>https://devzone.nordicsemi.com/thread/504635?ContentTypeID=1</link><pubDate>Wed, 02 Oct 2024 08:59:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4d1a4d77-f48d-4e0c-8f46-b24bcb93b2cd</guid><dc:creator>Roman Veselskyi</dc:creator><description>&lt;p&gt;Yes, now it is working like should. Thanks.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160DK current consumption measurement.</title><link>https://devzone.nordicsemi.com/thread/504530?ContentTypeID=1</link><pubDate>Tue, 01 Oct 2024 12:58:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7d238e48-380a-4263-847b-12fdeb43b965</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you for sharing such a detailed howto.&lt;/p&gt;
&lt;p&gt;Could you try to add this line before entering the while-loop?&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;nrf_modem_lib_init();&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The whole program will then look like this:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;#include &amp;lt;zephyr/kernel.h&amp;gt;
#include &amp;lt;modem/lte_lc.h&amp;gt;
#include &amp;lt;modem/nrf_modem_lib.h&amp;gt;

int main(void)

{
	nrf_modem_lib_init();
	while (1)
	{
		int ret = lte_lc_offline();
		k_sleep(K_MSEC(1000));
		NRF_REGULATORS-&amp;gt;SYSTEMOFF = 1;
	}
	return 0;
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160DK current consumption measurement.</title><link>https://devzone.nordicsemi.com/thread/504510?ContentTypeID=1</link><pubDate>Tue, 01 Oct 2024 11:15:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3a068343-56d6-4d0f-af41-24060cb95f33</guid><dc:creator>Roman Veselskyi</dc:creator><description>&lt;p&gt;Hi Hakon,&lt;br /&gt;&lt;br /&gt;I prepared the video of the test, please check.&amp;nbsp;&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/2024_2D00_10_2D00_01-14_2D00_02_2D00_31.mp4"&gt;devzone.nordicsemi.com/.../2024_2D00_10_2D00_01-14_2D00_02_2D00_31.mp4&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The issue is that my code works only if I flash it after precompiled .hex file from the guide and only till the power cycle.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160DK current consumption measurement.</title><link>https://devzone.nordicsemi.com/thread/504501?ContentTypeID=1</link><pubDate>Tue, 01 Oct 2024 10:21:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ad8aa299-2090-4e0b-a393-51492bab9308</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]Then I flashed back the samples&amp;nbsp;I created, and consumption is the same 1.6uA till the moment I completely remove power, disconnect the USB, and reconnect everything, the current increases back to 2.86mA. To bring it back down to 1.6µA, I need to flash the DK again only with precompiled .hex from guide. This is a black box for me now.&amp;nbsp;&amp;nbsp;&lt;br /&gt;[/quote]
&lt;p&gt;Do I understand correctly when your sample can go down to 1.6 uA, but will go into a high consumption state after a power cycle?&lt;/p&gt;
&lt;p&gt;Could you share how you connect the power, and where you measure the current? Note that there are capacitances on the kit itself, so it is important that you let the board itself power down to 0V before power cycling.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>