<?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>nrf52840 System Idle Current Too High</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/54597/nrf52840-system-idle-current-too-high</link><description>Hi, 
 My firmware is working well and handling required functions, so I have begun trying to work on power management to reduce device power draw. I am using S140 and my BLE peripheral is sending a proprietary advertising packet every second. When not</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 21 Nov 2019 01:14:06 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/54597/nrf52840-system-idle-current-too-high" /><item><title>RE: nrf52840 System Idle Current Too High</title><link>https://devzone.nordicsemi.com/thread/221181?ContentTypeID=1</link><pubDate>Thu, 21 Nov 2019 01:14:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5819ce0a-2fa9-47c4-b2ad-b17f01a83911</guid><dc:creator>Mark J</dc:creator><description>&lt;p&gt;I setup GPIO as requried and then found that the issue was actually related to my incorrect sleep of the accelerometer. Left the floating GPIO inputs init as input with pullup as this is good practice from what I have read online.&lt;/p&gt;
&lt;p&gt;Down to approx 10 uA and most of that is for a sleeping accelerometer.&lt;/p&gt;
&lt;p&gt;Tx for the help.&lt;/p&gt;
&lt;p&gt;Mark J&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 System Idle Current Too High</title><link>https://devzone.nordicsemi.com/thread/221163?ContentTypeID=1</link><pubDate>Wed, 20 Nov 2019 18:40:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c261fb46-94f0-409b-a11e-7ecd73461754</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Default mode is low power yes.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 System Idle Current Too High</title><link>https://devzone.nordicsemi.com/thread/221160?ContentTypeID=1</link><pubDate>Wed, 20 Nov 2019 18:28:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:975d1a6f-299c-4879-bd33-470960273626</guid><dc:creator>Mark J</dc:creator><description>&lt;p&gt;Understood on the BLE peripheral examples. I will assume that the example that I used as a template is ok (from a low power perspective).&lt;/p&gt;
&lt;p&gt;I had tried adding the following code - in an effort to get the power down:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;err_code = sd_power_mode_set(NRF_POWER_MODE_LOWPWR);
APP_ERROR_CHECK(err_code);&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Should that be put within init code (within main.c) to ensure low power mode? If it is there - I suppose it cannot hurt. Please confirm. Note that this code is not in the Nordic examples that I have seen, so I assume that it is not required, but I would like to confirm.&lt;/p&gt;
&lt;p&gt;I will work with my hardware engineer to enable a pullup or pulldown as required on all inputs and outputs.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Mark J&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 System Idle Current Too High</title><link>https://devzone.nordicsemi.com/thread/221156?ContentTypeID=1</link><pubDate>Wed, 20 Nov 2019 17:46:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0bdcbd9c-516f-4cdf-a482-05e855926db0</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;I believe most BLE peripheral have low idle current as long as LEDs and UART (logging) is not enabled. What version of the nRF52840 DK kit are you using?&lt;/p&gt;
&lt;p&gt;Floating input pins can draw excessive current of several hundreds of uA if not connected to logic level.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 System Idle Current Too High</title><link>https://devzone.nordicsemi.com/thread/221154?ContentTypeID=1</link><pubDate>Wed, 20 Nov 2019 16:53:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:11b5cf11-08fe-49f6-9d7e-80486da2deb0</guid><dc:creator>Mark J</dc:creator><description>&lt;p&gt;Hi &lt;a href="https://devzone.nordicsemi.com/members/kenneth"&gt;Kenneth&lt;/a&gt;,&lt;/p&gt;
&lt;p&gt;I had reviewed the page that you linked and I have followed all recommendations in that link.&lt;/p&gt;
&lt;p&gt;We only have 2 other GPIOs that are floating and may be contributing to some extra current, but my hardware engineer suggests that this contribution will be &amp;lt; 10 uA.&lt;/p&gt;
&lt;p&gt;Is there any way for another peripheral to use current - even if I have not initialized it? My source code is derived from another Nordic example - Heart Rate Service under ble/peripheral. This source included many software components and peripherals that I am not using (e.g. peer_manager.h, nrfx_uart.h, etc). Even if I do not initialize these elements - is there any way for them to contribute to a current draw when compiled into a project? I cannot imagine how, but thought that I would ask.&lt;/p&gt;
&lt;p&gt;Perhaps another approach is for me to re-create my SES project using an example that demonstrates low power &amp;quot;out of the box&amp;quot;? I can slowly introduce my required elements (e.g. SPI Master) to this example and monitor power at each step. Is there such an example?&lt;/p&gt;
&lt;p&gt;Thanks in advance.&lt;/p&gt;
&lt;p&gt;Mark J&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 System Idle Current Too High</title><link>https://devzone.nordicsemi.com/thread/221071?ContentTypeID=1</link><pubDate>Wed, 20 Nov 2019 12:49:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0510d3b5-6b03-4ff2-af53-00abdf89678f</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;You may check out this in general:&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/optimizing-power-on-nrf52-designs"&gt;https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/optimizing-power-on-nrf52-designs&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;You may also check if there is any floating GPIO&amp;#39;s and/or internal pull-ups enabled that is is pulled-low etc.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>