<?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>nRF52840DK current consumption tests using PPK II</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/108294/nrf52840dk-current-consumption-tests-using-ppk-ii</link><description>I am performing a tests on nRF52840DK to measure the System ON power consumption using PPK II. For all tests, I am using blinky example. The full code: 
 
 
 I have followed guide that explains how to prepare nRF52840DK for measuring current consumption</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 15 Feb 2024 11:55:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/108294/nrf52840dk-current-consumption-tests-using-ppk-ii" /><item><title>RE: nRF52840DK current consumption tests using PPK II</title><link>https://devzone.nordicsemi.com/thread/469004?ContentTypeID=1</link><pubDate>Thu, 15 Feb 2024 11:55:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a9e63ef-561c-4cb1-b473-cc31d0c4622a</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Having several power sources present simultaneously has been improved in newer board revisions, but I would recommend that you only keep one active.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840DK current consumption tests using PPK II</title><link>https://devzone.nordicsemi.com/thread/468997?ContentTypeID=1</link><pubDate>Thu, 15 Feb 2024 11:34:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dd60f7b3-9f10-434c-866b-9deee80b57da</guid><dc:creator>zazas321</dc:creator><description>&lt;p&gt;Sure, but can you confirm if there&amp;nbsp;is a difference between the USB plugged in and USB not plugged in when using nRF only mode? From what I understand there should be no difference?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Anyways, I have performed tests with CONFIG_SERIAL=n&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Here are the results:&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;strong&gt;TEST8&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Using Li-Po battery to power the board and having the USB disconnected&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;SW6: nRF only mode&lt;/li&gt;
&lt;li&gt;nRF Power source: VDD&lt;/li&gt;
&lt;li&gt;nRF52840 powered by the Li-po battery (3.8V)&lt;/li&gt;
&lt;li&gt;PPK II in Ampere meter mode&lt;/li&gt;
&lt;li&gt;USB (J2) to&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;disconnected&amp;nbsp;&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&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/pastedimage1707996481565v1.png" alt=" " /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;As you can see form the graph, I can see that the CPU enters system ON sleep mode and wakes up to perform some actions (toggling the GPIO) every 1 second. I guess that makes sense &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;strong&gt;TEST9&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;SW6: nRF only mode&lt;/li&gt;
&lt;li&gt;nRF Power source: VDD&lt;/li&gt;
&lt;li&gt;nRF52840 powered by the Li-po battery (3.8V)&lt;/li&gt;
&lt;li&gt;PPK II in Ampere meter mode&lt;/li&gt;
&lt;li&gt;USB (J2) to&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;disconnected&amp;nbsp;&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&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/pastedimage1707996596588v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Despite the fact that I have SW6 in nRF only mode, I am measuring the same current consumption as the nRF only mode. Is that because I dont have the USB plugged in which is required to power the interface MCU?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;strong&gt;TEST10&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;SW6:&amp;nbsp;Default mode&lt;/li&gt;
&lt;li&gt;nRF Power source: VDD&lt;/li&gt;
&lt;li&gt;nRF52840 powered by the Li-po battery (3.8V)&lt;/li&gt;
&lt;li&gt;PPK II in Ampere meter mode&lt;/li&gt;
&lt;li&gt;USB (J2) to&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;connected&lt;/strong&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&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/pastedimage1707996735133v3.png" alt=" " /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Since I have the USB connected, the current shoots up every 1 second. Does that have to do anything with the Interface CPU being powered?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;strong&gt;TEST11&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;SW6: nRF only mode&lt;/li&gt;
&lt;li&gt;nRF Power source: VDD&lt;/li&gt;
&lt;li&gt;nRF52840 powered by the Li-po battery (3.8V)&lt;/li&gt;
&lt;li&gt;PPK II in Ampere meter mode&lt;/li&gt;
&lt;li&gt;USB (J2) to&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;connected&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&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/pastedimage1707996809658v4.png" alt=" " /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Despite the fact that I have the USB connected, I have the SW6 in nRF only mode so I assume that interface MCU is disabled (opposite as TEST10) is my understanding correct?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840DK current consumption tests using PPK II</title><link>https://devzone.nordicsemi.com/thread/468980?ContentTypeID=1</link><pubDate>Thu, 15 Feb 2024 10:18:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb89f776-078a-4911-9304-8378dfbbdaa2</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;NRF_ONLY position should give the most accurate measurement:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/ug_nrf52840_dk/UG/dk/nrf_only_mode.html?cp=5_0_4_7_3_1"&gt;https://infocenter.nordicsemi.com/topic/ug_nrf52840_dk/UG/dk/nrf_only_mode.html?cp=5_0_4_7_3_1&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840DK current consumption tests using PPK II</title><link>https://devzone.nordicsemi.com/thread/468843?ContentTypeID=1</link><pubDate>Wed, 14 Feb 2024 14:04:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5cc04073-1611-48ca-b401-1cf5296f17a4</guid><dc:creator>zazas321</dc:creator><description>&lt;p&gt;Il repeat the tests with serial turned OFF tommorow.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Additionally, I would like to further understand if there is a difference if I have the USB plugged in when performing measurements or not? I was under the impression that if the switch is set to nRF only&amp;nbsp; there should be no difference if the rest of DK is powered since we only measure nRF only?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Is that right?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840DK current consumption tests using PPK II</title><link>https://devzone.nordicsemi.com/thread/468841?ContentTypeID=1</link><pubDate>Wed, 14 Feb 2024 13:56:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0364b2fb-eac8-4b20-a635-1accb639405d</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="zazas321"]What would be the easiest method to see the device enter the system ON mode (measuring current in few uA range)? As you can see from all the graphs the device did not seem to have entered proper low power mode even though for some tests I have used nRF only mode? Since my measurements are not taking into account LED current consumption, I would assume to see the device enter ultra low power mode when the LED is turned OFF and the CPU is idling..[/quote]
&lt;p&gt;Have you set CONFIG_SERIAL=n in your prj.conf?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840DK current consumption tests using PPK II</title><link>https://devzone.nordicsemi.com/thread/468825?ContentTypeID=1</link><pubDate>Wed, 14 Feb 2024 13:27:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d1d7849a-7057-440c-9b84-1c56ca155feb</guid><dc:creator>zazas321</dc:creator><description>[quote userid="2115" url="~/f/nordic-q-a/108294/nrf52840dk-current-consumption-tests-using-ppk-ii/468823"]The correct way depends on what&amp;nbsp;the requirements are. The DK is setup to only measure the nRF + what-ever is connected to the GPIOs (except for the buffered LEDs)[/quote]
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Ok lets forget the LED&amp;#39;s for now (perhaps I will make modification to solder some bridges as you have suggested later)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;What would be the easiest method to see the device enter the system ON mode (measuring current in few uA range)? As you can see from all the graphs the device did not seem to have entered proper low power mode even though for some tests I have used nRF only mode? Since my measurements are not taking into account LED current consumption, I would assume to see the device enter ultra low power mode when the LED is turned OFF and the CPU is idling..&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Could you provide some steps how to achieve this and perhaps it will get clear to me what was the issue.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840DK current consumption tests using PPK II</title><link>https://devzone.nordicsemi.com/thread/468823?ContentTypeID=1</link><pubDate>Wed, 14 Feb 2024 13:16:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:509647f4-4576-4538-9cd6-873eaadd59b4</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;When measuring current, it is important that you don&amp;#39;t back-power the peripherals/logic around the nRF on the DK itself.&lt;/p&gt;
&lt;p&gt;You can find the schematic and layout of the DK on our website, for reference:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.nordicsemi.com/Products/Development-hardware/nRF52840-DK/Download?lang=en#infotabs"&gt;https://www.nordicsemi.com/Products/Development-hardware/nRF52840-DK/Download?lang=en#infotabs&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m combining the answer on questions 1 to 4, as the root-cause is the same:&lt;/p&gt;
&lt;p&gt;It is because the LEDs are buffered through transistors, powered on a different voltage net.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote user=""]5. Regarding TEST5. Finally able to see the graph that makes some sense. The current increases/decreases at 1second intervals.. However the system does not seem to enter proper System ON low power mode when the task is idling.&amp;nbsp;[/quote]
&lt;p&gt;Here you are sourcing the whole DK, including switches/buffers/etc.&lt;/p&gt;
[quote user=""]6. Regarding TEST6 and TEST7 I am not fully understanding why there is no difference whether I have the USB plugged in or plugged out?[/quote]
&lt;p&gt;This is because you are powering the whole board via the external power. Here&amp;#39;s the logic for v2.0.x of the DK (which looks like the rev you have):&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/pastedimage1707916300381v1.png" alt=" " /&gt;&lt;/p&gt;
[quote user=""]7. So what is the truly correct way to measure the nRF52840DK current consumption? I am interested in the current consumption of the nRF52840 and all peripherals connected to it (LED&amp;#39;s and whatever other sensors that I plug in and use). For this, I assume I should use nRF only mode to ensure the Interface MCU is cut off. But as I shown in my experiments above, when using nRF only mode the cpu does not seem to run properly - the LED&amp;#39;s wont even blink.[/quote]
&lt;p&gt;The correct way depends on what&amp;nbsp;the requirements are. The DK is setup to only measure the nRF + what-ever is connected to the GPIOs (except for the buffered LEDs)&lt;/p&gt;
&lt;p&gt;As per yours, it includes the VDD_PER net, which will require that you connect some solder bridges and using the &amp;quot;NRF ONLY&amp;quot; position:&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/pastedimage1707916531708v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>