<?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>GPIO interrupt has no response</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/51659/gpio-interrupt-has-no-response</link><description>Hi， 
 there is a issue very strange, on a nrf52832 project, it use two gpio set to sense low level, one is p18, one is p29, I found there is no response for low level of p29, and when disable sense of p18, it works well(p29 responses to low level), also</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 03 Sep 2019 02:18:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/51659/gpio-interrupt-has-no-response" /><item><title>RE: GPIO interrupt has no response</title><link>https://devzone.nordicsemi.com/thread/207517?ContentTypeID=1</link><pubDate>Tue, 03 Sep 2019 02:18:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:869545de-202c-436e-8634-2f29ca8fb0a0</guid><dc:creator>yqin15</dc:creator><description>&lt;p&gt;&lt;span&gt;sorry, it&amp;#39;s my fault, it is because the p18 always hold low so prevent the sense input of p29, the external trigger of p18 is not worked as desired low pulse but high pulse so always hold to low.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GPIO interrupt has no response</title><link>https://devzone.nordicsemi.com/thread/207514?ContentTypeID=1</link><pubDate>Tue, 03 Sep 2019 01:19:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:48e614cb-3dd3-4b66-ad01-18554ca90395</guid><dc:creator>yqin15</dc:creator><description>&lt;p&gt;I did&amp;#39;t use gpiote driver, I just set pin for sense input and enable gpiote irq， then check pin status at interrupt.&lt;/p&gt;
&lt;p&gt;1. config sense input&lt;/p&gt;
&lt;p&gt;nrf_gpio_cfg_sense_input(29_PIN,NRF_GPIO_PIN_PULLUP,NRF_GPIO_PIN_SENSE_LOW); &lt;br /&gt;nrf_gpio_cfg_sense_input(18,NRF_GPIO_PIN_PULLUP,NRF_GPIO_PIN_SENSE_LOW);&lt;/p&gt;
&lt;p&gt;NRF_GPIOTE-&amp;gt;INTENCLR = 0xFFFFFFFF;&lt;br /&gt;NVIC_ClearPendingIRQ(GPIOTE_IRQn);&lt;br /&gt;NVIC_SetPriority(GPIOTE_IRQn, APP_IRQ_PRIORITY_LOW);&lt;br /&gt;NRF_GPIOTE-&amp;gt;INTENSET = GPIOTE_INTENSET_PORT_Msk;&lt;br /&gt;NVIC_EnableIRQ(GPIOTE_IRQn); &lt;br /&gt;NRF_GPIOTE-&amp;gt;EVENTS_PORT = 0;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;2. check key status at interrupt&lt;/p&gt;
&lt;p&gt;void GPIOTE_IRQHandler(void)&lt;br /&gt;{&lt;br /&gt;uint32_t port_data = NRF_GPIO-&amp;gt;IN; &lt;br /&gt;if ( NRF_GPIOTE-&amp;gt;EVENTS_PORT ) {&lt;/p&gt;
&lt;p&gt;NRF_GPIOTE-&amp;gt;EVENTS_PORT = 0;&lt;/p&gt;
&lt;p&gt;if(((~port_data) &amp;amp; (1&amp;lt;&amp;lt;18))== (1&amp;lt;&amp;lt;18))&lt;br /&gt;{ &lt;br /&gt;//handle of p18 irq &lt;br /&gt;}&lt;/p&gt;
&lt;p&gt;if(((~port_data) &amp;amp; (1&amp;lt;&amp;lt;29))== (1&amp;lt;&amp;lt;29))&lt;br /&gt;{ &lt;br /&gt;//handle of p29 irq&lt;br /&gt;}&lt;/p&gt;
&lt;p&gt;NRF_GPIOTE-&amp;gt;EVENTS_PORT = 0;&lt;/p&gt;
&lt;p&gt;}&lt;br /&gt;}&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GPIO interrupt has no response</title><link>https://devzone.nordicsemi.com/thread/207427?ContentTypeID=1</link><pubDate>Mon, 02 Sep 2019 13:34:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0f190051-871d-4117-bdd8-633b20c3f214</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;What have you configured&amp;nbsp;GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS to?&lt;/p&gt;
&lt;p&gt;I assume you are using gpiote driver for all configuration of sense input?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GPIO interrupt has no response</title><link>https://devzone.nordicsemi.com/thread/207340?ContentTypeID=1</link><pubDate>Mon, 02 Sep 2019 09:57:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0c4881b8-0246-460e-8eac-e9e13cdeeff4</guid><dc:creator>yqin15</dc:creator><description>&lt;p&gt;btw, interrupt of p18 and p07 works well and&amp;nbsp; the io level of p29 is right.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>