<?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>Sleep current with GPIOTE enabled</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/22146/sleep-current-with-gpiote-enabled</link><description>This test program is modified from examples\pin_change_int\main.c, I add the instructions to put the cpu to sleep. And I add nrf_gpio_input_disconnect() for all the pins except BSP_BUTTON_0 and BSP_LED_0. Everything else remains as original example. </description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 18 May 2017 20:12:27 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/22146/sleep-current-with-gpiote-enabled" /><item><title>RE: Sleep current with GPIOTE enabled</title><link>https://devzone.nordicsemi.com/thread/87036?ContentTypeID=1</link><pubDate>Thu, 18 May 2017 20:12:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1c246346-aff7-4844-a9eb-b51a4fe9a1fb</guid><dc:creator>Joe</dc:creator><description>&lt;p&gt;Hi Sigurd, the change you suggested indeed give me a similar result as yours. Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sleep current with GPIOTE enabled</title><link>https://devzone.nordicsemi.com/thread/87035?ContentTypeID=1</link><pubDate>Thu, 18 May 2017 15:01:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:506d5475-564f-40cb-8da0-d8e4d814875e</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;By setting the flag to false in the example,  I&amp;#39;m measuring the average current to be ~ 1.2 µA in System ON sleep mode.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sleep current with GPIOTE enabled</title><link>https://devzone.nordicsemi.com/thread/87034?ContentTypeID=1</link><pubDate>Thu, 18 May 2017 14:57:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7caae55c-b5c3-4f57-9f37-7962ca9052b4</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The example uses high accuracy mode which generates an IN event on the selected pin in the GPIOTE module directly. This uses more current than compared to using a GPIOTE-&amp;gt;PORT event (low accuracy mode). For low power applications, you should use the GPIOTE-&amp;gt;PORT event.&lt;/p&gt;
&lt;p&gt;You can set the GPIOTE module to low accuracy mode by calling the &lt;code&gt;GPIOTE_CONFIG_IN_SENSE_TOGGLE()&lt;/code&gt; function with the &lt;code&gt;.hi_accuracy&lt;/code&gt; flag set to false. (See line 90 in the example) :&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;nrf_drv_gpiote_in_config_t in_config = GPIOTE_CONFIG_IN_SENSE_TOGGLE(false);
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>