<?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 consumption in idle mode &amp;gt;= 2 mA!</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/2845/power-consumption-in-idle-mode-2-ma</link><description>Hello, 
 i have some trubble with my current power consumption. I have already read other user question and solutions but nothing works for me. To reduce the power consumption i disable the UART and Bond manger. But as soon i activate the Advertising</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 05 Aug 2014 15:55:16 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/2845/power-consumption-in-idle-mode-2-ma" /><item><title>RE: Power consumption in idle mode &gt;= 2 mA!</title><link>https://devzone.nordicsemi.com/thread/10854?ContentTypeID=1</link><pubDate>Tue, 05 Aug 2014 15:55:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:45a7b642-ef42-4320-a64a-1550299c8a37</guid><dc:creator>tim</dc:creator><description>&lt;p&gt;thx, I wrote my own led functions using timers. So I never used led_start();&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Power consumption in idle mode &gt;= 2 mA!</title><link>https://devzone.nordicsemi.com/thread/10853?ContentTypeID=1</link><pubDate>Mon, 04 Aug 2014 09:16:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1bae2976-2465-4be7-9605-9f71204881d4</guid><dc:creator>Frederic</dc:creator><description>&lt;p&gt;I don&amp;#39;t use the LED module from Nordic stack anymore. The function led_start() from nordic stack uses the GPIOTE task.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Power consumption in idle mode &gt;= 2 mA!</title><link>https://devzone.nordicsemi.com/thread/10852?ContentTypeID=1</link><pubDate>Sat, 02 Aug 2014 23:31:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8529b6da-9542-4000-be79-5296aea42784</guid><dc:creator>tim</dc:creator><description>&lt;p&gt;How did you disable the GPIOTE task?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Power consumption in idle mode &gt;= 2 mA!</title><link>https://devzone.nordicsemi.com/thread/10851?ContentTypeID=1</link><pubDate>Wed, 25 Jun 2014 17:02:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:730ae1ff-19da-4f6f-8b6d-4900b03917de</guid><dc:creator>Frederic</dc:creator><description>&lt;p&gt;Hey,&lt;/p&gt;
&lt;p&gt;thanks for help. The Problem was the GPIOTE task for flashing the LED, so that the 16 MHz clock was always on.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Power consumption in idle mode &gt;= 2 mA!</title><link>https://devzone.nordicsemi.com/thread/10850?ContentTypeID=1</link><pubDate>Thu, 19 Jun 2014 04:24:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9bb75b63-ef6e-412d-ba6e-8489372c954c</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Be sure to power-reset your board after you flash your code, otherwise the nRF51 will stay in debug mode which consumes ~1mA&lt;/p&gt;
&lt;p&gt;Make sure you disable or disconnect all LEDs on your board, each led consumes ~0.5mA&lt;/p&gt;
&lt;p&gt;Disconnect any external circuit from your board, this includes the debugger/programmer. If you have e.g. a peer UART device connected, disconnect it, there might be a leakage current if the peer UART device does not have exactly the same voltage levels.&lt;/p&gt;
&lt;p&gt;A further guide on minimizing current consumption is available &lt;a href="https://devzone.nordicsemi.com/question/5186/how-to-minimize-current-consumption-for-ble-application-on-nrf51822/#reply-5187"&gt;here&lt;/a&gt; and &lt;a href="https://devzone.nordicsemi.com/question/6856/nrf51822-consume-with-using-the-softdevice/"&gt;here&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;When you enable the UART and call the STARTRX and STARTTX tasks, it will draw a lot of current. The only way to decrease current consumption of the UART is to only have it enabled when you need to. In the SDK UART examples, the UART is enabled all the time, so those examples are not power optimized. There are two methods of improving this:&lt;/p&gt;
&lt;p&gt;One method is to use two GPIO control lines, one is for the nRF51 to signal the UART peer device when it has data to send, the other is for the UART peer device to signal the nRF51 when it has data to send. You can configure the pin to be a wakeup source as well. When the UART peer device has data to send, it will signal the nRF51 which will wake up and enable the UART, receive/send data and then go back to sleep.&lt;/p&gt;
&lt;p&gt;Another method is to use the app_uart library and set flow control option APP_UART_FLOW_CONTROL_LOW_POWER which will make the nRF51 UART only be enabled when the CTS is set low by the UART peer device. There is a UART example available &lt;a href="https://github.com/NordicSemiconductor/nrf51-UART-examples"&gt;here&lt;/a&gt; that uses the app_uart library. Documentation for the library is &lt;a href="https://devzone.nordicsemi.com/documentation/nrf51/5.2.0/html/a00096.html"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>