<?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>How to measure current with an external power supply on nRF52840?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/41250/how-to-measure-current-with-an-external-power-supply-on-nrf52840</link><description>Hi, 
 I have a nRF52840 DK that I want to measure sleep current on, but I find it a bit confusing with all the switches etc. After reading through the documentation I have the following setup: 
 SW10: ON SW6: nRF ONLY SW9: VDD P21: Power analyzer 
 But</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 09 Jan 2019 07:02:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/41250/how-to-measure-current-with-an-external-power-supply-on-nrf52840" /><item><title>RE: How to measure current with an external power supply on nRF52840?</title><link>https://devzone.nordicsemi.com/thread/164612?ContentTypeID=1</link><pubDate>Wed, 09 Jan 2019 07:02:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:66ddd197-e615-4731-9244-dda5ddc5edf6</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;I&amp;#39;m sorry we don&amp;#39;t. If you submit a private support ticket here on devzone maybe we can pull out some data from production. &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to measure current with an external power supply on nRF52840?</title><link>https://devzone.nordicsemi.com/thread/164532?ContentTypeID=1</link><pubDate>Tue, 08 Jan 2019 13:32:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:879e3520-d16e-4399-8a2c-77c15927e5cf</guid><dc:creator>SimonJ</dc:creator><description>&lt;p&gt;Thank you for the graph! Do you have a similar graph with ram retention on as this is required for my application?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to measure current with an external power supply on nRF52840?</title><link>https://devzone.nordicsemi.com/thread/164525?ContentTypeID=1</link><pubDate>Tue, 08 Jan 2019 13:06:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b4e54040-68a5-46ea-b226-9db9780a7386</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;Sorry for the late reponse.. It&amp;#39;s been christmas vacation time over here. &lt;br /&gt;&lt;br /&gt;You should get close to 3.16 as stated in the datasheet. 6.5 uA seems a bit too high.&lt;br /&gt;&lt;br /&gt;Can you put the chip to system OFF mode and measure the current? Whatever current you get over 3-400nA is most likely caused by measurement error. &lt;br /&gt;&lt;br /&gt;You can find current consumption over temperature in the plots at the bottom of this page: &lt;a href="https://www.nordicsemi.com/DocLib/Content/Product_Spec/nRF52840/latest/_tmp/graviton/autodita/CURRENT/parameters-id_current_sleep"&gt;https://www.nordicsemi.com/DocLib/Content/Product_Spec/nRF52840/latest/_tmp/graviton/autodita/CURRENT/parameters-id_current_sleep&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Just a comment about the online power profiler: seems like you were looking at numbers for the nRF52832 not the nRF52840&lt;br /&gt;&lt;br /&gt;For a power optimized example in the SDK, please check out the ble_app_pwr_profiling example.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to measure current with an external power supply on nRF52840?</title><link>https://devzone.nordicsemi.com/thread/164372?ContentTypeID=1</link><pubDate>Mon, 07 Jan 2019 18:55:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6b118a53-0504-46b5-b54b-e5a92e1f0ef8</guid><dc:creator>SimonJ</dc:creator><description>&lt;p&gt;Stian,&lt;/p&gt;
&lt;p&gt;Any progress here?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;br /&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to measure current with an external power supply on nRF52840?</title><link>https://devzone.nordicsemi.com/thread/161729?ContentTypeID=1</link><pubDate>Thu, 13 Dec 2018 15:40:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:65282c01-5502-40f7-81e6-28ae1d8c6462</guid><dc:creator>SimonJ</dc:creator><description>&lt;p&gt;Hi Stian,&lt;/p&gt;
&lt;p&gt;Should I then get&amp;nbsp;&lt;span&gt;ION_RAMON_RTC = 3.16 uA between each advertisement or 2.0 uA, as the Online Power Profiler states?&amp;nbsp;&lt;/span&gt;&lt;span&gt;I&amp;#39;m not able to get below 6.5 uA between each advertisement. With 100 ms adv. interval I get approx. 205 uA on average which is a lot more than 86 uA as the&amp;nbsp;Online Power Profiler states.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;By turning of all of the RAM, the datasheets states&amp;nbsp;ION_RAMOFF_RTC = 1.5 uA, so I don&amp;#39;t expect to get close to 2.0 uA by turning off only a few blocks. Is it something else I have missed? Do you have some SW examples I can use to get closer to the datasheet numbers?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Also, how is the current consumption over temperature? Our main goal with these tests is to see how the performance is at higher temperature.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank you!&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to measure current with an external power supply on nRF52840?</title><link>https://devzone.nordicsemi.com/thread/161410?ContentTypeID=1</link><pubDate>Wed, 12 Dec 2018 11:36:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5b34fa7e-06b5-4bb9-b270-ad5ea7fc624c</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;The refresh spikes are included in the datasheet numbers and are part of the idle current.&lt;/p&gt;
&lt;p&gt;The BLE stack will function properly if you disable some (not all) RAM blocks. You can read more about the softdevice RAM requirement &lt;a href="https://devzone.nordicsemi.com/tutorials/b/getting-started/posts/adjustment-of-ram-and-flash-memory"&gt;here&lt;/a&gt;, and how to adjust it. The &amp;quot;RAM size&amp;quot; variable must be adjusted to the size of the physical RAM (minus the size required by the softdevice, i.e. what is left over for the application).&lt;/p&gt;
&lt;p&gt;DCDC gives you the lowest power consumption.&lt;/p&gt;
&lt;p&gt;Please check out the &lt;a href="https://devzone.nordicsemi.com/power/"&gt;Online Power Profiler&lt;/a&gt; to get an estimate on the power consumption while using the softdevice.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to measure current with an external power supply on nRF52840?</title><link>https://devzone.nordicsemi.com/thread/161397?ContentTypeID=1</link><pubDate>Wed, 12 Dec 2018 10:59:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:07c4f1d5-2f5f-4c02-83ba-5cba3f9c34f7</guid><dc:creator>SimonJ</dc:creator><description>&lt;p&gt;Thank you.&lt;/p&gt;
&lt;p&gt;When I measure current, should I include the refresh mode pulses or are the datasheet numbers without them?&lt;/p&gt;
&lt;p&gt;Will the BLE stack function properly if I disable RAM blocks? I want to measure a realistic scenario where I do advertisements every 100 ms and 1 s, like a beacon.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Should I use the DCDC or LDO to achieve lowest power?&lt;/p&gt;
&lt;p&gt;What current consumption can I expect?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to measure current with an external power supply on nRF52840?</title><link>https://devzone.nordicsemi.com/thread/161392?ContentTypeID=1</link><pubDate>Wed, 12 Dec 2018 10:39:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c2f5068d-a2cc-40cc-88c1-68f2083aa2d1</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;The pulses you see between the advertising events are probably the ULP regulator operating in refresh mode. &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/38101/the-chip-s-current-consumption-is-not-expected/147109#147109"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/38101/the-chip-s-current-consumption-is-not-expected/147109#147109&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;You need to add LF clock and RTC current to the idle current when the softdevice is enabled. You can also try to &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52840.ps/power.html?cp=2_0_0_4_2_6_12#register.RAM-0-8.POWER"&gt;turn off the RAM blocks&lt;/a&gt; to save idle current.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to measure current with an external power supply on nRF52840?</title><link>https://devzone.nordicsemi.com/thread/161253?ContentTypeID=1</link><pubDate>Tue, 11 Dec 2018 15:08:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5951ac9e-a0af-4df4-8e19-8eefab5481c2</guid><dc:creator>SimonJ</dc:creator><description>&lt;p&gt;Thank you for verifying.&lt;/p&gt;
&lt;p&gt;Now I have a test setup based on the ble_pwr_profiling example in the SDK. I have modified the code to go directly into connectable advertisement mode and have set the interval to 100 ms.&lt;/p&gt;
&lt;p&gt;Between the advertisements I get two short current pulses at approximately 2.7 mA. What is that?&lt;/p&gt;
&lt;p&gt;Between the current pulses the average current is 4.6 uA, I would expect it to be less? How can I get the datasheet number of 2.35 uA? Or is it possible to go lower when running the BLE stack?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to measure current with an external power supply on nRF52840?</title><link>https://devzone.nordicsemi.com/thread/160553?ContentTypeID=1</link><pubDate>Thu, 06 Dec 2018 11:20:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:896b89c0-4f1c-4562-94f5-f458f526dc82</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;Yes, SW6 open the switches between the chip and the debugger, LEDs and UART interface.&lt;/p&gt;
&lt;p&gt;If SW10 in ON, the chip is powered from P21 -&amp;gt; VSRC_NRF -&amp;gt; SW9 (VDD pos.) -&amp;gt; VDD_nRF/VDD_HV&lt;/p&gt;
&lt;p&gt;If SW10 in OFF, the chip is powered from VDD -&amp;gt; VSRC_NRF -&amp;gt; SW9 (VDD pos.) -&amp;gt; VDD_nRF/VDD_HV.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to measure current with an external power supply on nRF52840?</title><link>https://devzone.nordicsemi.com/thread/160510?ContentTypeID=1</link><pubDate>Thu, 06 Dec 2018 08:41:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:97e5005a-4a63-416c-9440-b040b62b8e88</guid><dc:creator>SimonJ</dc:creator><description>&lt;p&gt;Hi Stian,&lt;/p&gt;
&lt;p&gt;Thank you for your clarification!&lt;/p&gt;
&lt;p&gt;Then SW10 does what I thought SW6 was doing. Do SW6 only open all the switches between nRF52840 and the debugger?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Is nRF52840 powered from P21.2 -&amp;gt; VSRC_NRF -&amp;gt; SW9 -&amp;gt; VDD_nRF/VDD_HV?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to measure current with an external power supply on nRF52840?</title><link>https://devzone.nordicsemi.com/thread/160444?ContentTypeID=1</link><pubDate>Wed, 05 Dec 2018 15:58:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:16d6ee4d-41a2-48a1-a156-60c3cd4d8a14</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;Hi, sorry for the confusion. I will try to clarify a bit.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Note that: VDD domain is the power domain of the DK (not including the nRF chip). Powering LEDs, debugger chip, etc..&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;If you use external supply, you can choose between powering the chip directly OR powering the whole DK from the external source. You choose this with the &lt;strong&gt;SW10&lt;/strong&gt; switch (VEXT-&amp;gt;nRF).&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Powering the chip directly (SW10 in ON position) enables you to use the power analyzer as a voltage source, and read out the current directly (as opposed to power analyzer as ampere-meter on P22). However, if you power the chip directly, the VDD domain on the DK will be floating, so you need to power the rest of the DK from USB. &lt;strong&gt;So, you need the USB cable to be plugged in to J2.&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;If you are not powering the chip directly (SW10 in OFF position), you &lt;strong&gt;do not&lt;/strong&gt; need the USB cable to be plugged in.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;SW6&lt;/strong&gt; disconnects the GPIOs from the rest of the DK. LEDs, buttons, etc.. If all GPIOs are configured as input (default) you don&amp;#39;t have to worry about leakage.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;SW9&lt;/strong&gt; is used for selecting the power source.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Li-Po: The nRF chip is powered by the Li-Po header on VDDH (high voltage regulator, REG0). The VDD domain on the DK has the same voltage as the output of REG0 (using a voltage follower, 1.8V as default)&lt;/li&gt;
&lt;li&gt;USB: Same as above except that the chip is powered by the nRF USB connector.&lt;/li&gt;
&lt;li&gt;VDD: Chip is powered from VDD domain, disabling the high voltage regulator. VDD domain is either USB, external supply or battery holder. When SW10 is ON, the chip is always powered from external supply.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;SW8&lt;/strong&gt; should always be on.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;So to answer your question specifically:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;SW10: ON&lt;/li&gt;
&lt;li&gt;SW6: nRF ONLY or DEFAULT&lt;/li&gt;
&lt;li&gt;SW9: VDD&lt;/li&gt;
&lt;li&gt;P21: Power analyzer (1.8V to 3.6V)&lt;/li&gt;
&lt;li&gt;J2 USB plugged in&lt;/li&gt;
&lt;li&gt;Yes, you can use the LEDs but you will have to set SW6 to DEFAULT. LEDs are powered through J2.&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to measure current with an external power supply on nRF52840?</title><link>https://devzone.nordicsemi.com/thread/160404?ContentTypeID=1</link><pubDate>Wed, 05 Dec 2018 14:03:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f23d203e-49fc-4e01-bd22-76401a4b4a37</guid><dc:creator>natersoz</dc:creator><description>&lt;p&gt;Correct! The schematic is very difficult - if not impossible - to understand how the pages connect together as well.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to measure current with an external power supply on nRF52840?</title><link>https://devzone.nordicsemi.com/thread/160399?ContentTypeID=1</link><pubDate>Wed, 05 Dec 2018 13:52:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7be8a355-8c90-421f-b759-99ff58f64b25</guid><dc:creator>SimonJ</dc:creator><description>&lt;p&gt;I&amp;#39;ve tried, but there are too many supply rails to keep track of them all.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to measure current with an external power supply on nRF52840?</title><link>https://devzone.nordicsemi.com/thread/160398?ContentTypeID=1</link><pubDate>Wed, 05 Dec 2018 13:45:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:82819ca4-4ed8-4650-afd4-dcd7551311f6</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;Probably easiest to look at the schematics to see what&amp;#39;s actually happening ...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>