<?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>nrf52840 Power Consumption</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/22651/nrf52840-power-consumption</link><description>Hi There, 
 I am doing current measurements on the nrf52840 in sleep mode with no RAM retention and I am getting different values based on how I take the measurements. Please see the various methods and resulted below. 
 
 
 Using an amp meter in</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 17 Aug 2017 16:41:59 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/22651/nrf52840-power-consumption" /><item><title>RE: nrf52840 Power Consumption</title><link>https://devzone.nordicsemi.com/thread/89079?ContentTypeID=1</link><pubDate>Thu, 17 Aug 2017 16:41:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:894f437e-d944-4f62-bb2f-0b3aa007eee9</guid><dc:creator>glypat22</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I did what HardwareGuy did using setup number 2 and also left SB40 open. My current read varies from 2.9 to 2.2uA. I do understand the stable voltage source argument but this still seems high.&lt;/p&gt;
&lt;p&gt;Talking about the code - I tried the nrf_pwr_mgmt_pca10056 and changed the main function to,
int main(void)
{
while (true)
{
__WFE();
__SEV();
__WFE();
}
}&lt;/p&gt;
&lt;p&gt;So what am I missing?&lt;/p&gt;
&lt;h2&gt;Following figures suppose to work but they are not working in my case,&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;When using external 32kHz crystal oscillator as clock source for RTC and no RAM retention: 0.7uA (from OPS) + 0.23uA (32kHz crystal oscillator run current) + 0.1uA (RTC run current) = 1.03uA.&lt;/li&gt;
&lt;li&gt;When using internal 32kHz RC oscillator as clock source for RTC and no RAM retention: 0.7uA + 0.7uA (32kHz RC oscillator run current in normal mode) + 0.1uA = 1.5uA.&lt;/li&gt;
&lt;li&gt;When using external 32kHz crystal oscillator as clock source for RTC and 64KB RAM retention: 1.03uA + (16 x 0.03) = 1.51uA (Assumption: the power retention is enabled by SD or user application or both)&lt;/li&gt;
&lt;li&gt;When using internal 32kHz RC oscillator as clock source for RTC and no RAM retention: 1.5uA + (16 x 0.03) = 1.98uA (same assumption as above)&lt;/li&gt;
&lt;/ol&gt;
&lt;hr /&gt;
&lt;p&gt;Your guidance of exact setup and the code will be of immense help. Any setup that will bring the current near to these or lower than what I have will be helpful.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 Power Consumption</title><link>https://devzone.nordicsemi.com/thread/89078?ContentTypeID=1</link><pubDate>Mon, 19 Jun 2017 13:55:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a6f33a27-b837-4888-9714-96c70269d1ca</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Sorry, but it is not easy to measure current on the nrf52840 preview DK (pca10056 0.9.0). I tried different setups here too, but I was not able to get the lowest currents accurate enough. USB will cause a lot of noise, so usually the measurements become more inaccurate with USB. I get the best results if I power the DK from a stable voltage source on P21, and measure current through P22. SW10 Off, SW6 nrf only.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;EDIT&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Please disregard the above. What I did wrong was not to power the DK through USB. Even though you power the nRF chip from P21 you still have to power the DK through USB in order for everything else on the DK to work properly. The following should give good results:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;main USB connected&lt;/li&gt;
&lt;li&gt;stable voltage supply on P21&lt;/li&gt;
&lt;li&gt;SW10 -&amp;gt; ON&lt;/li&gt;
&lt;li&gt;SW6 -&amp;gt; nRF ONLY&lt;/li&gt;
&lt;li&gt;SW9 -&amp;gt; VDD&lt;/li&gt;
&lt;li&gt;Cut SB40 and measure current through P22&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>