<?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>11uA to 30 uA low power pulses at 4ms intervals.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/62526/11ua-to-30-ua-low-power-pulses-at-4ms-intervals</link><description>SDK16 
 S132 
 nrf52832 
 SES / Windows 10 
 
 After much searching this site and the web in general I&amp;#39;m reaching out for support. 
 While in low-power mode I&amp;#39;m seeing a pulse between 11uA and 30 uA every 4ms. I&amp;#39;m pretty much down in the nA range between</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 16 Jun 2020 14:06:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/62526/11ua-to-30-ua-low-power-pulses-at-4ms-intervals" /><item><title>RE: 11uA to 30 uA low power pulses at 4ms intervals.</title><link>https://devzone.nordicsemi.com/thread/255300?ContentTypeID=1</link><pubDate>Tue, 16 Jun 2020 14:06:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:56749249-7416-49bb-9f5c-ac35bd81b651</guid><dc:creator>PeterInStillwater</dc:creator><description>&lt;p&gt;Yes - That&amp;#39;s how I&amp;#39;m triggering the 1 seconds pulse.&amp;nbsp; Im sure there&amp;#39;s room for improvement there as well.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This project is a port from the 51 to 52.&amp;nbsp; In the 51 code there are multiple references to being able to directly control the power - for example:&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;div style="background-color:#ffffff;color:#000000;font-family:&amp;#39;Consolas&amp;#39;;font-size:10.0pt;font-style:normal;font-weight:normal;text-decoration:none;"&gt;
&lt;pre&gt;&lt;span&gt;    NRF_UART0-&amp;gt;POWER  = 1; // Universal Asynchronous Receiver / Transmitter 0&lt;/span&gt;
&lt;span&gt;    NRF_SPI0-&amp;gt;POWER   = 1; // Serial Peripheral Interface (Master) 0&lt;/span&gt;
&lt;span&gt;    NRF_TWI0-&amp;gt;POWER   = 1; // Two Wire Interface (Master) 0 Note: will not work without enabling this&lt;/span&gt;
&lt;span&gt;    NRF_SPI1-&amp;gt;POWER   = 0; // Serial Peripheral Interface (Slave) 1&lt;/span&gt;
&lt;span&gt;    NRF_TWI1-&amp;gt;POWER   = 0; // Two Wire Interface (Slave) 1&lt;/span&gt;
&lt;span&gt;    NRF_SPIS1-&amp;gt;POWER  = 0; // Serial Peripheral Interface 0&lt;/span&gt;
&lt;span&gt;    NRF_GPIOTE-&amp;gt;POWER = 1; // GPIO Tasks and Events&lt;/span&gt;
&lt;span&gt;    NRF_ADC-&amp;gt;POWER    = 0; // Analog-to-Digital Controller&lt;/span&gt;
&lt;span&gt;    NRF_TIMER0-&amp;gt;POWER = 1; // Timer / Counter 0&lt;/span&gt;
&lt;span&gt;    NRF_TIMER1-&amp;gt;POWER = 0; // Timer / Counter 1&lt;/span&gt;
&lt;span&gt;    NRF_TIMER2-&amp;gt;POWER = 0; // Timer / Counter 2&lt;/span&gt;
&lt;span&gt;    NRF_RTC0-&amp;gt;POWER   = 1; // Real Time Counter 0&lt;/span&gt;
&lt;span&gt;    NRF_TEMP-&amp;gt;POWER   = 1; // Temperature Sensor&lt;/span&gt;
&lt;span&gt;    NRF_RNG-&amp;gt;POWER    = 1; // Random Number Generator&lt;/span&gt;
&lt;span&gt;    NRF_ECB-&amp;gt;POWER    = 1; // Crypto ECB&lt;/span&gt;
&lt;span&gt;    NRF_AAR-&amp;gt;POWER    = 1; // Accelerated Address Resolver&lt;/span&gt;
&lt;span&gt;    NRF_CCM-&amp;gt;POWER    = 1; // AES CCM Mode Encryption&lt;/span&gt;
&lt;span&gt;    NRF_WDT-&amp;gt;POWER    = 0; // Watchdog Timer&lt;/span&gt;
&lt;span&gt;    NRF_RTC1-&amp;gt;POWER   = 1; // Real Time Counter 1&lt;/span&gt;
&lt;span&gt;    NRF_QDEC-&amp;gt;POWER   = 0; // Rotary Quadrature Decoder&lt;/span&gt;
&lt;span&gt;    NRF_LPCOMP-&amp;gt;POWER = 0; // Low Power Comparator&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;I&amp;#39;ve not been able to find reference to equivalent functionality in SDK16.  In &lt;br /&gt;the NRFX structures several/most of the &amp;quot;POWER&amp;quot; member.  &lt;br /&gt;&lt;br /&gt;Peter&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 11uA to 30 uA low power pulses at 4ms intervals.</title><link>https://devzone.nordicsemi.com/thread/255249?ContentTypeID=1</link><pubDate>Tue, 16 Jun 2020 12:23:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4d488713-f814-4648-a572-52d6d4197dd7</guid><dc:creator>ketiljo</dc:creator><description>&lt;p&gt;There&amp;#39;s something that wakes up the CPU every 100 ms. Do you have the RTC running?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 11uA to 30 uA low power pulses at 4ms intervals.</title><link>https://devzone.nordicsemi.com/thread/255241?ContentTypeID=1</link><pubDate>Tue, 16 Jun 2020 11:56:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:750cdc8a-eb5d-44ff-840f-acf1286896ed</guid><dc:creator>PeterInStillwater</dc:creator><description>&lt;p&gt;Here are some screen shots of what I&amp;#39;m seeing.&amp;nbsp; I mentioned the 4ms pulse above - I&amp;#39;m also interested in trying to understand the 100ms pulses.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Here are two one Second pulses where I wake up the timer:&amp;nbsp; Note 10-100ms pulses in between (not sure what these are either).&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/OneSecondPulses.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Below you will see 100 ms pulses with 24-four MS pulses in between.&lt;/p&gt;
&lt;p&gt;&lt;img alt="One Second Pulse Interval" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/OneHundredMSPulses.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;And here is the four MS pulses.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/FourMSPulses.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;For Reference,&lt;/p&gt;
&lt;p&gt;Thanks again - for your support,&lt;/p&gt;
&lt;p&gt;Peter&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 11uA to 30 uA low power pulses at 4ms intervals.</title><link>https://devzone.nordicsemi.com/thread/255145?ContentTypeID=1</link><pubDate>Tue, 16 Jun 2020 06:53:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fcf0245d-c0ac-47de-a588-5db49529b3f5</guid><dc:creator>ketiljo</dc:creator><description>&lt;p&gt;Refresh mode is not the same as DCDC. The refresh mode is only in use when the device is on it&amp;#39;s lowest power state and barely &amp;quot;kept alive&amp;quot;. The way it works is that you have a capacitor that is charged quickly with a short pulse. The regulator senses the voltage on the cap and gives another pulse when the voltage drops below the threshold. This gives quite a lot of ripple on the regulator output but that doesn&amp;#39;t matter as none of the power critical parts are on anyway. So you sacrifice ripple and load regulation for better efficiency.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 11uA to 30 uA low power pulses at 4ms intervals.</title><link>https://devzone.nordicsemi.com/thread/255105?ContentTypeID=1</link><pubDate>Mon, 15 Jun 2020 21:51:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:49b39270-45d5-427b-bcf1-763a4107a680</guid><dc:creator>hmolesworth</dc:creator><description>&lt;p&gt;This is unexpected behaviour; I thought the automatic refresh mode was conditional on external components and therefore could be disabled (or rather not enabled before enabling the softdevice). The external components are optional:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Automatic switching between LDO and DC/DC regulator based on load to maximize efficiency&lt;/em&gt;&lt;br /&gt;&lt;em&gt;Note: Two additional external passive components are required to use the DC/DC regulator&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Breaking execution with and without &lt;em&gt;DCDCEN&lt;/em&gt; enabled shows that the softdevice does not enable the DC-DC converter; does this imply a pulsed LDO? How does that reduce power consumption?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 11uA to 30 uA low power pulses at 4ms intervals.</title><link>https://devzone.nordicsemi.com/thread/255094?ContentTypeID=1</link><pubDate>Mon, 15 Jun 2020 17:56:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f2639610-4eac-41e5-b709-e820185b0624</guid><dc:creator>ketiljo</dc:creator><description>&lt;p&gt;The regulator is in refresh mode independent of LDO or DCDC mode&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 11uA to 30 uA low power pulses at 4ms intervals.</title><link>https://devzone.nordicsemi.com/thread/255088?ContentTypeID=1</link><pubDate>Mon, 15 Jun 2020 17:29:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:77961fae-5fc5-4ba0-a95d-bf309b53f58d</guid><dc:creator>hmolesworth</dc:creator><description>&lt;p&gt;Try turning the DC-DC converter off during the period when you want to avoid the current pulses, using instead the LDO (Low Drop-Out regulator) which doesn&amp;#39;t have current pulses. The LDO is less efficient when running at full blast, of course.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;  nrf_power_dcdcen_set(false);&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 11uA to 30 uA low power pulses at 4ms intervals.</title><link>https://devzone.nordicsemi.com/thread/255085?ContentTypeID=1</link><pubDate>Mon, 15 Jun 2020 16:49:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9b6db516-2362-4723-96bb-b6b2a3f28541</guid><dc:creator>ketiljo</dc:creator><description>&lt;p&gt;No, that&amp;#39;s not possible, it&amp;#39;s part of how the regulator works. When you start to draw more current, it will switch mode to be more efficient for larger currents. The internal regulators are optimized for the lowest possible current draw depending on the state of the chip, how many peripherals that are enabled etc.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 11uA to 30 uA low power pulses at 4ms intervals.</title><link>https://devzone.nordicsemi.com/thread/255060?ContentTypeID=1</link><pubDate>Mon, 15 Jun 2020 14:06:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c4756b39-e459-4eec-b912-03fc80c3b678</guid><dc:creator>PeterInStillwater</dc:creator><description>&lt;p&gt;Thank you Ketiljo - is there a way to disable the capacitor charge - put the regulator out of refresh mode?&amp;nbsp; Or is this not a desirable condition?&amp;nbsp; I would like to eliminate the pulses all together.&lt;/p&gt;
&lt;p&gt;Thank you again!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 11uA to 30 uA low power pulses at 4ms intervals.</title><link>https://devzone.nordicsemi.com/thread/255009?ContentTypeID=1</link><pubDate>Mon, 15 Jun 2020 12:24:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:df92a475-132f-4d0f-8b21-1bb587026067</guid><dc:creator>ketiljo</dc:creator><description>&lt;p&gt;What you see is the regulator being in refresh mode. When the regulator is in the lowest power mode, it will charge a capacitor in very narrow bursts at regular intervals. The width of the pules are just a few µs so it makes it a bit hard to capture and measure them correctly.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 11uA to 30 uA low power pulses at 4ms intervals.</title><link>https://devzone.nordicsemi.com/thread/254805?ContentTypeID=1</link><pubDate>Fri, 12 Jun 2020 20:53:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7ac5995b-58da-4951-b6ca-6e4f3d8ff198</guid><dc:creator>PeterInStillwater</dc:creator><description>&lt;p&gt;P.S.&amp;nbsp; I&amp;#39;m using the Otii to capture traces and make my measurements.&amp;nbsp; I&amp;#39;ve been very pleased with the performance of this tool&amp;nbsp; - I recommend checking it out&amp;nbsp;!&amp;nbsp;&amp;nbsp;&lt;a href="https://www.qoitech.com/"&gt;https://www.qoitech.com/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Peter -&lt;br /&gt;Stillwater Minnesota&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>