<?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>Current consumption difference - nrf5340 running at 128MHz vs 64MHz</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/91130/current-consumption-difference---nrf5340-running-at-128mhz-vs-64mhz</link><description>Hello, 
 While working on optimizing battery life, i noticed something strange.. This particular code actually does almost nothing other than setting low power mode (instead of low latency) and mostly system is sleeping (don;t worry about the fact that</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 26 Aug 2022 13:09:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/91130/current-consumption-difference---nrf5340-running-at-128mhz-vs-64mhz" /><item><title>RE: Current consumption difference - nrf5340 running at 128MHz vs 64MHz</title><link>https://devzone.nordicsemi.com/thread/383493?ContentTypeID=1</link><pubDate>Fri, 26 Aug 2022 13:09:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5b7d95ff-d2e4-43ec-ae95-36c806b74c68</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;Hi, there&amp;#39;s some more information here: &lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf5340/chapters/pmu/doc/pmu.html?cp=3_0_0_3_0#topic"&gt;https://infocenter.nordicsemi.com/topic/ps_nrf5340/chapters/pmu/doc/pmu.html?cp=3_0_0_3_0#topic&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;So basically what you need to do is to configure the clock to 64MHz before the CPU goes to sleep. The easiest option, if you want to run the CPU at 128MHz during CPU intensive tasks, algorithms, etc, is to toggle the frequency before and after these specific algorithms. If you always want 128MHz when the CPU is running, the best option is probably to modify the idle thread to toggle back to 64MHz before WFE.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Current consumption difference - nrf5340 running at 128MHz vs 64MHz</title><link>https://devzone.nordicsemi.com/thread/382961?ContentTypeID=1</link><pubDate>Tue, 23 Aug 2022 17:51:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bfcfa28d-8015-4948-9ce7-c6a4f0bbefe8</guid><dc:creator>sshenoy105</dc:creator><description>&lt;p&gt;thanks for the response.. what are our options given this is going to affect our battery life significantly ? and running at 64MHz is not really the option we want to use&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Current consumption difference - nrf5340 running at 128MHz vs 64MHz</title><link>https://devzone.nordicsemi.com/thread/382951?ContentTypeID=1</link><pubDate>Tue, 23 Aug 2022 15:02:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:207213c4-9a62-4494-9097-212f38c00633</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;I was just looking through the electrical specs and found that this is in fact a known issue:&lt;/p&gt;
&lt;table border="1" cellpadding="4" cellspacing="0" frame="border" rules="all" summary=""&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style="vertical-align:top;" colspan="1" headers="d3044105e380" rowspan="1"&gt;I&lt;sub&gt;ON_IDLE3&lt;/sub&gt;&lt;/td&gt;
&lt;td style="vertical-align:top;" colspan="1" headers="d3044105e383" rowspan="1"&gt;
&lt;p&gt;System ON, wake on any event, power-fail comparator enabled&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style="vertical-align:top;" colspan="1" headers="d3044105e386" rowspan="1"&gt;&lt;/td&gt;
&lt;td style="vertical-align:top;" colspan="1" headers="d3044105e389" rowspan="1"&gt;&lt;/td&gt;
&lt;td style="vertical-align:top;" colspan="1" headers="d3044105e392" rowspan="1"&gt;&lt;/td&gt;
&lt;td style="vertical-align:top;" colspan="1" headers="d3044105e396" rowspan="1"&gt;&lt;span&gt; &lt;/span&gt;&lt;/td&gt;
&lt;td style="vertical-align:top;" colspan="1" headers="d3044105e399" rowspan="1"&gt;&lt;span&gt;1.3&lt;/span&gt;&lt;/td&gt;
&lt;td style="vertical-align:top;" colspan="1" headers="d3044105e402" rowspan="1"&gt;&lt;span&gt; &lt;/span&gt;&lt;/td&gt;
&lt;td style="vertical-align:top;" colspan="1" headers="d3044105e405" rowspan="1"&gt;uA&lt;/td&gt;
&lt;td style="vertical-align:top;" colspan="1" headers="d3044105e408" rowspan="1"&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="vertical-align:top;" colspan="1" headers="d3044105e380" rowspan="1"&gt;I&lt;sub&gt;ON_IDLE3,128MHz&lt;/sub&gt;&lt;/td&gt;
&lt;td style="vertical-align:top;" colspan="1" headers="d3044105e383" rowspan="1"&gt;
&lt;p&gt;System ON, wake on any event, power-fail comparator enabled, clock=HFINT128M&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style="vertical-align:top;" colspan="1" headers="d3044105e386" rowspan="1"&gt;&lt;/td&gt;
&lt;td style="vertical-align:top;" colspan="1" headers="d3044105e389" rowspan="1"&gt;&lt;/td&gt;
&lt;td style="vertical-align:top;" colspan="1" headers="d3044105e392" rowspan="1"&gt;&lt;/td&gt;
&lt;td style="vertical-align:top;" colspan="1" headers="d3044105e396" rowspan="1"&gt;&lt;span&gt; &lt;/span&gt;&lt;/td&gt;
&lt;td style="vertical-align:top;" colspan="1" headers="d3044105e399" rowspan="1"&gt;&lt;span&gt;785&lt;/span&gt;&lt;/td&gt;
&lt;td style="vertical-align:top;" colspan="1" headers="d3044105e402" rowspan="1"&gt;&lt;span&gt; &lt;/span&gt;&lt;/td&gt;
&lt;td style="vertical-align:top;" colspan="1" headers="d3044105e405" rowspan="1"&gt;uA&lt;/td&gt;
&lt;td style="vertical-align:top;" colspan="1" headers="d3044105e408" rowspan="1"&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf5340/chapters/current_consumption/doc/current_consumption.html?cp=3_0_0_3_3_0_0#unique_2095571962"&gt;https://infocenter.nordicsemi.com/topic/ps_nrf5340/chapters/current_consumption/doc/current_consumption.html?cp=3_0_0_3_3_0_0#unique_2095571962&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m also getting around 700 uA when enabling 128MHz, so I would say that your 400 uA base current is actually lower than expected. It could be due to chip to chip variation, or different voltage or regulator settings, etc.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Current consumption difference - nrf5340 running at 128MHz vs 64MHz</title><link>https://devzone.nordicsemi.com/thread/382949?ContentTypeID=1</link><pubDate>Tue, 23 Aug 2022 14:57:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:26cf5f3f-07b6-439d-88ce-f05e693d1c56</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;Hi, I&amp;#39;m able to reproduce what you are seeing here. It looks to me like the clock tree is always on when the clock source is configured to be 128MHz. I will have to run this through the HW designers, and see if this is intentional or not, and if there is a workaround. Will keep you updated.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Stian&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>