<?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 Consmuption issue in nrf51 during advertising packets</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/7936/power-consmuption-issue-in-nrf51-during-advertising-packets</link><description>Hi All, 
 My goal is to advertise the generic packets untill a GPIO interrupt occurs. So in order to achieve low power consumption I have increased the time interval of those packets being advertised from 40ms to 3 seconds. While scanning i am able to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 07 Jul 2015 11:02:29 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/7936/power-consmuption-issue-in-nrf51-during-advertising-packets" /><item><title>RE: Power Consmuption issue in nrf51 during advertising packets</title><link>https://devzone.nordicsemi.com/thread/28387?ContentTypeID=1</link><pubDate>Tue, 07 Jul 2015 11:02:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f7b66199-d42b-45c6-9366-0d21e022bcba</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@Brajesh: No, you either need to calculate it, or you can try to toggle a GPIO pin before and after you finish the task. Then use a logic analyzer or oscilloscope to measure the distance between.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Power Consmuption issue in nrf51 during advertising packets</title><link>https://devzone.nordicsemi.com/thread/28386?ContentTypeID=1</link><pubDate>Tue, 07 Jul 2015 09:58:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b54cc2a5-cc54-40ba-9f02-856db7800396</guid><dc:creator>Brajesh</dc:creator><description>&lt;p&gt;Okay @Hung Bui, will get back to you with stats in SDK examples, but can you please guide me how can i read CPU processing time ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Power Consmuption issue in nrf51 during advertising packets</title><link>https://devzone.nordicsemi.com/thread/28385?ContentTypeID=1</link><pubDate>Tue, 07 Jul 2015 09:54:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fde38c27-0454-4c6b-bc8d-7a7a7fc1f286</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@Brajesh: What I meant was the CPU processing time, not the time your device remain in connection. Usually it&amp;#39;s only dozens of micro second for CPU processing time depends on what you process. And is 0 microsecond if you don&amp;#39;t have any interrupt handler or any processing in the main loop.
Let me know when you have the stats on testing with our example.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Power Consmuption issue in nrf51 during advertising packets</title><link>https://devzone.nordicsemi.com/thread/28388?ContentTypeID=1</link><pubDate>Tue, 07 Jul 2015 05:13:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:187b7870-0a77-43a1-a373-130ae3627682</guid><dc:creator>Brajesh</dc:creator><description>&lt;p&gt;@Hung Bui,&lt;/p&gt;
&lt;p&gt;It can vary how long we keep it in Connected mode, it can vary from 10 seconds to 2-3 hours or even more, but for now it is just for testing purpose and CPU is on all the time the device is connected, or if you are asking something else please let me know , I didn&amp;#39;t get it exactly.
I would try the SDK example and will come up with stats.
Thanks :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Power Consmuption issue in nrf51 during advertising packets</title><link>https://devzone.nordicsemi.com/thread/28384?ContentTypeID=1</link><pubDate>Fri, 03 Jul 2015 08:19:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a1c4a454-9208-4110-ad4d-d43305948a37</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@Brajesh: Depends on which timer you are using, if you use the RTC timer (app_timer) then the current consumption should be few uA.
If you use the timer running on 16MHz the current consumption will be 30uA+400uA (or +700uA depends on the 16MHz clock source) =&amp;gt; Anyway it can&amp;#39;t be the timer running on 16MHz clock.&lt;/p&gt;
&lt;p&gt;When in connection how long in a conection event do you keep the CPU on (to do interrupt handler for example) ?&lt;/p&gt;
&lt;p&gt;I would suggest you to test with our example. You can either try with &lt;a href="https://developer.nordicsemi.com/nRF51_SDK/nRF51_SDK_v8.x.x/doc/8.1.0/s110/html/a00080.html"&gt;ble_app_pwr_profiling&lt;/a&gt; (which is power optimized) or with any normal example , ble_app_hrs for example.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Power Consmuption issue in nrf51 during advertising packets</title><link>https://devzone.nordicsemi.com/thread/28380?ContentTypeID=1</link><pubDate>Fri, 03 Jul 2015 05:34:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:27929784-0e12-4eb4-94fa-0c7e89297200</guid><dc:creator>Brajesh</dc:creator><description>&lt;p&gt;@Hung Bui,  Yes&amp;#39; I&amp;#39;v made sure that there is no other peripheral apart from timer except few GPIO&amp;#39;s. As per datasheet, timer consumes 30uA while counting down which probably tells why it is taking 30uA in between &lt;strong&gt;BUT the same timer is running at the start for 15 seconds and device consumes only 5uA during that period.&lt;/strong&gt;&lt;br /&gt;
But I&amp;#39;m more worried about the power consumption during connected period when it consumes 2-3 mA.
I&amp;#39;ve also made sure i stop the timer when device gets connected. I&amp;#39;m using following GAP connection parameters for the connection setup.&lt;/p&gt;
&lt;p&gt;MIN_CON_INTERVAL - 20ms
MAX_CON_INTERVAL - 75ms
CONN_SUP_TIMEOUT - 4sec
SEC_PARAM_TIMEOUT - 30sec
SLAVE_LATENCY - 0&lt;/p&gt;
&lt;p&gt;These are the default connection parameters , can you please let me know what is the expected power consumption during connected period.
Do i need to change any of these parameters to reduce consumption ?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Power Consmuption issue in nrf51 during advertising packets</title><link>https://devzone.nordicsemi.com/thread/28383?ContentTypeID=1</link><pubDate>Thu, 02 Jul 2015 14:34:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:72616188-b50a-46c2-aa93-8ef67127475e</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@If you have other peripheral runing such as crystal, timer you would need to add them to the total power consumption. How accuracy is your power supply current measurement ?&lt;/p&gt;
&lt;p&gt;Regarding the 30uA current consumption, have you made sure there is no other peripheral running on the board, and on the chip, except for the timer ? What do you do when at the advertising time out ?&lt;/p&gt;
&lt;p&gt;2-3mA when in connection is still pretty high, which connection interval did you use ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Power Consmuption issue in nrf51 during advertising packets</title><link>https://devzone.nordicsemi.com/thread/28382?ContentTypeID=1</link><pubDate>Thu, 02 Jul 2015 10:25:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:39c5c512-6525-48d6-baae-b88896332207</guid><dc:creator>Brajesh</dc:creator><description>&lt;p&gt;Hi,
I have noticed on this thread &amp;quot; &lt;a href="https://devzone.nordicsemi.com/question/1316/what-is-the-power-and-clock-model-of-peripheral-in-nrf51/"&gt;devzone.nordicsemi.com/.../&lt;/a&gt; &amp;quot; that  in Idle (sleep) mode &amp;quot; The base current consumption in this mode is given in table 32 in the nRF51822 PS v3.1 as I_ON, 2.6 µA. &amp;quot;. But in my case as i explained above minimum current drawn is 5uA and afterwards it never returns to 5uA, it keeps on toggling between 250uA and 30uA as per timer and advertisement. Please suggest why i don&amp;#39;t get 2.6uA in sleep mode.&lt;/p&gt;
&lt;p&gt;Thanks in advance.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Power Consmuption issue in nrf51 during advertising packets</title><link>https://devzone.nordicsemi.com/thread/28381?ContentTypeID=1</link><pubDate>Thu, 02 Jul 2015 08:51:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ad861a1b-65cc-4b4b-9e72-4e93b5351b8b</guid><dc:creator>Brajesh</dc:creator><description>&lt;p&gt;@Hung Bui. I am measuring consumption using a multi point  Power supply.
Now i come up with correct measurements as previous power supply had issues with resolution. Following are the observations based on power supply monitor.
System starts and goes to Sleep(using sd_evt_wait API) mode immediately after all initialization. Timer starts (for 15 seconds) to wake up device in every 15 seconds. For first 15 seconds(when device is in sleep), the current consumption is 5uA.
After 15 sec, timer handler starts advertisement (with TIMEOUT 5 seconds) and consumes ~250 uA (for 5 seconds) and then for next 10 seconds consumes 30uA. Afterwards, It keep on toggling between 250uA and 30uA .  Not sure Why it doesn&amp;#39;t show 5uA again ? After connection, device consumes 2-3mA.
Does this sound alright now ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Power Consmuption issue in nrf51 during advertising packets</title><link>https://devzone.nordicsemi.com/thread/28379?ContentTypeID=1</link><pubDate>Wed, 01 Jul 2015 15:58:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:858ca53f-f2b2-41c1-abb9-2f8178dcf643</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@Brajesh: No it&amp;#39;s still too high. As I mentioned it should be on average 0.03mA.&lt;/p&gt;
&lt;p&gt;Have you tried with the default example in the SDK v5.2 ? The BLE HRS project , for examle ?
How did you measure the current consumption ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Power Consmuption issue in nrf51 during advertising packets</title><link>https://devzone.nordicsemi.com/thread/28378?ContentTypeID=1</link><pubDate>Wed, 01 Jul 2015 13:02:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6017b4f0-fbd5-4f32-a772-04ff95ad687f</guid><dc:creator>Brajesh</dc:creator><description>&lt;p&gt;Thanks Hung Bui for response. I am using Softdevice_6.0.0 and SDK-5.2.0.39364.
I have made some modifications now to reduce power consumption. I&amp;#39;m running a timer which wakes up system from sleep mode in every 15 seconds and start advertising for 5 seconds(TIMEOUT). Now the cosmuption has reduced to 4mA and 5mA (while advertising for 5 seconds). And after connection it consmumes 9mA continuously.
does it sound alright to you or still this is high than expected ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Power Consmuption issue in nrf51 during advertising packets</title><link>https://devzone.nordicsemi.com/thread/28377?ContentTypeID=1</link><pubDate>Wed, 01 Jul 2015 11:50:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c0d5ee8f-ba3a-432b-994c-9d9eedeb5b37</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@Brajesh: Constant consumption of 10mA, is way to0 high if you just doing advertising. It should be about 30uA when doing advertising with 1 second interval.
Could you let me know about your set-up? Schematics, layout, how you measure the current consumption ? Which firmware did you use (SDK, softdevice version )  ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>