<?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>Softdevice - basic BLE advertising current consumption.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/85332/softdevice---basic-ble-advertising-current-consumption</link><description>Hello,nrf_pwr_mgmt 
 I am doing basic BLE advertising on the nRF52840 DK board and using nRF5 SK 17.0.2. I can see the current consumption is ~50uA but after using nrf_pwr_mgmt I don&amp;#39;t see any change in current consumption. 
 I am initializing the nrf_pwr_mgmt_init</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 02 Mar 2022 10:29:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/85332/softdevice---basic-ble-advertising-current-consumption" /><item><title>RE: Softdevice - basic BLE advertising current consumption.</title><link>https://devzone.nordicsemi.com/thread/355774?ContentTypeID=1</link><pubDate>Wed, 02 Mar 2022 10:29:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:254bcf02-eb1c-4419-995b-238e5a62b774</guid><dc:creator>Karl Ylvisaker</dc:creator><description>[quote user="Neeraj Dhekale"]Currently, I am measuring current from a multimeter.[/quote]
&lt;p&gt;Multimeters measures with a lot of averaging, which is likely why you are seeing 50 µA.&lt;br /&gt;As you can see from the sleep mode documentation the SYSTEM_ON sleep current should be much lower - but the advertising events will cause quite an increase in consumption.&lt;br /&gt;If you input your advertising configuration into the online power profiler you can subtract that from from your current measurement to estimate what your sleep current is, roughly.&lt;/p&gt;
[quote user="Neeraj Dhekale"]Do you mean that nrf_pwr_mgmt is optional and it goes into SYSTEM_ON sleep mode automatically whenever it is idle like &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/84256/nrf52840-system-on-low-power-mode/350639#350639"&gt;Low power mode in Zephyr&lt;/a&gt; does?[/quote]
&lt;p&gt;This is not the case, if you have not implemented system on sleep the device will not sleep and thus the CPU will be active all the time. It is not the same as the low power mode in Zephyr.&lt;/p&gt;
[quote user="Neeraj Dhekale"]Anyways I need to test in it power profiler. I will give a more clear idea about the difference before/after using nrf_pwr_mgmt.[/quote]
&lt;p&gt;I agree - this would be the best way to get an accurate picture of the consumption during the different stages of your program.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Softdevice - basic BLE advertising current consumption.</title><link>https://devzone.nordicsemi.com/thread/355764?ContentTypeID=1</link><pubDate>Wed, 02 Mar 2022 10:08:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:70d85ab4-5d0e-4c71-aca9-dba99c3b29d2</guid><dc:creator>Neeraj Dhekale</dc:creator><description>&lt;p&gt;Hello &lt;span class="user-name"&gt; &lt;a class="internal-link view-user-profile" href="https://devzone.nordicsemi.com/members/karl-ylvisaker"&gt; Karl Ylvisaker &lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="user-name"&gt;Currently, I am measuring current from a multimeter.&lt;/span&gt;&lt;/p&gt;
[quote userid="87869" url="~/f/nordic-q-a/85332/softdevice---basic-ble-advertising-current-consumption/355736#355736"]the device will setup and start advertising, and then go into SYSTEM_ON sleep whenever it is not handling an incoming event.[/quote][quote userid="87869" url="~/f/nordic-q-a/85332/softdevice---basic-ble-advertising-current-consumption/355736#355736"]~50 µA average sounds like you are entering the SYSTEM_ON sleep successfully[/quote]
&lt;p&gt;Without implementing&amp;nbsp;nrf_pwr_mgmt code I was getting the same&amp;nbsp;~50 &amp;micro;A current consumption. I was expecting it will be less than this.&amp;nbsp; Do you mean that nrf_pwr_mgmt is optional and it goes into SYSTEM_ON sleep mode automatically whenever it is idle like &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/84256/nrf52840-system-on-low-power-mode/350639#350639"&gt;Low power mode in Zephyr&lt;/a&gt; does?&lt;/p&gt;
&lt;p&gt;Anyways I need to test in it power profiler. I will give a more clear idea about the difference before/after using nrf_pwr_mgmt.&lt;/p&gt;
&lt;p&gt;Thanks and regards,&lt;/p&gt;
&lt;p&gt;Neeraj Dhekale&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Softdevice - basic BLE advertising current consumption.</title><link>https://devzone.nordicsemi.com/thread/355736?ContentTypeID=1</link><pubDate>Wed, 02 Mar 2022 09:07:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:81843693-02ef-46f6-ac5f-52061a015bd0</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello&amp;nbsp;&lt;span&gt;Neeraj Dhekale,&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
[quote user=""]Am I doing anything wrong? Is the above code is enough to achieve low power mode?[/quote]
&lt;p&gt;No, this looks alright - the device will setup and start advertising, and then go into SYSTEM_ON sleep whenever it is not handling an incoming event.&lt;/p&gt;
[quote user=""]but after using nrf_pwr_mgmt I don&amp;#39;t see any change in current consumption.[/quote]
&lt;p&gt;You should see quite the increase in power consumption if you measure it without&amp;nbsp;&lt;em&gt;idle_state_handle()&amp;nbsp;&lt;/em&gt;running in the main loop.&lt;/p&gt;
[quote user=""]I can see the current consumption is ~50uA but after using nrf_pwr_mgmt I don&amp;#39;t see any change in current consumption.[/quote]
&lt;p&gt;~50 µA average sounds like you are entering the SYSTEM_ON sleep successfully - the radio events (advertisings, scan requests, connection requests) will happen periodically and wake the CPU and Radio peripheral, which will add to your average consumption - keep in mind that I do not know how your advertising is configured. You could &lt;a href="https://devzone.nordicsemi.com/power/w/opp/2/online-power-profiler-for-bluetooth-le"&gt;use the Online Power Profiler to estimate how your advertising configuration will affect the power consumption of your device&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;How are you measuring your power consumption by the way, are you using an oscilloscope, Power Profiler Kit, or other instrument?&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;br /&gt;Karl&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>