<?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>NRF52 current peaks</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/29885/nrf52-current-peaks</link><description>I am seeing strange current spikes when measuring the consumption in a nRF52 chip. The board the chip is on is a custom board, but the nRF52 power supply has been isolated so its consumption can be measured alone. I didn&amp;#39;t flash any soft device and I</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 31 Jan 2018 10:03:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/29885/nrf52-current-peaks" /><item><title>RE: NRF52 current peaks</title><link>https://devzone.nordicsemi.com/thread/118853?ContentTypeID=1</link><pubDate>Wed, 31 Jan 2018 10:03:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:41ca5a87-97d3-4057-9520-253124868150</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Great! Please keep us posted.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52 current peaks</title><link>https://devzone.nordicsemi.com/thread/118852?ContentTypeID=1</link><pubDate>Wed, 31 Jan 2018 09:54:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:42991e11-3620-4514-aae0-55a1444b16c4</guid><dc:creator>genis</dc:creator><description>&lt;p&gt;Sorry for the late response. I&amp;#39;ll see if I can test different decoupling capacitors and see what effect has on the refresh mode.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52 current peaks</title><link>https://devzone.nordicsemi.com/thread/118851?ContentTypeID=1</link><pubDate>Fri, 26 Jan 2018 12:34:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4d42435a-f912-409d-a79b-4d2e3da4cf5c</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;I had a chat with our current measurement guru, and it is indeed possible that it&amp;#39;s just the refresh mode you are seeing. The height, frequency, and pulse width of the current spikes that is caused by the refresh mode depends on:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;The current drawn by the nRF52. Higher current consumption -&amp;gt; more frequent pulses.&lt;/li&gt;
&lt;li&gt;The size of your decoupling capacitors. Larger capacitances -&amp;gt; wider spikes.&lt;/li&gt;
&lt;li&gt;The internal resistance of your decoupling capacitors. High resistance -&amp;gt; wider spikes.&lt;/li&gt;
&lt;li&gt;The internal resistance of your power supply. Low resistance -&amp;gt; high spikes.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;If you had an ideal power supply (without internal resistance) and ideal decoupling capacitors (also without internal resistance) your current spikes would be infinitely high and infinitely narrow.&lt;/p&gt;
&lt;p&gt;So while your spikes are in the high end of what we usually see, the periodicity of them is a strong indicator of this being the refresh mode in action.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52 current peaks</title><link>https://devzone.nordicsemi.com/thread/118850?ContentTypeID=1</link><pubDate>Fri, 26 Jan 2018 09:46:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:48c76880-5d3c-421e-af7a-8140adc6692e</guid><dc:creator>genis</dc:creator><description>&lt;p&gt;Yes, I saw the same behaviour on larger projects. I didn&amp;#39;t try on the nRF52 demo board so it&amp;#39;s probably worth trying it and see if there&amp;#39;s the same beaviour. Is there anyway to lower the amplitude of the spikes? Are they affected somehow by any components around the chip?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52 current peaks</title><link>https://devzone.nordicsemi.com/thread/118849?ContentTypeID=1</link><pubDate>Thu, 25 Jan 2018 13:24:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a89ce87f-7e88-4606-a502-95470f90292c</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;If you saw the same spikes in other projects I suppose you have done it correctly, but I&amp;#39;m going to ask anyway: does your probe attenuation match the settings on your scope? 13-14mA is suspiciously close to 10x of what you would expect from the refresh mode. The frequency seems a bit high for refresh in system off though, but the pulse width (10-15uS expected) seems to match too.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52 current peaks</title><link>https://devzone.nordicsemi.com/thread/118848?ContentTypeID=1</link><pubDate>Thu, 25 Jan 2018 08:25:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6ab00814-983a-42e8-ac76-623fbfa9fb6e</guid><dc:creator>genis</dc:creator><description>&lt;p&gt;Thank you for your help. That&amp;#39;s the only code in my project apart from the startup code, which I got from one of the examples in the SDK. The chip is powered at 3V and supply is stable and no reset is occurring.&lt;/p&gt;
&lt;p&gt;I saw the same spikes while monitoring the consumption in a larger project. I started to remove code modules to try to identify what was causing the current spikes and ended up with the snippet I pasted no the question. In the original, larger project I could see the same kind of spikes although at a different rate.&lt;/p&gt;
&lt;p&gt;The behavior I see is very similar to the &amp;quot;power off&amp;quot; graph in this tutorial: &lt;a href="https://devzone.nordicsemi.com/tutorials/29/"&gt;devzone.nordicsemi.com/.../&lt;/a&gt;. The biggest difference is that my current spikes are way larger than those in the tutorial. I wonder if I could reduce them somehow as it&amp;#39;s drawing a lot of power from the battery right now.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52 current peaks</title><link>https://devzone.nordicsemi.com/thread/118847?ContentTypeID=1</link><pubDate>Wed, 24 Jan 2018 17:19:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:96d9e330-51b9-469d-b747-aa1670875f04</guid><dc:creator>AmbystomaLabs</dc:creator><description>&lt;p&gt;The RF events are certainly the peak power times,  however even during constant use of the processor the SD (when used) will switch to the DCDC since power consumption is improved dramatically.&lt;/p&gt;
&lt;p&gt;Even so, the DCDC runs at probably 1MHz or more (the spec doesn&amp;#39;t say) and definitely not at 3.5Hz.  And, since DCC is on for either LDO or DCDC operation, it is not like there should be a large spike to fill up caps or something.&lt;/p&gt;
&lt;p&gt;If that is really all the code on the device then all GPIO should be in input mode and not sourcing.
I would suggest you put in the code some way to make sure it is not resetting at 3.5Hz. You could have local noise driving the reset line.  And, you should monitor vdd_nRF to make sure there isn&amp;#39;t a corresponding dip that is causing a brownout reset.&lt;/p&gt;
&lt;p&gt;What voltage are you running the nRF at?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52 current peaks</title><link>https://devzone.nordicsemi.com/thread/118846?ContentTypeID=1</link><pubDate>Wed, 24 Jan 2018 16:58:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a587cecb-fc16-429e-a160-9439301595dc</guid><dc:creator>genis</dc:creator><description>&lt;p&gt;Ok, I read somehwere that the DC/DC basically activates on RF operation.  And I disconnect the SWD after I flash it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52 current peaks</title><link>https://devzone.nordicsemi.com/thread/118845?ContentTypeID=1</link><pubDate>Wed, 24 Jan 2018 16:40:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ba7252de-0c6a-4b7b-8065-3e792cab4192</guid><dc:creator>AmbystomaLabs</dc:creator><description>&lt;p&gt;The DC/DC will run in the megahertz range and should only come on during major IC activity.  Otherwise it just uses the LDO which has a high frequency white noise pattern and very small amplitude.&lt;/p&gt;
&lt;p&gt;You are disconnecting the SWD when running this test, right?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>