<?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>nRF5340-DK Current Measurement Problems</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/111376/nrf5340-dk-current-measurement-problems</link><description>Hello Nordic Team, I am using nRF5340-DK and I have a PPK-2 for current measurements. My development environment is NRF Connect SDK v2.5.2. I used https://infocenter.nordicsemi.com/pdf/PPK_2_User_Guide_20201201.pdf this guide to configure my board and</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 29 May 2024 07:45:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/111376/nrf5340-dk-current-measurement-problems" /><item><title>RE: nRF5340-DK Current Measurement Problems</title><link>https://devzone.nordicsemi.com/thread/486318?ContentTypeID=1</link><pubDate>Wed, 29 May 2024 07:45:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:82eff786-72b7-4f16-8bd9-6e8e7071383b</guid><dc:creator>runsiv</dc:creator><description>&lt;p&gt;No worries, happy to help. Best of luck on the development&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Runar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340-DK Current Measurement Problems</title><link>https://devzone.nordicsemi.com/thread/486313?ContentTypeID=1</link><pubDate>Wed, 29 May 2024 07:25:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:93dbb3c1-7e04-4f7b-9269-6006191f3d14</guid><dc:creator>secondbest</dc:creator><description>&lt;p&gt;Hi Runar, I feel that my current settings are good enough to continue. Thanks a lot.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340-DK Current Measurement Problems</title><link>https://devzone.nordicsemi.com/thread/486195?ContentTypeID=1</link><pubDate>Tue, 28 May 2024 12:49:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ee527753-96c4-4989-b668-347f74cc61c7</guid><dc:creator>runsiv</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I ran your numbers through one of our experts on power consumption just to be sure. 4.3µA on idle if you got full RAM retention on both cores is good. The idle current in the PS is a typical value so some device to device variation is to be expected. Just to make sure you have no offset in your measurement, you can try to put the device in system OFF, and if you then measure over 1µA you will know you have some offsett in the measurements.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you need a lower current draw, it it might be possible to run your application with less RAM as RAM retention as most of the leakage in idle is from the RAM retention.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Runar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340-DK Current Measurement Problems</title><link>https://devzone.nordicsemi.com/thread/485986?ContentTypeID=1</link><pubDate>Mon, 27 May 2024 09:17:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:782d0f2a-61d3-4e48-977a-1ae64a3146c6</guid><dc:creator>secondbest</dc:creator><description>&lt;p&gt;Hello,&lt;br /&gt;&lt;br /&gt;I make measurements at in power mode again. Switch positions are&lt;/p&gt;
&lt;div&gt;&lt;span&gt;VEXT-&amp;gt;NRF SWITCH = OFF&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;NRF ONLY | DEFAULT SWITCH = NRF ONLY&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/Screenshot-2024_2D00_05_2D00_27-at-11.49.05.png" alt=" " /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;My board consumes 16.3uA at your suggested case. I make measurements again for other case.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;(section 6.2) --&amp;gt; 8.9uA&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;If I remove P22 header, the power consumption decreases to 5.4uA. I feel that smt on my boards consumes 5.4uA.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;(section 6.3) --&amp;gt; 4uA&lt;br /&gt;&lt;br /&gt;I don&amp;#39;t know what I do wrongly.&lt;br /&gt;&lt;br /&gt;Thanks.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340-DK Current Measurement Problems</title><link>https://devzone.nordicsemi.com/thread/485736?ContentTypeID=1</link><pubDate>Fri, 24 May 2024 08:03:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:37900028-da59-444b-9578-15a2505dc001</guid><dc:creator>runsiv</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Could you try to do the measurement in power mode?&amp;nbsp;Power mode will reduce the amount of USB noise induced into the system&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1716537747143v3.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Just remember to match the supply voltage to VDD so you don&amp;#39;t get any leakage&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It&amp;#39;s not necessary to use&amp;nbsp;&lt;span&gt;&lt;span dir="ltr"&gt;NRF ONLY | DEFAULT SWITCH = NRF ONLY&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;Regards&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;Runar&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340-DK Current Measurement Problems</title><link>https://devzone.nordicsemi.com/thread/485471?ContentTypeID=1</link><pubDate>Wed, 22 May 2024 14:51:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:723df57f-ac8e-44d6-81d3-8fa64a6a6c23</guid><dc:creator>secondbest</dc:creator><description>&lt;p&gt;Hello,&lt;br /&gt;&lt;br /&gt;Thank you for very quick response.&lt;/p&gt;
&lt;p&gt;To start with I am wondering if you have prepared the DK as described &lt;a href="https://docs.nordicsemi.com/bundle/ug_nrf5340_dk/page/UG/dk/prepare_board.html"&gt;here&lt;/a&gt;.&lt;br /&gt;&amp;gt;&amp;gt;&amp;gt; Yes. I prepared board as described.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Could you also show me your BLECentralScan function? I&amp;#39;m wondering if maybe something spawned another thread since I can&amp;#39;t see anything else in your main that should indicate that it wakes up every second.&lt;br /&gt;&amp;gt;&amp;gt;&amp;gt; You are completely right. I solved this one second ticking problem. I am so sorry. My new idle current is 4.3uA. According to online power profiler, it must be 3.1uA. Difference between these two results are expected or not.&lt;br /&gt;&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/Screenshot-2024_2D00_05_2D00_22-at-17.39.14.png" /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;(Idle current while application and network core active. Both cores DCDC converters are enabled.)&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;BleCentralScanner.cpp

int BLECentralScan::Init(void)
{
	int err;

    uint16_t size = sizeof(scanner_data_t);
    ATM_LOG_INF(&amp;quot;Size of scanner item: %d-byte&amp;quot;, size);
	__ASSERT((size%4)==0, &amp;quot;Scanner item size is not devidable by 4.&amp;quot;);

	err = bt_enable(NULL);
	if (err) {
		ATM_LOG_INF(&amp;quot;Bluetooth init failed (err %d)\n&amp;quot;, err);
		return err;
	}
	
	bt_conn_cb_register(&amp;amp;conn_callbacks);

	bt_addr_le_t addr = {0};
	size_t count = 1;
	bt_id_get(&amp;amp;addr, &amp;amp;count);

	static char mac_str[18];
	sprintf(mac_str, &amp;quot;%02X:%02X:%02X:%02X:%02X:%02X&amp;quot;, addr.a.val[5], 
													  addr.a.val[4], 					
													  addr.a.val[3], 
													  addr.a.val[2], 
													  addr.a.val[1], 
													  addr.a.val[0]);

	ATM_LOG_INF(&amp;quot;Bluetooth initialized. MAC: %s&amp;quot;, mac_str);	
	return 0;
}&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I would suggest trying one of our samples to see if you see the same behaviour.&lt;br /&gt;&amp;gt;&amp;gt;&amp;gt; Ticking problem is solved. I am not seeing any peak while both core are active and at the idle state.&lt;/p&gt;
&lt;p&gt;It could also be worth having a look at this old &lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/optimizing-power-on-nrf53-designs"&gt;blog&lt;/a&gt;&amp;nbsp;for inspiration.&lt;br /&gt;&amp;gt;&amp;gt;&amp;gt; I will check it. Thanks for the suggestion.&lt;br /&gt;&lt;br /&gt;Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340-DK Current Measurement Problems</title><link>https://devzone.nordicsemi.com/thread/485415?ContentTypeID=1</link><pubDate>Wed, 22 May 2024 12:35:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f97a1655-85db-42bd-aad7-c1b736d5b00c</guid><dc:creator>runsiv</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I will look into your case.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;To start with I am wondering if you have prepared the DK as described &lt;a href="https://docs.nordicsemi.com/bundle/ug_nrf5340_dk/page/UG/dk/prepare_board.html"&gt;here&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Could you also show me your BLECentralScan function? I&amp;#39;m wondering if maybe something spawned another thread since I can&amp;#39;t see anything else in your main that should indicate that it wakes up every second.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I would suggest trying one of our samples to see if you see the same behaviour.&lt;/p&gt;
&lt;p&gt;Regarding your last part, I would start by preparing the DK before doing anything else&lt;/p&gt;
&lt;p&gt;It could also be worth having a look at this old &lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/optimizing-power-on-nrf53-designs"&gt;blog&lt;/a&gt;&amp;nbsp;for inspiration. However it seems to me you have an idea of what to do&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Runar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>