<?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>Problem!!! GPIOTE callback issue in nRF51822...</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/46652/problem-gpiote-callback-issue-in-nrf51822</link><description>Hello All, 
 Greetings!!! 
 I am working on nRF51822. I am used custom board. For reference i used nRF52 SDk 8.1.0 in IAR. 
 Right now i am use gpio pin as an interrupt pin and initialized as like below, 
 void gpiote_init() { uint32_t err_code; 
 if</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 29 Apr 2019 10:45:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/46652/problem-gpiote-callback-issue-in-nrf51822" /><item><title>RE: Problem!!! GPIOTE callback issue in nRF51822...</title><link>https://devzone.nordicsemi.com/thread/184265?ContentTypeID=1</link><pubDate>Mon, 29 Apr 2019 10:45:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:84d78ea3-6b7e-4625-ad3c-00e1739c67e7</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;[quote user=""][/quote]&lt;/p&gt;
&lt;p&gt;nrf_drv_gpiote_in_config_t config_in = GPIOTE_CONFIG_IN_SENSE_LOTOHI(true);&lt;br /&gt; //nrf_drv_gpiote_in_config_t config_in1 = GPIOTE_CONFIG_IN_SENSE_HITOLO(true);&lt;/p&gt;
&lt;p&gt;config_in.pull = NRF_GPIO_PIN_PULLUP;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;In this configuration, it assumes that your button is active low. Is that the case? If not, you should configure the .pull = NRF_GPIO_PIN_PULLDOWN;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
[quote user=""]rpm_pin[/quote]
&lt;p&gt;What GPIO is this? Have you ensured that no other module/driver in your system uses the same GPIO?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>