<?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>Reduce current in Low power mode</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/59040/reduce-current-in-low-power-mode</link><description>Hi, 
 My task is.. 
 Device will advertise for 20 seconds if there is no connection then it will go to sleep mode for 40 seconds. After 40 seconds it will wake up from sleep mode using timer interrupt and start advertising again for 20 seconds, This cycle</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 18 Mar 2020 09:34:25 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/59040/reduce-current-in-low-power-mode" /><item><title>RE: Reduce current in Low power mode</title><link>https://devzone.nordicsemi.com/thread/240377?ContentTypeID=1</link><pubDate>Wed, 18 Mar 2020 09:34:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:19cb2695-2819-4c5e-8164-1974dedc3037</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Mihir&lt;/p&gt;
&lt;p&gt;I think you should initialize the buttons and LED&amp;#39;s even if you&amp;#39;re not using them, otherwise you could have issues with floating pins as I mentioned earlier.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;For sleep timing you should use one of the RTC timers, as they will run at a much lower current than the TIMER modules.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The app_timer module in the SDK is also based on the RTC, and can be used to wake up the CPU at regular intervals while consuming only a couple of microamps in between.&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: Reduce current in Low power mode</title><link>https://devzone.nordicsemi.com/thread/240318?ContentTypeID=1</link><pubDate>Tue, 17 Mar 2020 18:10:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7fdf399f-2edd-4fee-bff5-9184511dd753</guid><dc:creator>Mihir Chauhan</dc:creator><description>&lt;p&gt;Hi Thank you for your quick response.&lt;/p&gt;
&lt;p&gt;Below are code changes which I need to make.&lt;/p&gt;
&lt;p&gt;In my while(1) loop function&amp;nbsp;&lt;strong&gt;idle_state_handle()&amp;nbsp;&lt;/strong&gt; is getting called so, when there is no event CPU is in sleep mode only.&lt;/p&gt;
&lt;p&gt;&lt;img height="58" src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1584467678897v1.png" width="151" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Low power mode is enabled by default so no need to set it explicitly.&lt;/p&gt;
&lt;p&gt;I have used standard development kit for this demo. So, all BSP initialization is as per standard DK only.&lt;/p&gt;
&lt;p&gt;I have not called bsp_init function. So, my GPIOs are not initialized as I don&amp;#39;t need any GPIO configurations.&lt;/p&gt;
&lt;p&gt;I want to run timer in sleep mode and wake up after specific time interval.&lt;/p&gt;
&lt;p&gt;Can you please suggest how can I proceed ahead to reduce current to less than 50 uA.??&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reduce current in Low power mode</title><link>https://devzone.nordicsemi.com/thread/240034?ContentTypeID=1</link><pubDate>Mon, 16 Mar 2020 14:03:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fc31a21b-6a09-4556-98b9-6468a327e71b</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Mihir&lt;/p&gt;
&lt;p&gt;sd_app_evt_wait() is&amp;nbsp;technically the right function to run, but when using the power management module you should use idle_state_handle() instead.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;NRF_POWER_MODE_LOWPWR is the default power mode, so unless you have set it to something else you don&amp;#39;t need to set it in the code.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;When having issues with excessive current draw in sleep it is usually caused by incorrect GPIO configuration (leading to floating pins, or pins being pulled high or low), or some peripheral running in sleep that shouldn&amp;#39;t be, such as a&amp;nbsp;TIMER module.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I can&amp;#39;t see any GPIO configuration in your code?&lt;/p&gt;
&lt;p&gt;Are you using a standard DK, or a custom board?&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>