<?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>Please tell me how to reduce the current consumption in sleep mode.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/97871/please-tell-me-how-to-reduce-the-current-consumption-in-sleep-mode</link><description>Hello, I&amp;#39;m an engineer from Japan. 
 There is a problem that the standby current in sleep mode is higher than expected. I am using &amp;quot;ble_central - ble_app_blinky_C&amp;quot; as a base program. In this program, both central and peripheral use sleep mode during standby</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 31 Mar 2023 10:52:37 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/97871/please-tell-me-how-to-reduce-the-current-consumption-in-sleep-mode" /><item><title>RE: Please tell me how to reduce the current consumption in sleep mode.</title><link>https://devzone.nordicsemi.com/thread/418544?ContentTypeID=1</link><pubDate>Fri, 31 Mar 2023 10:52:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6281d3d1-7907-4c6c-97ec-dfed19751996</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Thank you for explaining and uploading the file. So it seems like we misunderstand each other. You refer to the standby current being the total current when the device is connected and keeps a connection alive, correct? While I mean that the standby current is what the application is drawing in between radio events (the spikes in your power profiling app. Between these, you can see that the average current consumption is ~2µA&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1680259356528v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Using the external LF clock will indeed help, as it doesn&amp;#39;t make the application wake up every now and then to calibrate the internal RC oscillator. lowering the TX power will also reduce current consumption by a lot as the radio events (spikes) will reduce quite a bit, but this will affect the range and radio performance of your application.&lt;/p&gt;
&lt;p&gt;Increasing the connection interval will increase the time between every radio event so the stretches of ~2µA will be longer and the average lower. I think 5µA while maintaining a connection like this is a bit optimistic, and the 1-2µA average current consumption can only be expected if you have very long sleep times between radio event or if you disconnect from the peripheral entirely and wake up every now and then to connect and do a data transfer. More details on ways to optimize power on nRF52 designs can be found in&lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/optimizing-power-on-nrf52-designs"&gt; this guide &lt;/a&gt;by my colleague Scott.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Please tell me how to reduce the current consumption in sleep mode.</title><link>https://devzone.nordicsemi.com/thread/418206?ContentTypeID=1</link><pubDate>Thu, 30 Mar 2023 06:36:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:26b618b1-e021-44f6-bda2-898e0d195c4a</guid><dc:creator>Terutaka Takeuji</dc:creator><description>&lt;p&gt;Thank you for your reply.&lt;/p&gt;
&lt;p&gt;After asking the question, I searched on the Internet and specified XTAL as the external clock, and was able to lower the standby current to 19uA.&lt;/p&gt;
&lt;p&gt;// &amp;lt;0=&amp;gt; RC&lt;br /&gt;// &amp;lt;1=&amp;gt; XTAL&lt;br /&gt;// &amp;lt;2=&amp;gt; Synth&lt;br /&gt;#ifndef NRFX_CLOCK_CONFIG_LF_SRC&lt;br /&gt;#define NRFX_CLOCK_CONFIG_LF_SRC 1&lt;br /&gt;#endif&lt;/p&gt;
&lt;p&gt;In addition, I was able to lower the signal strength to about 0.8uA by specifying -8dbm using the &amp;quot;sd_ble_gap_tx_power_set&amp;quot; function, but I decided not to use it because the drop was small and the operation worsened.&lt;/p&gt;
&lt;p&gt;Therefore, the current standby power is 19uA.&lt;/p&gt;
&lt;p&gt;The sleep mode base current is probably 0.8uA, but I don&amp;#39;t think the average standby current can be lowered because regular communication is performed at 200ms intervals.&lt;br /&gt;I was able to temporarily lower the standby current by extending the interval between the central and peripheral periodic communications, but it returned immediately and I didn&amp;#39;t understand.&lt;/p&gt;
&lt;p&gt;#define MIN_CONNECTION_INTERVAL MSEC_TO_UNITS(7.5, UNIT_1_25_MS)&lt;br /&gt;#define MAX_CONNECTION_INTERVAL MSEC_TO_UNITS(30, UNIT_1_25_MS)&lt;/p&gt;
&lt;p&gt;Also, I don&amp;#39;t want to use this method because increasing the interval between periodic communication between the central and the peripheral made it worse.&lt;/p&gt;
&lt;p&gt;I am attaching the ppk file of the Power Profile Kit2 you requested.&lt;/p&gt;
&lt;p&gt;Thank you for your reply.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/PPK2_5F00_Sleep_5F00_Mode_5F00_waveform.zip"&gt;devzone.nordicsemi.com/.../PPK2_5F00_Sleep_5F00_Mode_5F00_waveform.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Please tell me how to reduce the current consumption in sleep mode.</title><link>https://devzone.nordicsemi.com/thread/418079?ContentTypeID=1</link><pubDate>Wed, 29 Mar 2023 11:20:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ca5f6994-5bbf-4b36-8785-bc177aa79140</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I&amp;#39;m sorry about the late reply, but I&amp;#39;ve been out of office the last couple of days and are only now getting through my backlog. Can you show me what the power consumption between the advertisement spikes are exactly by uploading a screenshot where you have marked the area between spikes with &lt;strong&gt;Shitft + Left Click&lt;/strong&gt;? Alternatively you can export the power profiler trace as a .ppk file so I can review it on my end. Please note that you will need to upload it on DevZone in a .zip file, as the editor on DevZone doesn&amp;#39;t support .ppk files.&lt;/p&gt;
&lt;p&gt;The standby current should indeed be able to go down to 5uA or less, but I think the reason it is higher than this is that it&amp;#39;s not actually in the a standby mode.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Please tell me how to reduce the current consumption in sleep mode.</title><link>https://devzone.nordicsemi.com/thread/416672?ContentTypeID=1</link><pubDate>Wed, 22 Mar 2023 02:13:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5c5ee748-4d79-4ca5-9ac2-f459028e08a2</guid><dc:creator>Terutaka Takeuji</dc:creator><description>&lt;p&gt;Thank you for answering.&lt;/p&gt;
&lt;p&gt;Accelerating while holding Shift+Left Click slows down the average between these spikes considerably, giving a more accurate indication of what the device&amp;#39;s sleep current is.&lt;/p&gt;
&lt;p&gt;I know this way, the momentary current change is not a problem, the standby power is as high as 45uA.&lt;/p&gt;
&lt;p&gt;&amp;gt; To enter idle mode, it is recommended to use idle_state_handle() which is used in most of the SDK sample images in nRF5 SDK.&lt;/p&gt;
&lt;p&gt;Yes, it&amp;#39;s in sleep mode using the idle_state_handle() function.&lt;/p&gt;
&lt;p&gt;When I built and measured the sample program &amp;quot;ble_central - ble_app_blinky_C&amp;quot; without processing, the same 45uA current flowed.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/nRF52840_5F00_speep_5F00_Logon.png" /&gt;&lt;/p&gt;
&lt;p&gt;I was able to get the current down to 28uA by editing sdk_config.h and disabling the log module, but I couldn&amp;#39;t get it down to the target of 5uA.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/nRF52840_5F00_speep_5F00_LogOff.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="vertical-align:inherit;"&gt;&lt;span style="vertical-align:inherit;"&gt;&lt;span style="vertical-align:inherit;"&gt;&lt;span style="vertical-align:inherit;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;■ &amp;quot;sdk_config.h&amp;quot; Editing Location&lt;br /&gt;#define NRF_LOG_ENABLED 0&lt;br /&gt;#define NRF_LOG_DEFAULT_LEVEL 0&lt;/p&gt;
&lt;p&gt;PPK2 uses an external power supply and measures as an amperemeter, so I think it&amp;#39;s highly accurate.&lt;/p&gt;
&lt;p&gt;The measured value is 28uA in the raw sample program, but is it possible to reduce the standby power consumption in sleep mode to the target of 5uA?&lt;/p&gt;
&lt;p&gt;thank you.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Please tell me how to reduce the current consumption in sleep mode.</title><link>https://devzone.nordicsemi.com/thread/416290?ContentTypeID=1</link><pubDate>Mon, 20 Mar 2023 13:35:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:980336aa-cef8-4bc4-b963-14b616234446</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I think you&amp;#39;re mistaken here, as the&amp;nbsp;&lt;strong&gt;average&amp;nbsp;&lt;/strong&gt;current you see in the Power Profiler is 43µA, advertisements included. If you hold shift+ left click to drag you should get a much lower average in between these spikes that will be a better better indication of what the sleep current of your device is. To go into idle mode, I&amp;#39;d recommend using the idle_state_handle() that&amp;#39;s used in most of the SDK example projects in the nRF5 SDK.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>