<?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>nRF51 external interrupt with low power</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/12584/nrf51-external-interrupt-with-low-power</link><description>Hi. I&amp;#39;m using PCA10028, SDK10.0.0, S130. 
 I&amp;#39;m testing External interrupt. 
 Current concumption was just 50uA around(low speed advertising mode). 
 But It goes 1mA around after i put &amp;quot;gpio_init()&amp;quot; as below.
I&amp;#39;m sure i don&amp;#39;t use DEBUG mode when i</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 21 Mar 2016 02:41:49 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/12584/nrf51-external-interrupt-with-low-power" /><item><title>RE: nRF51 external interrupt with low power</title><link>https://devzone.nordicsemi.com/thread/47787?ContentTypeID=1</link><pubDate>Mon, 21 Mar 2016 02:41:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:93872a90-26fb-4bf4-8e52-4cf507a8e56f</guid><dc:creator>roger.k</dc:creator><description>&lt;p&gt;Thanks a lot. It&amp;#39;s very helpful.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51 external interrupt with low power</title><link>https://devzone.nordicsemi.com/thread/47786?ContentTypeID=1</link><pubDate>Wed, 16 Mar 2016 09:55:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:26815aff-e359-4849-9a97-161bbe9777d4</guid><dc:creator>Ole Bauck</dc:creator><description>&lt;p&gt;You will also probably need to change &lt;code&gt;GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS&lt;/code&gt; to 5 in nrf_drv_config.h as 4 &amp;quot;low power events&amp;quot; are already used (4 buttons).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51 external interrupt with low power</title><link>https://devzone.nordicsemi.com/thread/47785?ContentTypeID=1</link><pubDate>Wed, 16 Mar 2016 09:53:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:320fd381-03f6-4e03-ae75-0e36f9c7c9e9</guid><dc:creator>Ole Bauck</dc:creator><description>&lt;p&gt;You are using&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;GPIOTE_CONFIG_IN_SENSE_TOGGLE(true);
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;where the true statement means that the driver will use &amp;quot;high accuracy&amp;quot; which is the equivalent to GPIOTE IN event. GPIOTE IN event will request the HFCLK and 1V2 regulator as can be seen in &lt;a href="http://infocenter.nordicsemi.com/pdf/nRF51822_PS_v3.1.pdf"&gt;Product Specification&lt;/a&gt; chapter 8.3 &amp;quot;Block resource requirements&amp;quot;.&lt;/p&gt;
&lt;p&gt;If the statement is false the driver will use &amp;quot;low accuracy&amp;quot; or GPIOTE PORT event. This is low power and will keep the current consumption at the level you had before gpio_init(). The drawback with GPIOTE PORT event is that this is shared between all the pins that use this event. You can read more about the PORT event in the &lt;a href="http://infocenter.nordicsemi.com/pdf/nRF51_RM_v3.0.pdf"&gt;Reference Manual&lt;/a&gt; chapter 14 (GPIO) and 15 (GPIOTE).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>