<?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>GPIOTE will not init on thingy91</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/102442/gpiote-will-not-init-on-thingy91</link><description>Hi, 
 I am trying to implement external interrupts on the thingy91, here as pin P0.10 or INT2 on the adxl362. I want to use the GPIOTE, but when I run this code: 
 
 it fails to init, and is printing &amp;quot;Failed&amp;quot;. The driver will not successfully initialize</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 02 Aug 2023 07:40:39 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/102442/gpiote-will-not-init-on-thingy91" /><item><title>RE: GPIOTE will not init on thingy91</title><link>https://devzone.nordicsemi.com/thread/439422?ContentTypeID=1</link><pubDate>Wed, 02 Aug 2023 07:40:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6872f51e-168a-4d77-9cb7-466783d5d9fa</guid><dc:creator>Naeem Maroof</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Thank you for contacting DevZone at NordicSemi.&lt;/p&gt;
&lt;p&gt;Looking at the error code provides more information why some operation (function) has failed.&lt;/p&gt;
&lt;p&gt;Nonetheless, good to know that you have found the cause of failure.&lt;/p&gt;
&lt;p&gt;Regarding the GPIOTE peripheral of nrf9160, please look here:&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fps_nrf9160%2Fgpiote.html&amp;amp;cp=2_0_0_5_4"&gt;NRF9160-Peripherals-GPIOTE&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;For NRFX GPIOTE driver, which could be used for nordic GPIOTE peripherals, please visit here:&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrfx/drivers/gpiote/index.html"&gt;Nordic NRFX GPIOTE&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;For the example use case, please refer to &lt;a href="https://docs.zephyrproject.org/latest/samples/boards/nrf/nrfx/README.html"&gt;NRFX (/zephyr/samples/boards/nrfx) sample&lt;/a&gt; in NCS which&amp;nbsp;demonstrates&amp;nbsp;&lt;span&gt;how to initialize the GPIOTE interrupt in Zephyr so that the nrfx_gpiote driver can use it.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Naeem&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>