<?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>High current consumption (4uA) even without peripherals enabled in idle</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/53117/high-current-consumption-4ua-even-without-peripherals-enabled-in-idle</link><description>We&amp;#39;re developing a low power communication stack, where every uA counts. 
 Currently, I have the system running at a few uA higher than expected, which I&amp;#39;m trying to track down, by disabling one part of the system at the time, and I have got to the bare</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 28 Oct 2019 12:10:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/53117/high-current-consumption-4ua-even-without-peripherals-enabled-in-idle" /><item><title>RE: High current consumption (4uA) even without peripherals enabled in idle</title><link>https://devzone.nordicsemi.com/thread/217058?ContentTypeID=1</link><pubDate>Mon, 28 Oct 2019 12:10:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fcb04352-9847-4785-b0f7-52e56ff17e27</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Hi Max,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;for block 0-7 you should typically see 30nA per 4kB block, i.e. ~&lt;span&gt;7.5nA per kB, and this should also be the typical value for block 8 as well, i.e. each 32kB block should be ~240nA.&lt;br /&gt;&lt;br /&gt;So for what I can tell, the most efficient way of setting up the RAM is to use the first block for MBR+SD, then put the application in block 8, and enable as many sections as we need?&lt;br /&gt;&lt;br /&gt;The current consumption per kB RAM should be the same for block 1-7 and 8, but you are free to use which block you want for the SD+MBR and application.&amp;nbsp;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Bjørn&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: High current consumption (4uA) even without peripherals enabled in idle</title><link>https://devzone.nordicsemi.com/thread/216827?ContentTypeID=1</link><pubDate>Fri, 25 Oct 2019 12:03:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6fb29637-f411-460d-ba18-78f0f142cf99</guid><dc:creator>Max Sikstr&amp;#246;m</dc:creator><description>&lt;p&gt;No problem.&lt;br /&gt;&lt;br /&gt;Then from what I can tell, block 0-7 gives about 25nA per kB, but block 8 gives about 12nA per kB?&lt;br /&gt;&lt;br /&gt;If we don&amp;#39;t need all memory, I&amp;#39;m just trying to get the least current out of a reasonable amount of RAM, and trying to plan the RAM usage in the best way.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;So for what I can tell, the most efficient way of setting up the RAM is to use the first block for MBR+SD, then put the application in block 8, and enable as many sections as we need?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: High current consumption (4uA) even without peripherals enabled in idle</title><link>https://devzone.nordicsemi.com/thread/216566?ContentTypeID=1</link><pubDate>Thu, 24 Oct 2019 10:32:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:35e4620f-1bfc-40da-a2b7-7caa41f76ec4</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Hi Max,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I sincerly apologize for the late reply, I have been out of office.&lt;/p&gt;
&lt;p&gt;In the RAM[0-7] registers only bits 0 and 1 are used, i.e. bit 0 for section 0 and bit 1 for section 1. The rest are do not care. Each section maps to a 4kB block.&amp;nbsp;&lt;br /&gt;In RAM[8] bits 0-5 are used and each bit corresponds to a 32kB block.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Bjørn&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: High current consumption (4uA) even without peripherals enabled in idle</title><link>https://devzone.nordicsemi.com/thread/215471?ContentTypeID=1</link><pubDate>Thu, 17 Oct 2019 10:53:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2f2c8072-20bb-44ce-857f-44eb73f5154d</guid><dc:creator>Max Sikstr&amp;#246;m</dc:creator><description>&lt;p&gt;Thanks!&lt;br /&gt;&lt;br /&gt;A follow up question then on that diagram. It sounds reasonable that the RAM0 to RAM8 is the same as referred to in the NRF_POWER-&amp;gt;RAM[n] slave, but the NRF_POWER-&amp;gt;RAM[n].POWER and RETENTION has 16 bits refering to sections, however the diagram refers to two sections per slave for RAM0-RAM7, and 6 sections for RAM8.&lt;br /&gt;&lt;br /&gt;How does the sections map with the control bits? Are there any mapping, or should I enable/disable the slaves as a whole?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: High current consumption (4uA) even without peripherals enabled in idle</title><link>https://devzone.nordicsemi.com/thread/215452?ContentTypeID=1</link><pubDate>Thu, 17 Oct 2019 09:34:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4f1b12b2-f4b3-4644-b1dd-767d16d1f8e6</guid><dc:creator>bjorn-spockeli</dc:creator><description>[quote user="pengi"]&lt;br /&gt;I agree that it&amp;#39;s the typical value, but what are the tolerances that I can expect? What is the variataion between chips that you have seen? Since we should in many cases also plan for worst case.[/quote]
&lt;p&gt;I will try to get hold of the standard deviation data from our production tests.&lt;/p&gt;
[quote user="pengi"]Also, the banks takes differnt current, what is the expected current consumption per bank? And where can I find the mapping between bank and addresses?[/quote]
&lt;p&gt;&amp;nbsp;I beleive the AHB Slave number shown in the&amp;nbsp;&lt;a title="Memory" href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/memory.html?cp=3_0_0_3_1"&gt;Memory&lt;/a&gt;&amp;nbsp;section , corresponds to the n in the&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/power.html?cp=3_0_0_4_2_4#register.RAM-0-8.POWER"&gt;RAM[n].POWER (n=0..8)&lt;/a&gt;&amp;nbsp;registers. As for the current consumption per RAM block I am a bit unsure as the last block is much larger than the others. Will have to check this.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: High current consumption (4uA) even without peripherals enabled in idle</title><link>https://devzone.nordicsemi.com/thread/215203?ContentTypeID=1</link><pubDate>Wed, 16 Oct 2019 06:49:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0f095ed7-dc66-4037-8304-e33c8bc21233</guid><dc:creator>Max Sikstr&amp;#246;m</dc:creator><description>&lt;p&gt;I&amp;#39;ve double checked on the same board that RAM retention affects, so it&amp;#39;s definatly on the right track.&lt;br /&gt;&lt;br /&gt;I ran the following code: (only two function calls down, to simplify my build, but no interaction with peripherals)&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;    NRF_POWER-&amp;gt;RAM[0].POWERCLR = 0xffffffff;
    NRF_POWER-&amp;gt;RAM[1].POWERCLR = 0xffffffff;
    NRF_POWER-&amp;gt;RAM[2].POWERCLR = 0xffffffff;
    NRF_POWER-&amp;gt;RAM[3].POWERCLR = 0xffffffff;
    NRF_POWER-&amp;gt;RAM[4].POWERCLR = 0xffffffff;
    NRF_POWER-&amp;gt;RAM[5].POWERCLR = 0xffffffff;
    NRF_POWER-&amp;gt;RAM[6].POWERCLR = 0xffffffff;
    NRF_POWER-&amp;gt;RAM[7].POWERCLR = 0xffffffff;
    NRF_POWER-&amp;gt;RAM[8].POWERCLR = 0xffffffff;
    
    while(1) {
        asm volatile (&amp;quot;wfe&amp;quot;);
    }&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;And commented out one line at a time to enable the bank.&lt;br /&gt;&lt;br /&gt;My result for no RAM retention matched the I_ON_RAMOFF_EVENT pretty closely, at 982nA.&lt;br /&gt;&lt;br /&gt;However, all RAM blocks enabled gives this time 3.74uA, which is 7% off from my previous measurement. However, this time, I made a more controlled measurement, and a couple of nA is definatly out of this measurements resolution.&lt;/p&gt;
&lt;p&gt;I am however concerned about the I_ON_RAMON_EVENT current, since the datasheet specifies 2.35uA, and my measurements is 60% higher, which practically would give at least a year difference in battery life.&lt;br /&gt;&lt;br /&gt;I agree that it&amp;#39;s the typical value, but what are the tolerances that I can expect? What is the variataion between chips that you have seen? Since we should in many cases also plan for worst case.&lt;br /&gt;&lt;br /&gt;I attach a screenshot of the measurement, including a measurement of no connection, to verify DC offset. I will verify with a resistor to verify potential gain error in the equipment.&lt;br /&gt;&lt;br /&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/Screenshot-2019_2D00_10_2D00_16-at-08.48.05.png" alt=" " /&gt;&lt;br /&gt;&lt;br /&gt;Also, the banks takes differnt current, what is the expected current consumption per bank? And where can I find the mapping between bank and addresses?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: High current consumption (4uA) even without peripherals enabled in idle</title><link>https://devzone.nordicsemi.com/thread/214583?ContentTypeID=1</link><pubDate>Fri, 11 Oct 2019 11:41:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6bca1874-e039-48f7-a506-cddd5db05b70</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Hi Max,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;the typical sleep currents for the nRF52840 is listed under &lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/_tmp/graviton/autodita/CURRENT/parameters.i_sleep.html?cp=3_0_0_4_1_0_0"&gt;Power and clock management &amp;gt; Current consumption &amp;gt; Electrical specification &amp;gt; Sleep&lt;/a&gt;&amp;nbsp;in the nRF52840 Product Specification.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;So judging from your test cases, the applicable table entries&amp;nbsp;would be:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;System ON&lt;/strong&gt;&lt;/p&gt;
&lt;table border="1" cellpadding="4" cellspacing="0" frame="border" rules="all" summary=""&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;th colspan="1" rowspan="1"&gt;Symbol&lt;/th&gt;
&lt;th colspan="1" rowspan="1"&gt;Description&lt;/th&gt;
&lt;th colspan="1" rowspan="1"&gt;Min.&lt;/th&gt;
&lt;th colspan="1" rowspan="1"&gt;Typ.&lt;/th&gt;
&lt;th colspan="1" rowspan="1"&gt;Max.&lt;/th&gt;
&lt;th colspan="1" rowspan="1"&gt;Units&lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td colspan="1" headers="d4783e47" rowspan="1"&gt;I&lt;sub&gt;ON_RAMOFF_EVENT&lt;/sub&gt;&lt;/td&gt;
&lt;td colspan="1" headers="d4783e50" rowspan="1"&gt;
&lt;p&gt;System ON, no RAM retention, wake on any event&lt;/p&gt;
&lt;/td&gt;
&lt;td colspan="1" headers="d4783e63" rowspan="1"&gt;&lt;span&gt;&lt;/span&gt;&lt;/td&gt;
&lt;td colspan="1" headers="d4783e66" rowspan="1"&gt;&lt;span&gt;0.97&lt;/span&gt;&lt;/td&gt;
&lt;td colspan="1" headers="d4783e69" rowspan="1"&gt;&lt;span&gt;&lt;/span&gt;&lt;/td&gt;
&lt;td colspan="1" headers="d4783e72" rowspan="1"&gt;µA&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td colspan="1" headers="d4783e47" rowspan="1"&gt;I&lt;sub&gt;ON_RAMON_EVENT&lt;/sub&gt;&lt;/td&gt;
&lt;td colspan="1" headers="d4783e50" rowspan="1"&gt;
&lt;p&gt;System ON, full 256 kB RAM retention, wake on any event&lt;/p&gt;
&lt;/td&gt;
&lt;td colspan="1" headers="d4783e63" rowspan="1"&gt;&lt;span&gt;&lt;/span&gt;&lt;/td&gt;
&lt;td colspan="1" headers="d4783e66" rowspan="1"&gt;&lt;span&gt;2.35&lt;/span&gt;&lt;/td&gt;
&lt;td colspan="1" headers="d4783e69" rowspan="1"&gt;&lt;span&gt;&lt;/span&gt;&lt;/td&gt;
&lt;td colspan="1" headers="d4783e72" rowspan="1"&gt;µA&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td colspan="1" headers="d4783e47" rowspan="1"&gt;I&lt;sub&gt;ON_RAMOFF_RTC&lt;/sub&gt;&lt;/td&gt;
&lt;td colspan="1" headers="d4783e50" rowspan="1"&gt;
&lt;p&gt;System ON, no RAM retention, wake on RTC (running from LFRC clock)&lt;/p&gt;
&lt;/td&gt;
&lt;td colspan="1" headers="d4783e63" rowspan="1"&gt;&lt;span&gt;&lt;/span&gt;&lt;/td&gt;
&lt;td colspan="1" headers="d4783e66" rowspan="1"&gt;&lt;span&gt;1.50&lt;/span&gt;&lt;/td&gt;
&lt;td colspan="1" headers="d4783e69" rowspan="1"&gt;&lt;span&gt;&lt;/span&gt;&lt;/td&gt;
&lt;td colspan="1" headers="d4783e72" rowspan="1"&gt;µA&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td colspan="1" headers="d4783e47" rowspan="1"&gt;I&lt;sub&gt;ON_RAMON_RTC&lt;/sub&gt;&lt;/td&gt;
&lt;td colspan="1" headers="d4783e50" rowspan="1"&gt;
&lt;p&gt;System ON, full 256 kB RAM retention, wake on RTC (running from LFRC clock)&lt;/p&gt;
&lt;/td&gt;
&lt;td colspan="1" headers="d4783e63" rowspan="1"&gt;&lt;span&gt;&lt;/span&gt;&lt;/td&gt;
&lt;td colspan="1" headers="d4783e66" rowspan="1"&gt;&lt;span&gt;3.16&lt;/span&gt;&lt;/td&gt;
&lt;td colspan="1" headers="d4783e69" rowspan="1"&gt;&lt;span&gt;&lt;/span&gt;&lt;/td&gt;
&lt;td colspan="1" headers="d4783e72" rowspan="1"&gt;µA&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;strong&gt;System OFF&lt;/strong&gt;&lt;/p&gt;
&lt;table border="1" cellpadding="4" cellspacing="0" frame="border" rules="all" summary=""&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;th colspan="1" rowspan="1"&gt;Symbol&lt;/th&gt;
&lt;th colspan="1" rowspan="1"&gt;Description&lt;/th&gt;
&lt;th colspan="1" rowspan="1"&gt;Min.&lt;/th&gt;
&lt;th colspan="1" rowspan="1"&gt;Typ.&lt;/th&gt;
&lt;th colspan="1" rowspan="1"&gt;Max.&lt;/th&gt;
&lt;th colspan="1" rowspan="1"&gt;Units&lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td colspan="1" headers="d4783e47" rowspan="1"&gt;I&lt;sub&gt;OFF_RAMOFF_RESET&lt;/sub&gt;&lt;/td&gt;
&lt;td colspan="1" headers="d4783e50" rowspan="1"&gt;
&lt;p&gt;System OFF, no RAM retention, wake on reset&lt;/p&gt;
&lt;/td&gt;
&lt;td colspan="1" headers="d4783e63" rowspan="1"&gt;&lt;span&gt;&lt;/span&gt;&lt;/td&gt;
&lt;td colspan="1" headers="d4783e66" rowspan="1"&gt;&lt;span&gt;0.40&lt;/span&gt;&lt;/td&gt;
&lt;td colspan="1" headers="d4783e69" rowspan="1"&gt;&lt;span&gt;&lt;/span&gt;&lt;/td&gt;
&lt;td colspan="1" headers="d4783e72" rowspan="1"&gt;µA&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td colspan="1" headers="d4783e47" rowspan="1"&gt;I&lt;sub&gt;OFF_RAMON_RESET&lt;/sub&gt;&lt;/td&gt;
&lt;td colspan="1" headers="d4783e50" rowspan="1"&gt;
&lt;p&gt;System OFF, full 256 kB RAM retention, wake on reset&lt;/p&gt;
&lt;/td&gt;
&lt;td colspan="1" headers="d4783e63" rowspan="1"&gt;&lt;span&gt;&lt;/span&gt;&lt;/td&gt;
&lt;td colspan="1" headers="d4783e66" rowspan="1"&gt;&lt;span&gt;1.86&lt;/span&gt;&lt;/td&gt;
&lt;td colspan="1" headers="d4783e69" rowspan="1"&gt;&lt;span&gt;&lt;/span&gt;&lt;/td&gt;
&lt;td colspan="1" headers="d4783e72" rowspan="1"&gt;µA&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;So unless you have explicitly configured the RAM blocks to turn off in System ON mode using the&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/power.html?cp=3_0_0_4_2_6_20#register.RAM-0-8.POWER"&gt;RAM[n].POWER&lt;/a&gt;&amp;nbsp;register then you should see a current consumption around 2.35uA without the LFCLK running. WIth the LFCLK running then you should see something around 3.16uA. Note that these are typical values, i.e. mean values, one should expect deviations from this.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]The result I get is that the average current consumption is 4.01uA, measured with an Otii by QoiTech, with all other signals disconnected. However, the current is pulsed, with about 0uA current consumption most of the time, and pulsed with a peak of about 18uA in cycles of about 4.6ms.[/quote]
&lt;p&gt;The spikes you are seeing is the regulators on the NRF52840 in refresh mode.&amp;nbsp;&lt;span&gt;Refresh mode works by charging up internal caps regularly to provide power to the chip. So the spikes you see is the inrush current to the caps. See&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/14210/current-spikes-when-dcdc-is-on/54282#54282"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/14210/current-spikes-when-dcdc-is-on/54282#54282&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Bjørn&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>