<?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 does not trigger</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/105381/gpio-interrupt-does-not-trigger</link><description>Hello 
 I have an accelerometer on a custom nRF52840 board and configure it to generate interrupts on motion 
 I am certain that the part is configured properly and generates interrupts: if I poll the control register of the part in a loop, the interrupt</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 07 Nov 2023 12:20:48 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/105381/gpio-interrupt-does-not-trigger" /><item><title>RE: GPIO interrupt does not trigger</title><link>https://devzone.nordicsemi.com/thread/454441?ContentTypeID=1</link><pubDate>Tue, 07 Nov 2023 12:20:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cf61543a-71f5-49f0-9e85-65b6423849cb</guid><dc:creator>AndyM</dc:creator><description>&lt;p&gt;Thank you . Let&amp;#39;s close this ticket - I have another one open regarding this , but with more details and more current. In the updated code the pin is first configured as input&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GPIO interrupt does not trigger</title><link>https://devzone.nordicsemi.com/thread/454366?ContentTypeID=1</link><pubDate>Tue, 07 Nov 2023 09:07:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b2e26381-497a-48a5-b750-db12454a0849</guid><dc:creator>Naeem Maroof</dc:creator><description>&lt;p&gt;Hello&lt;/p&gt;
&lt;p&gt;You can only configure an interrupt on a GPIO pin that is configured as an input.&lt;/p&gt;
&lt;p&gt;I see that you are first configuring the interrupt and then configuring the pin as an INPUT.&lt;/p&gt;
&lt;p&gt;I recommend you go through &lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-fundamentals/lessons/lesson-2-reading-buttons-and-controlling-leds/topic/gpio-generic-api/"&gt;lesson 2&lt;/a&gt; and also see the exercise 2 where configuring interrupt is discussed through a hands-on-exercise.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Naeem&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>