<?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>energy peak every 166 ms in sleep mode</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/49887/energy-peak-every-166-ms-in-sleep-mode</link><description>hello! 
 i am using my nrf52832 with s132 softdevice. basically the ble template with my services and charas. 
 i checked power consumption in sleep mode and observed something interesting. there are energy peaks like 6 times a second. my theory is, that</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 17 Jul 2019 12:52:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/49887/energy-peak-every-166-ms-in-sleep-mode" /><item><title>RE: energy peak every 166 ms in sleep mode</title><link>https://devzone.nordicsemi.com/thread/198982?ContentTypeID=1</link><pubDate>Wed, 17 Jul 2019 12:52:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b6860e93-64c3-4b6e-8323-7501cbe3de87</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;Hi, this is refresh spikes. If you search for &amp;quot;refresh spikes&amp;quot; or &amp;quot;refresh mode&amp;quot; here on Devzone you will find posts describing this with plots etc. Short story: This is as expected and the current including the spikes is supposed to be 0.3uA in system OFF mode.&lt;/p&gt;
&lt;p&gt;The button is not polled.&lt;/p&gt;
&lt;p&gt;Compiling code as &amp;quot;debug&amp;quot; is not the same as entering &amp;quot;debug mode&amp;quot;. The emulated system OFF is when you have the debugger attached to the board and are actually debugging the chip.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: energy peak every 166 ms in sleep mode</title><link>https://devzone.nordicsemi.com/thread/198808?ContentTypeID=1</link><pubDate>Tue, 16 Jul 2019 20:20:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:11a7da6e-a06d-424d-9b00-41f82b7e86a3</guid><dc:creator>Kolonka</dc:creator><description>&lt;p&gt;I am sure, the device is not advertising :) the&amp;nbsp;blue voltage is measured between a 10 kohm resistor (the device works correctly with that resistor. i am&amp;nbsp;raising the resistor on-the-fly after the device is in low power mode, so the mpu never get less then 2 volts). the average voltage of 15.36 mV correspondents to 1.5 uA.&lt;/p&gt;
&lt;p&gt;I also got measurements from advertising. average current is 762 uA over there. in advertising there is also an led blinking every 2 seconds which raises that a bit. the peaks in advertising are actually in the same interval as in idle but smaller.&lt;/p&gt;
&lt;p&gt;in idle the peaks are about 20 uA. in advertising the peaks are 11 mA if i see correctly.&lt;/p&gt;
&lt;p&gt;the interval is somewhere about 1/5s or 1/6s, which is 166ms to 200ms. could it be that the timer from advertising is waking up the mpu but the mpu is just ignoring it and going back to sleep.&lt;/p&gt;
&lt;p&gt;i cant upload the image. it says &amp;#39;cant load preview&amp;#39;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: energy peak every 166 ms in sleep mode</title><link>https://devzone.nordicsemi.com/thread/198804?ContentTypeID=1</link><pubDate>Tue, 16 Jul 2019 19:58:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e8dfab34-5748-4e2d-b186-f361fa93625a</guid><dc:creator>sewes</dc:creator><description>&lt;p&gt;Are these the first seconds after the startup or is it after 3 minutes when the nrf52 goes into system off mode?&lt;/p&gt;
&lt;p&gt;Usually the button is interrupt-based and the application doesn&amp;#39;t need to poll it.&lt;/p&gt;
&lt;p&gt;Maybe your 166ms are actually 187.5ms and your device sends advertisements.&lt;/p&gt;
&lt;p&gt;187.5ms is the default value for the advertisement intervall in the ble_template. :-)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>