<?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>Power consumption 52832</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/38192/power-consumption-52832</link><description>Hi, 
 
 I am relatively new to programming hardware at this level, and have developed our product on the 52832, so finally I have purchased the Power Profiler Kit, and downloaded the NRFConnect and power profiler software. 
 
 Please see the attached</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 12 Sep 2018 09:37:29 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/38192/power-consumption-52832" /><item><title>RE: Power consumption 52832</title><link>https://devzone.nordicsemi.com/thread/148366?ContentTypeID=1</link><pubDate>Wed, 12 Sep 2018 09:37:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:19580e27-3568-4546-bb97-c3e2a2882e47</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi Jason,&lt;/p&gt;
&lt;p&gt;We have not specified the accuracy of the SAADC without calibration. Why would you not want to do it? You can use the internal reference (so no HW requirement) and the SAADC driver support it, so it should only require a minimum amount of work on your part. It should not have any practical impact on average current consumption either, provided you don&amp;#39;t do it often. I&amp;nbsp;suggest you at least calibrate once at startup.&amp;nbsp;After that you do not necessarily have to calibrate it again unless there are large temperature variations (see &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/16011/nrf52-adc-calibration"&gt;this thread&lt;/a&gt;).&lt;/p&gt;
&lt;p&gt;Einar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Power consumption 52832</title><link>https://devzone.nordicsemi.com/thread/148299?ContentTypeID=1</link><pubDate>Wed, 12 Sep 2018 02:16:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8b2bf3e4-4188-4868-bc7f-16c468a2698b</guid><dc:creator>Jason Anderssen</dc:creator><description>&lt;p&gt;Hi Einar,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;One more question, if you dont mind answering, your help has be invaluable!!!&amp;nbsp; In the example&amp;#39;s I have seen for SAADC, how iimportant is the calibration, should I be implementing this in our product? How accurate is the battery reading if I dont calibrate vs do ?&lt;/p&gt;
&lt;p&gt;Cheers and thanks again&lt;/p&gt;
&lt;p&gt;Jason&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Power consumption 52832</title><link>https://devzone.nordicsemi.com/thread/148138?ContentTypeID=1</link><pubDate>Tue, 11 Sep 2018 07:56:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9cffe757-5038-4e36-9eed-05a264c0c3d0</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi Jason,&lt;/p&gt;
&lt;p&gt;You can calculate battery life in a simplified way like this:&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;Battery life [h] = (battery capacity [mAh]) / (average current consumption [mA])&lt;/p&gt;
&lt;p&gt;A CR2016 might give you about 80 mAh, so you get up to&amp;nbsp;0.75 years if you have an average current consumption of 11.6 μA. You should expect a significant variation though. And batteries are not as straightforward as this simple calculation suggests. &lt;a href="https://m.eet.com/media/1121454/c0924post.pdf"&gt;This article&lt;/a&gt; is interesting if you want to understand more about coin cell batteries.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Power consumption 52832</title><link>https://devzone.nordicsemi.com/thread/148109?ContentTypeID=1</link><pubDate>Tue, 11 Sep 2018 01:18:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3a47e562-7d3c-499c-abe8-a69ec6cde740</guid><dc:creator>Jason Anderssen</dc:creator><description>&lt;p&gt;Hi Elinar,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;What kind of life expectancy could you expect for a CR2016 Battery?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Cheers&lt;/p&gt;
&lt;p&gt;Jason&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Power consumption 52832</title><link>https://devzone.nordicsemi.com/thread/147931?ContentTypeID=1</link><pubDate>Mon, 10 Sep 2018 07:15:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:41c0307d-2f5d-4000-a496-147c08c311e4</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi Jason,&lt;/p&gt;
&lt;p&gt;Yes,&amp;nbsp;this&amp;nbsp;looks acceptable. It depends on a few factors, but it seems like you should be able to get a battery life of more than 1,5 years on a typical coin cell battery (3 V, 200 mAh).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Power consumption 52832</title><link>https://devzone.nordicsemi.com/thread/147919?ContentTypeID=1</link><pubDate>Mon, 10 Sep 2018 05:50:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4d1694a7-2abb-4f53-8984-0c98a501473e</guid><dc:creator>Jason Anderssen</dc:creator><description>&lt;p&gt;Hi Einar,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Please have a look in the new screen shot, and let me know if you think this would be acceptable for an iBeacon type of device ?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/Screen-Shot-2018_2D00_09_2D00_10-at-3.48.42-pm.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Cheers and thank in advance for you help&lt;/p&gt;
&lt;p&gt;Jason&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Power consumption 52832</title><link>https://devzone.nordicsemi.com/thread/147724?ContentTypeID=1</link><pubDate>Fri, 07 Sep 2018 08:13:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c654ad7f-6e33-4f6e-ab5c-bc1825eca98b</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;&lt;span&gt;Hi Jason,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Yes, if you keep the SAADC active it will typically give a high current consumption for a few reasons:&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span&gt;If you use a TIMER to trigger regular&amp;nbsp;sampling, this will keep the HF clock always on.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;If you use DMA (implicitly used if you&amp;nbsp;use more than one sample buffer), this will keep the DMA bus and underlying resources active&amp;nbsp;causing a high current consumption.&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span&gt;If you only need to collect a single sample every few minutes, then it is probably better to uninint the SAADC as you write, and initialize&amp;nbsp;it as needed. You could also consider a low power implementation such as &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/23867/nrf52-best-practise-for-ultra-low-power-saadc-4-channel-conversion#post-id-164115"&gt;discussed here&lt;/a&gt;. The driver supports low power&amp;nbsp;mode by setting&amp;nbsp;SAADC_CONFIG_LP_MODE to 1 in your projects sdk_config.h.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Power consumption 52832</title><link>https://devzone.nordicsemi.com/thread/147704?ContentTypeID=1</link><pubDate>Fri, 07 Sep 2018 05:36:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fcb73e1e-0f5d-48c3-b847-376b3d18e449</guid><dc:creator>Jason Anderssen</dc:creator><description>&lt;p&gt;Hi Einar,&lt;/p&gt;
&lt;p&gt;Sorry, you are correct, I am using the S132 Softdevice, and I have dug a little further taking into consideration of your comments about what else I maybe doing when create my RTC instance, I also setup SAADC for battery monitoring, and it looks like from what I can tell, the cause of the high power usage, so I have now tried to initialize the SAADC, and after I get a sample, I then uninitialize it, and wait for approx 5 minutes to repeat, however, after about&amp;nbsp;five minutes after uninitiliasing the SAADC (&amp;nbsp;nrf_drv_saadc_uninit ),&amp;nbsp;I try to initialize&amp;nbsp;(nrf_drv_saadc_init) and sample again, it simply wont work anymore, I keep trying to call&amp;nbsp;nrf_drv_saadc_sample (about every 5 seconds) to start a sample, but it wont call the callback???&amp;nbsp; Any idea of what I might be doing wrong.&lt;/p&gt;
&lt;p&gt;As a note, if I&amp;nbsp;&lt;span&gt;nrf_drv_saadc_init at the start once only, and perform the sampling every 5 minutes by calling&amp;nbsp;nrf_drv_saadc_sample, it works perfectly, however, this is probably the power consumption problem I am having, so performing the&amp;nbsp;nrf_drv_saadc_uninit seems to stop this working. So I am guessing I need to turn of the SAADC, to bring the power back down, but now I have a new problem...always the way :-)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;For your reference, the SDK I am using is 12.3&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Cheers and thanks again for your help.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Jason&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Power consumption 52832</title><link>https://devzone.nordicsemi.com/thread/147498?ContentTypeID=1</link><pubDate>Thu, 06 Sep 2018 08:11:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6a46acae-0de9-40d7-8f69-ece664060385</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;&lt;span&gt;Hi Jason,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I see. The current&amp;nbsp;consumption waveform&amp;nbsp;matched an advertising event, so then we know what is happening there.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Your second plot shows the average current consumption&amp;nbsp;including&amp;nbsp;the advertising events, and this looks very good. It does not show only the sleep current, but it cannot be bad as you gut such a low average current&amp;nbsp;consumption.&amp;nbsp;However, you should get this level regardless of using an additional RTC or not&lt;/span&gt;&lt;span&gt;, so there is probably something fishy with your FW. (The SoftDevice will already keep the 32 kHz clock active together&amp;nbsp;with RTC0, and an additional RTC instance should only result in an increase in current consumption of &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/rtc.html?cp=2_1_0_24_10_0#unique_1124226808"&gt;0.1&amp;nbsp;µA&lt;/a&gt;). Did you only disable the RTC to get to this level, or did you disable something else as well (perhaps indirectly, as not using the RTC prevents some other event from happening, so that you don&amp;#39;t trigger usage of some other resource)?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;You write that you use the S130 SoftDevice and the nRF52832. Is that really the case? The S130 is only intended to be used with the nRF51. The corresponding SoftDevice for nRF52832 is S132. Which SDK version are you using?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Einar&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Power consumption 52832</title><link>https://devzone.nordicsemi.com/thread/147456?ContentTypeID=1</link><pubDate>Thu, 06 Sep 2018 03:08:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9ea59136-d65f-477d-887a-bdbcc833e049</guid><dc:creator>Jason Anderssen</dc:creator><description>&lt;p&gt;Hi Einar,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you for your response, I am writing a beacon (using PCA10040 DK) that advertises once every 2 seconds, which would be those spikes.&lt;/p&gt;
&lt;p&gt;I have a timer I use when the user presses a button, but does nothing in normal operation mode (which is the sample in the screen shot)&lt;/p&gt;
&lt;p&gt;I have rtc running, and have it call its callback approx once a minute.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I also use pwm to power a buzzer, but only for certain aspects of the product, but not for normal usage (which is the sample as shown again in the screen shot)&lt;/p&gt;
&lt;p&gt;Is there anything I should be aware of regarding the above features being active when in-active?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Overall, the sample shown should be nothing more than a normal BLE beacon, advertising once every 2 seconds, and not buzzer, or timer should are currently running.&lt;/p&gt;
&lt;p&gt;I am use softdevice 130 as well for reference.&lt;/p&gt;
&lt;p&gt;Please see zoomed in screen shot as requested:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/Screen-Shot-2018_2D00_09_2D00_06-at-1.06.05-pm.png" /&gt;&lt;/p&gt;
&lt;p&gt;Please let me know what else you need to help me.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Cheers and once again, thanks in advance for your help.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I have also noticed that if I dont activate the RTC, the following is the result, which I think looks better ?&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/Screen-Shot-2018_2D00_09_2D00_06-at-1.19.25-pm.png" /&gt;&lt;/p&gt;
&lt;p&gt;Jason&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Power consumption 52832</title><link>https://devzone.nordicsemi.com/thread/147303?ContentTypeID=1</link><pubDate>Wed, 05 Sep 2018 08:20:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:511fc81a-0143-4346-84d5-38826293fcfc</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi Jason,&lt;/p&gt;
&lt;p&gt;I would not say this is a good result, though I don&amp;#39;t know anything about your product. I have a few observations:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;I see that there are some spikes which I guess is due to some activity on your board. They look a bit high if you only have the nRF consuming a significant amount of power, but we need to know more about what you are doing at that point to say more. It wold also be helpfull with a better time resolution. CAn you upload a plot where you have zoomed in on the spike itself (in time)?&lt;/li&gt;
&lt;li&gt;It seems like the base current is ~2 mA, which is a &lt;em&gt;very&lt;/em&gt; high sleep current. If you have a typical battery powered device this is most likely unacceptable. Can you zoom in on the sleep current as well, so that we can see more closely the actual level? We also need to know more about your HW design and perhaps more important, what you do to limit current consumption in your FW. Typically you should disable any unused peripherals when needed, and put the CPU to sleep whenever it is not needed (typically from you main loop). You can refer to the BLE examples in the SDK to see how it is done there. You also need to make sure to disable logging, as UART logging causes the UART peripheral to be active, which in turn needs the high frequency clock etc, causing a high idle current consumption. A typical sleep current for a nRF52832 device is about 2-3&amp;nbsp;μA.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>