<?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>device current consumption during advertising</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/60048/device-current-consumption-during-advertising</link><description>Hi, 
 I am evaluating nRF52840 DK as a peripheral with 300ms interval with no timeout (continuous advertising with APP_ADV_DURATION set to 0 ). 
 I understood that while APP_ADV_DURATION is set to 0 the MCU device never goes to sleep. 
 I filled up the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 17 Apr 2020 07:21:48 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/60048/device-current-consumption-during-advertising" /><item><title>RE: device current consumption during advertising</title><link>https://devzone.nordicsemi.com/thread/245133?ContentTypeID=1</link><pubDate>Fri, 17 Apr 2020 07:21:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c5197cba-5fc5-46dc-b607-759a080dc109</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;I&amp;#39;m happy&amp;nbsp;to help Gil. The best of luck with your project &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: device current consumption during advertising</title><link>https://devzone.nordicsemi.com/thread/245081?ContentTypeID=1</link><pubDate>Thu, 16 Apr 2020 17:02:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7722befd-dca6-435a-b4d9-4599c5f3f90a</guid><dc:creator>Gil</dc:creator><description>&lt;p&gt;Thank you very much for your answer,&lt;/p&gt;
&lt;p&gt;Gil&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: device current consumption during advertising</title><link>https://devzone.nordicsemi.com/thread/244899?ContentTypeID=1</link><pubDate>Thu, 16 Apr 2020 09:13:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bca7b2b1-46f6-4e62-ab1c-acc7f31a7b7d</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Gil&lt;/p&gt;
&lt;p&gt;Yes, the idle_state_handle() function called repeatedly in the main loop will in turn call the&amp;nbsp;nrf_pwr_mgmt_run() function, which puts the CPU to sleep whenever there are no events to process or any log data to print.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: device current consumption during advertising</title><link>https://devzone.nordicsemi.com/thread/244529?ContentTypeID=1</link><pubDate>Tue, 14 Apr 2020 16:48:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:36808b3f-8f4e-48a9-847f-960084502398</guid><dc:creator>Gil</dc:creator><description>&lt;p&gt;I see. Thanks for your answer.&lt;/p&gt;
&lt;p&gt;So, does the ble_app_hrs_pca10056_s140 SDK demo project i am running actually sends the CPU to sleep between advertise packets?&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: device current consumption during advertising</title><link>https://devzone.nordicsemi.com/thread/244453?ContentTypeID=1</link><pubDate>Tue, 14 Apr 2020 13:21:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:18e3c08b-e31c-4099-8769-4f6cea6f3226</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Gil&lt;/p&gt;
[quote user=""]I understood that while&amp;nbsp;APP_ADV_DURATION is set to 0 the MCU device never goes to sleep.&amp;nbsp;[/quote]
&lt;p&gt;This is not totally correct. With the APP_ADV_DURATION set to 0 the advertising will continue forever, but the MCU will still go to sleep in between advertising events.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;[quote user=""][/quote]&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I got&amp;nbsp; a &amp;quot;total average current&amp;quot; of about 50uA.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;My question is: does this number include the device being awake all the time?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;No. When the CPU is running it draws&amp;nbsp;around 3-4mA, so in order to get 50uA average current you need to go to sleep in between advertise packets. Each advertise event takes a millisecond or two, so with an advertising interval of 300ms you can go to sleep for most of the time.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>