<?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 management</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/76847/power-management</link><description>hi, 
 i am working with nrf52832. system on sleep mode is working ok in ble_app_uart example by commenting &amp;quot; //err_code = sd_power_system_off(); //APP_ERROR_CHECK(err_code);&amp;quot; in sleep_mode_enter(). when i am working with beacon example system on sleep</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 30 Jun 2021 11:44:25 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/76847/power-management" /><item><title>RE: power management</title><link>https://devzone.nordicsemi.com/thread/317948?ContentTypeID=1</link><pubDate>Wed, 30 Jun 2021 11:44:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0f73ba54-d216-40f2-bb20-be52fa008560</guid><dc:creator>harrys</dc:creator><description>&lt;p&gt;log is off . i want to know . commenting &amp;quot;log_init()&amp;quot; function is right way of doing nrf log off.&lt;/p&gt;
&lt;p&gt;i have initialized adc. and then de_init adc.&lt;/p&gt;
&lt;p&gt;with adc current = 5mA&lt;/p&gt;
&lt;p&gt;with deinit adc = 200uA&lt;/p&gt;
&lt;p&gt;is there any thing i&amp;nbsp;did&amp;nbsp;wrong.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/7024.beacon.jpg" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: power management</title><link>https://devzone.nordicsemi.com/thread/317942?ContentTypeID=1</link><pubDate>Wed, 30 Jun 2021 11:33:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4bb1cca8-28ea-43ee-8d81-184722c55d6f</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;200uA sounds reasonable when advertising. If you are measuring this after advertising stopped then it is a bit high.&lt;/p&gt;
&lt;p&gt;Check if you have enabled some logging that keeps the serial device on which inturn keeps HFCLK high.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: power management</title><link>https://devzone.nordicsemi.com/thread/317917?ContentTypeID=1</link><pubDate>Wed, 30 Jun 2021 09:47:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f7ab925-1322-49e7-97d1-0e431a6d4518</guid><dc:creator>harrys</dc:creator><description>&lt;p&gt;yes it takes around 200uA in sleep mode. is this can be issue of hf clk. if yes how i can disable it&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: power management</title><link>https://devzone.nordicsemi.com/thread/317905?ContentTypeID=1</link><pubDate>Wed, 30 Jun 2021 09:04:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:69349c5e-f17b-437e-88c8-2a17eaf37de9</guid><dc:creator>harrys</dc:creator><description>&lt;p&gt;you mean to say that beacon example is already working in system on sleep mode .&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: power management</title><link>https://devzone.nordicsemi.com/thread/317895?ContentTypeID=1</link><pubDate>Wed, 30 Jun 2021 08:49:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d684ce06-2193-4076-8ba5-7c99ddb41b0c</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;beacon is using &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsdk_nrf5_v17.0.2%2Fgroup__nrf__pwr__mgmt.html&amp;amp;cp=8_1_6_10_37"&gt;nrf_pwr_mgmt&lt;/a&gt;. n the idle_State_handle, it calls nrf_pwr_mgmt_run() which in calls the system idle sleep functions. So you do not have to do anything as the beacon example is already doing the system of idle calls in idle mode in the for(;;) loop in the main function.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: power management</title><link>https://devzone.nordicsemi.com/thread/317886?ContentTypeID=1</link><pubDate>Wed, 30 Jun 2021 08:24:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0daa1346-a94c-4bcf-aeea-04c2f74e7078</guid><dc:creator>harrys</dc:creator><description>&lt;p&gt;yes i have tested ble_uart_example in &amp;quot;system on sleep&amp;quot; mode on my hardware&amp;nbsp; it takes around 15uA.&lt;/p&gt;
&lt;p&gt;can you tell me steps to do the &amp;quot;system on sleep&amp;quot; mode in beacon example&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: power management</title><link>https://devzone.nordicsemi.com/thread/317883?ContentTypeID=1</link><pubDate>Wed, 30 Jun 2021 08:18:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e4a733bf-8a8b-4281-9bad-6a00dc247e8d</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;OK, So you have made some changes that I have not tested.&lt;/p&gt;
&lt;p&gt;Can you please first benchmark the changes you did on one nRF52 DK to see how much our DK. If it is about the same on the DK, then you have no issues on your custom hardware and then we can try to figure out the split in the power consumption that you are observing.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: power management</title><link>https://devzone.nordicsemi.com/thread/317861?ContentTypeID=1</link><pubDate>Wed, 30 Jun 2021 07:37:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:200ee9a1-4620-471a-9df0-afdc58b7907c</guid><dc:creator>harrys</dc:creator><description>&lt;p&gt;&lt;span style="background-color:#ffff00;"&gt;if you change the&amp;nbsp;NON_CONNECTABLE_ADV_INTERVAL from 100ms to 500ms, you can see that the average power drops from 750uA to around 500uA.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:#ffffff;"&gt;my hardware is consuming 1mA current when no advertising. i want to run the &amp;quot;system on sleep&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:#ffffff;"&gt;so i enabled rtc interrupt and called _WFE in for(;;);&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: power management</title><link>https://devzone.nordicsemi.com/thread/317850?ContentTypeID=1</link><pubDate>Wed, 30 Jun 2021 07:18:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:862dbcd3-62b7-4504-b27f-646c49411a0a</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Duration of advertisement will not influence the power consumption average while measuring the device when it is advertising. Radio operation is power intense and the advertising interval set to 100ms in beacon example (NON_CONNECTABLE_ADV_INTERVAL) gives the average power around 750-850uA average. If you change the&amp;nbsp;NON_CONNECTABLE_ADV_INTERVAL from 100ms to 500ms, you can see that the average power drops from 750uA to around 500uA.&lt;/p&gt;
&lt;p&gt;You can still change the program for beacon to go to deep sleep after the advertising timeout and call sd_power_system_off after configuring a wakeup source. You will then notice much less power consumption after advertisement timeout happened.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: power management</title><link>https://devzone.nordicsemi.com/thread/317822?ContentTypeID=1</link><pubDate>Wed, 30 Jun 2021 04:34:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:08928f2d-80d5-454c-95a2-4a6f8d87cef5</guid><dc:creator>harrys</dc:creator><description>&lt;p&gt;1.&lt;span&gt;&amp;nbsp;in ble_uart_example system goes to &amp;quot;system off sleep&amp;quot; ,mode after the completion of advertising duration.but what i did. i just commented &amp;quot;&lt;span style="background-color:#ffff00;"&gt;sd_power_system_off&lt;/span&gt;(deep sleep)&amp;quot; in&amp;nbsp;&lt;span style="background-color:#ffff00;"&gt;sleep_mode_enter()&lt;/span&gt; declaration. now system working on &amp;quot;&lt;span style="background-color:#ffff00;"&gt;system on sleep&lt;/span&gt;&amp;quot; mode. rtc is working in sleep mode. and current is in uA.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;2. in beacon example . beacon advertisement is continues(never timerout). i have changed&amp;nbsp; duration to 500 to set 5 sec advertisement timer&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt; m_adv_params.properties.type = BLE_GAP_ADV_TYPE_NONCONNECTABLE_NONSCANNABLE_UNDIRECTED;&lt;br /&gt; m_adv_params.p_peer_addr = NULL; // Undirected advertisement.&lt;br /&gt; m_adv_params.filter_policy = BLE_GAP_ADV_FP_ANY;&lt;br /&gt; m_adv_params.interval = NON_CONNECTABLE_ADV_INTERVAL;&lt;br /&gt; &lt;span style="background-color:#ffff00;color:#000000;"&gt;m_adv_params.duration = 500;// 0; // Never time out.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;as i see idle_state_handle() is called in for(;;). so it should go to system on sleep mode after advertisement duration. is there any wrong step i did. current is approx 1mA&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: power management</title><link>https://devzone.nordicsemi.com/thread/317781?ContentTypeID=1</link><pubDate>Tue, 29 Jun 2021 16:30:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:98f1096e-1603-4f43-ae7c-5900feb09dbd</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;You mentioned in your main description that the system is going to sleep in ble_app_uart and not in your beacon example? what do you mean by that? Did you measure power consumption on both and see that your beacon is taking much more power than you think it should?&lt;/p&gt;
&lt;p&gt;Is the beacon advertising while you are measuring power?&lt;/p&gt;
&lt;p&gt;Please read &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/75107/difference-between-system-on-sleep-mode-and-system-off-sleep-mode/309680#309680"&gt;this &lt;/a&gt;thread understand the different sleep modes you can have on nRF52 devices&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: power management</title><link>https://devzone.nordicsemi.com/thread/317681?ContentTypeID=1</link><pubDate>Tue, 29 Jun 2021 11:20:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:be62c35c-bb2e-4b32-a2f9-68f72faca64b</guid><dc:creator>harrys</dc:creator><description>&lt;p&gt;i don&amp;#39;t want system in deep sleep mode. i want to run it in SYSTEM ON SLEEP mode. i want to know when i call _WFE system goes in &amp;quot;system on sleep&amp;quot; or not. if not can you tell me how i can do it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: power management</title><link>https://devzone.nordicsemi.com/thread/317677?ContentTypeID=1</link><pubDate>Tue, 29 Jun 2021 11:15:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b766a3c1-048c-452a-a929-750eaab9136b</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;sd_power_system_off(Deep sleep) is not the same as __WFE (Idle sleep).&lt;/p&gt;
&lt;p&gt;Please use the same kind of sleeps to compare the results on both sides.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>