<?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>Using GPIO in LOW POWER MODE consuming less than 30uA.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/13865/using-gpio-in-low-power-mode-consuming-less-than-30ua</link><description>Hi,
I am using nRF51422 with S130. I want my application to blink a LED every one second. For now I am using App Timer which solves the purpose but the current consumption is too high 1.2mA. Is there any way I could do this blinking with less consumption</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 26 May 2016 13:25:28 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/13865/using-gpio-in-low-power-mode-consuming-less-than-30ua" /><item><title>RE: Using GPIO in LOW POWER MODE consuming less than 30uA.</title><link>https://devzone.nordicsemi.com/thread/52967?ContentTypeID=1</link><pubDate>Thu, 26 May 2016 13:25:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:126984ea-e517-42f0-84a2-ff439c5b682f</guid><dc:creator>keith v</dc:creator><description>&lt;p&gt;Your images are broken.
I don&amp;#39;t believe your 60ua during blink number. Thats not enough to light up the LED. you&amp;#39;re measureing something wrong IMHO&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using GPIO in LOW POWER MODE consuming less than 30uA.</title><link>https://devzone.nordicsemi.com/thread/52972?ContentTypeID=1</link><pubDate>Thu, 26 May 2016 11:18:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f97d56a-0a3d-4735-be26-1121278ff822</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;use the app_button library. The default behavior is that it uses port event because it switches off hi_accuracy mode using&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;nrf_drv_gpiote_in_config_t config = GPIOTE_CONFIG_IN_SENSE_TOGGLE(false);
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;inside app_button_init.&lt;/p&gt;
&lt;p&gt;So app_button library by default uses port events in GPIOTE that consumes less current.
Most of the examples in SDK use app_button library which is easy to use.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using GPIO in LOW POWER MODE consuming less than 30uA.</title><link>https://devzone.nordicsemi.com/thread/52971?ContentTypeID=1</link><pubDate>Thu, 26 May 2016 10:19:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9699a720-02f1-4f46-90e2-6ecdbc19fd8d</guid><dc:creator>Harsha</dc:creator><description>&lt;p&gt;Aryan, can you give me a working example for button input using GPIOTE port?.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using GPIO in LOW POWER MODE consuming less than 30uA.</title><link>https://devzone.nordicsemi.com/thread/52970?ContentTypeID=1</link><pubDate>Thu, 26 May 2016 08:08:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c9d20b76-cda4-43ce-b884-232e347335a6</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;use GPIOTE PORT event instead of IN events. PORT events does not consume more power.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using GPIO in LOW POWER MODE consuming less than 30uA.</title><link>https://devzone.nordicsemi.com/thread/52969?ContentTypeID=1</link><pubDate>Thu, 26 May 2016 08:02:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:13283498-dfc6-4e7a-8cdf-bf2222be34a1</guid><dc:creator>Harsha</dc:creator><description>&lt;p&gt;Dear Aryan, That was right. GPIOTE was the one which is consuming more power. I am using GPIOTE for reading keypress. Suggest me a way to get the Keypress with less power consumption.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using GPIO in LOW POWER MODE consuming less than 30uA.</title><link>https://devzone.nordicsemi.com/thread/52968?ContentTypeID=1</link><pubDate>Thu, 26 May 2016 07:21:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7e1a690a-5cf9-43bc-b2d6-4834ae59e201</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Can you check if using app_timer without softdevice consumes less power? we can exclude softdevice if app_timer and your RTC code behaves same in terms of current consumption. If current consumption is still high after disabling softdevice and using app_timer, then you have something else in the code (probably enabling some hardware maybe GPIOTE?)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using GPIO in LOW POWER MODE consuming less than 30uA.</title><link>https://devzone.nordicsemi.com/thread/52966?ContentTypeID=1</link><pubDate>Wed, 25 May 2016 16:37:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:638174ab-0010-471d-b112-d4d9d8b52521</guid><dc:creator>Harsha</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/Timer-Create.PNG"&gt;Timer Create.PNG&lt;/a&gt;
&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/Timer-Start.PNG"&gt;Timer Start.PNG&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Aryan. Find the attached code. This is actually using App timer with S130 enabled. Consumption is 1.2mA. In the timer_a_handler i am blinking a LED.&lt;/p&gt;
&lt;p&gt;Whereas Here
&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/RTCInit.PNG"&gt;RTCInit.PNG&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I blink the LED using RTC interrupt without softdevice the consumption is 60uA during blink and 16uA during idle time.&lt;/p&gt;
&lt;p&gt;Let me know what you feel.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using GPIO in LOW POWER MODE consuming less than 30uA.</title><link>https://devzone.nordicsemi.com/thread/52965?ContentTypeID=1</link><pubDate>Fri, 20 May 2016 08:08:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1f7ba40e-1098-4337-8490-06867e14d677</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;app_timer is RTC1 so it should not use that much current. Are you sure that there is no other difference in your code? can you put snippets of your code here?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using GPIO in LOW POWER MODE consuming less than 30uA.</title><link>https://devzone.nordicsemi.com/thread/52964?ContentTypeID=1</link><pubDate>Mon, 16 May 2016 18:06:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a3495d74-500e-4330-a802-28ac4df05a5d</guid><dc:creator>Harsha</dc:creator><description>&lt;p&gt;Hi Keith, Thanks for your answer. I am using a custom board. If I blink the LED using RTC then the consumption is 17uA. When I use app TImer then the consumption is 1.2mA. Unfortunately there are only two RTCs available in NRF51 series. RTC0 is used by Softdevice and RTC1 is used by app timers to do the BLE operations. Suggest me some way to do this blinking.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using GPIO in LOW POWER MODE consuming less than 30uA.</title><link>https://devzone.nordicsemi.com/thread/52963?ContentTypeID=1</link><pubDate>Mon, 16 May 2016 17:02:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cc08c7fc-750c-4f97-a359-38ac698300fc</guid><dc:creator>keith v</dc:creator><description>&lt;p&gt;do you have serial enabled? are you still attached to the debugger i.e. a segger j-link?
Both of those cause high currents.
You have to disconnect the debugger and then reset the device to get low power.&lt;/p&gt;
&lt;p&gt;But LESS than 30Ua? thats pushing it!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>