<?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>Confusion with online power profiler.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/63296/confusion-with-online-power-profiler</link><description>Hi, We are developing a product based on the nRF52832 and have been measuring the current consumption on our first prototypes with a Keysight N6705 power analyser. We seem to have a base current, when the CPU is sleeping of around 100uA which was higher</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 03 Jul 2020 10:32:23 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/63296/confusion-with-online-power-profiler" /><item><title>RE: Confusion with online power profiler.</title><link>https://devzone.nordicsemi.com/thread/258283?ContentTypeID=1</link><pubDate>Fri, 03 Jul 2020 10:32:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:88bc0932-2c02-495b-a0b1-a2d4e57ab59a</guid><dc:creator>GLNeedham</dc:creator><description>&lt;p&gt;Simon,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks for your help in understanding this. It is quite a challenge to eliminate the last few microamps but we now have the knowledge to sort this out on this project and future ones&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you&lt;/p&gt;
&lt;p&gt;Glenn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Confusion with online power profiler.</title><link>https://devzone.nordicsemi.com/thread/258276?ContentTypeID=1</link><pubDate>Fri, 03 Jul 2020 10:27:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4c261211-1302-4669-bcf8-f927a9ad0052</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Glenn&lt;/p&gt;
&lt;p&gt;This makes sense. I think you got it correctly now! Yes, the HF XTAL will only start when it is called for by the SoftDevice to start the radio (or other operations requiring the XTAL oscillator).&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Confusion with online power profiler.</title><link>https://devzone.nordicsemi.com/thread/258247?ContentTypeID=1</link><pubDate>Fri, 03 Jul 2020 08:20:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:41780308-8cbb-478b-adc8-ef139c354052</guid><dc:creator>GLNeedham</dc:creator><description>&lt;p&gt;Simon,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I can confirm that I am NOT measuring between the wake-up/HFCLK start until the radio starts up but am in fact measuring between advertising so the 100uA does make sense in that context.&lt;/p&gt;
&lt;p&gt;As we have SPI initialised but no CSN activity I suspect that block is consuming more or less nothing, the RTC also draws very little. The PWM block is initialised but not generating an output therefore should be consuming more or less nothing. The I2C is initialised and will likely consume typically 50uA&lt;/p&gt;
&lt;p&gt;Also, because we have peripherals initialised then the internal HF OSC is likely running which consumes typ. 60uA&lt;/p&gt;
&lt;p&gt;I assume the HF XTAL OSC only starts when the radio is needed (in our application)?&lt;/p&gt;
&lt;p&gt;So, in theory we have ~50uA for the I2C plus ~60uA for the internal OSC giving a total of ~110uA which fits more or less perfectly with measurements&lt;/p&gt;
&lt;p&gt;Your other comment about me misunderstanding the OPP was correct, I had assumed &amp;#39;standby&amp;#39; meant between advertising, I had not fully taken notice of the ~1000us duration!!&lt;/p&gt;
&lt;p&gt;Assuming my comments above are correct then I think we fully understand the situation now so many thanks for your help&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Glenn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Confusion with online power profiler.</title><link>https://devzone.nordicsemi.com/thread/258244?ContentTypeID=1</link><pubDate>Fri, 03 Jul 2020 07:55:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f1f8773d-f54b-4aa2-a270-223158648fef</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Glenn&lt;/p&gt;
&lt;p&gt;I just ran the ble_app_template project on my side (on an nRF52840DK, didn&amp;#39;t have an nRF52832 at hand), and measured the current consumption for some scenarios using the PPK and the Power Profiler application in nRFConnect for Desktop.&lt;/p&gt;
&lt;p&gt;Average current while advertising (~140µA):&lt;br /&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-e0469e1290174c05ab3b65b61bc8feb8/pastedimage1593759171655v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Average current in IDLE mode between advertising events (~24µA):&lt;br /&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-e0469e1290174c05ab3b65b61bc8feb8/pastedimage1593759251735v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;I think you&amp;#39;re misunderstanding the Online Power Profiler, as the standby you&amp;#39;re pointing to is what is between the wake-up/HFCLK start until the radio starts up, which is why it is stated as 0.2mA in the OPP. Can you confirm whether this is the timeslot you&amp;#39;re measuring the current consumption in as well (see picture below), or are you measuring between the advertising events themselves?&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-e0469e1290174c05ab3b65b61bc8feb8/Capture_5F00_HFCLK.JPG" /&gt;&lt;/p&gt;
&lt;p&gt;If you&amp;#39;re seeing 100µA in the idle between ramp-up and radio, there must be something wrong with the way you&amp;#39;re measuring the current consumption, as the HFCLK is definitely running in this timeslot. If you&amp;#39;re seeing 100µA between advertising events, that likely means that one of the peripherals you&amp;#39;re using is not uninitialized properly.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Confusion with online power profiler.</title><link>https://devzone.nordicsemi.com/thread/258145?ContentTypeID=1</link><pubDate>Thu, 02 Jul 2020 14:09:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cb27be88-5085-4e55-be57-19af898ed014</guid><dc:creator>GLNeedham</dc:creator><description>&lt;p&gt;Simon,&lt;/p&gt;
&lt;p&gt;Our FW is based on your template:&lt;/p&gt;
&lt;div style="font-family:&amp;#39;Segoe UI&amp;#39;, system-ui, &amp;#39;Apple Color Emoji&amp;#39;, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size:14px;font-style:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;"&gt;C:\Nordic SDK\nRF5_SDK_15.3.0_59ac345\examples\ble_peripheral\ble_app_template&lt;/div&gt;
&lt;div style="font-family:&amp;#39;Segoe UI&amp;#39;, system-ui, &amp;#39;Apple Color Emoji&amp;#39;, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size:14px;font-style:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;"&gt;&lt;/div&gt;
&lt;div style="font-family:&amp;#39;Segoe UI&amp;#39;, system-ui, &amp;#39;Apple Color Emoji&amp;#39;, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size:14px;font-style:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;"&gt;and we have not modified the power management code at all.&lt;/div&gt;
&lt;div style="font-family:&amp;#39;Segoe UI&amp;#39;, system-ui, &amp;#39;Apple Color Emoji&amp;#39;, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size:14px;font-style:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;"&gt;&lt;/div&gt;
&lt;div style="font-family:&amp;#39;Segoe UI&amp;#39;, system-ui, &amp;#39;Apple Color Emoji&amp;#39;, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size:14px;font-style:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;"&gt;Using the Keysight power analyser I can examine the current consumption at any moment in time and the 100uA current is the instantaneous current between advertising and between our 100ms wake up so it is at the time when the CPU should be asleep.&lt;/div&gt;
&lt;div style="font-family:&amp;#39;Segoe UI&amp;#39;, system-ui, &amp;#39;Apple Color Emoji&amp;#39;, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size:14px;font-style:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;"&gt;&lt;/div&gt;
&lt;div style="font-family:&amp;#39;Segoe UI&amp;#39;, system-ui, &amp;#39;Apple Color Emoji&amp;#39;, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size:14px;font-style:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;"&gt;What I can say is that we have &amp;#39;inited&amp;#39; SPI, RTC, I2C and PWM but while asleep they are not active therefore I suspect that the current being consumed is the IDLE current for each of these peripherals. We do not call the uninit functions because we need to maintain the pin states.&lt;/div&gt;
&lt;div style="font-family:&amp;#39;Segoe UI&amp;#39;, system-ui, &amp;#39;Apple Color Emoji&amp;#39;, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size:14px;font-style:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;"&gt;&lt;/div&gt;
&lt;div style="font-family:&amp;#39;Segoe UI&amp;#39;, system-ui, &amp;#39;Apple Color Emoji&amp;#39;, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size:14px;font-style:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;"&gt;I don&amp;#39;t think the HF OSC can be running as the current is not high enough for that (datasheet says 250uA typ.)&lt;/div&gt;
&lt;div style="font-family:&amp;#39;Segoe UI&amp;#39;, system-ui, &amp;#39;Apple Color Emoji&amp;#39;, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size:14px;font-style:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;"&gt;&lt;/div&gt;
&lt;div style="font-family:&amp;#39;Segoe UI&amp;#39;, system-ui, &amp;#39;Apple Color Emoji&amp;#39;, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size:14px;font-style:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;"&gt;Perhaps just the SPI and I2C block current is accounting for what we see?&lt;/div&gt;
&lt;div style="font-family:&amp;#39;Segoe UI&amp;#39;, system-ui, &amp;#39;Apple Color Emoji&amp;#39;, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size:14px;font-style:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;"&gt;&lt;/div&gt;
&lt;div style="font-family:&amp;#39;Segoe UI&amp;#39;, system-ui, &amp;#39;Apple Color Emoji&amp;#39;, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size:14px;font-style:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;"&gt;Regards&lt;/div&gt;
&lt;div style="font-family:&amp;#39;Segoe UI&amp;#39;, system-ui, &amp;#39;Apple Color Emoji&amp;#39;, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size:14px;font-style:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;"&gt;Glenn&lt;/div&gt;
&lt;div style="font-family:&amp;#39;Segoe UI&amp;#39;, system-ui, &amp;#39;Apple Color Emoji&amp;#39;, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size:14px;font-style:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;"&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Confusion with online power profiler.</title><link>https://devzone.nordicsemi.com/thread/258116?ContentTypeID=1</link><pubDate>Thu, 02 Jul 2020 13:13:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:67b29970-5b73-4c42-b2a0-948b90e2b4f6</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Glenn&lt;/p&gt;
&lt;p&gt;This standby current you&amp;#39;re seeing in the online power profiler is the standby current before the radio turns on, where the HFCLK is running (consuming ~200µA). The&amp;nbsp;&lt;strong&gt;sleep&amp;nbsp;&lt;/strong&gt;current should not be as much as 100µA either like what you&amp;#39;re seeing on your device. I assume you have a peripheral still running that is drawing this extra current, as an nRF52832 in sleep mode running the RTC in sleep mode shouldn&amp;#39;t consume more than ~2.6µA. Please see&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fps_nrf52833%2F_tmp%2Fnrf52833%2Fautodita%2FCURRENT%2Fparameters.i_sleep.html&amp;amp;"&gt; this table&lt;/a&gt; for more information on the sleep mode currents (yes this is from the nRF52833 PS, as we haven&amp;#39;t updated the nRF52832 PS to include these current consumption scenarios, but they are very similar in terms of current consumption).&lt;/p&gt;
&lt;p&gt;Can you show me a snippet of how your application goes to sleep and initializes the RTC? If you&amp;#39;re seeing the total current consumption being ~100µA that might be because of what the application does every 100ms when it &amp;quot;wakes up to do some work&amp;quot;. Are you able to measure the current consumption in specific parts of the application running, I.E. just when operating and just when it&amp;#39;s asleep?&lt;/p&gt;
&lt;p&gt;Please note that we&amp;#39;re entering the summer vacation period here in Norway, so delays must be expected as we are low on staff for the month of July. Sorry about the inconvenience!&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>