<?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 spikes in Power Profiler Kit</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/71444/current-spikes-in-power-profiler-kit</link><description>Hello, 
 I have been testing out the Power Profiler Kit on an nrf52840 DK (board revision 1.1.0) with the blinky example (SDK 3.2). All is working well and I am able to plot the current use over time on the Power Profiler App in NRF Connect. 
 However</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 17 Feb 2021 11:41:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/71444/current-spikes-in-power-profiler-kit" /><item><title>RE: Current spikes in Power Profiler Kit</title><link>https://devzone.nordicsemi.com/thread/294818?ContentTypeID=1</link><pubDate>Wed, 17 Feb 2021 11:41:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3c1fc448-b62c-46f3-852e-1fb723d138ec</guid><dc:creator>Angry_Oatmeal</dc:creator><description>&lt;p&gt;Hello Stian,&lt;/p&gt;
&lt;p&gt;Thank you for the answer, this makes some sense. I will go ahead and make use of the System On sleep mode using __WFE() to get some more data with the PPK.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you,&lt;br /&gt;Angry Oatmeal&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Current spikes in Power Profiler Kit</title><link>https://devzone.nordicsemi.com/thread/293651?ContentTypeID=1</link><pubDate>Tue, 09 Feb 2021 23:46:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a5787e07-1e35-42a3-b80a-d40106eac0d2</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;Hi, I think the spikes are just switching noise from one of the regulators on the nRF52840 DK, or possibly the USB supply. The blinky example uses a CPU loop to time the LED blinking, which means that the CPU is constantly running, consuming about 3-4 mA. So the current consumption is as expected.&lt;/p&gt;
&lt;p&gt;If you want to reduce the current you can use an app_timer to control the LED blinking, and put the CPU in idle. Or if you just want to measure the CPU idle current you can replace the main loop with only a __WFE() call.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;int main(void){
    for(;;){
        __WFE();
    }
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;In idle mode you will see spikes as well, every 30-40 ms. This is caused by the internal regulator in the nRF52840 operating in refresh mode, and is normal.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>