<?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>app_gpiote + TWI =  NO Interrupt :-(</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/6145/app_gpiote-twi-no-interrupt--</link><description>My configuration: 
 
 NRF51822 v2 
 TWI 
 GPIOTE 
 
 Issue: 
 The gpio interrupt does not get triggered. I know that my twi device is changing the state of the gpio3, because my logic analyzer captured such transition. But some how the adlx345_event_handler</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 23 Mar 2015 10:43:48 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/6145/app_gpiote-twi-no-interrupt--" /><item><title>RE: app_gpiote + TWI =  NO Interrupt :-(</title><link>https://devzone.nordicsemi.com/thread/21523?ContentTypeID=1</link><pubDate>Mon, 23 Mar 2015 10:43:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2897d329-f8c1-413c-9339-7a988e68c624</guid><dc:creator>zeusminos</dc:creator><description>&lt;p&gt;Thanks Krzysztof for your replay. I can not believe that I skip that one :-/. This is a good indication that I need to take a nice good sleep. Thanks again and apologize for such a silly question :-(.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: app_gpiote + TWI =  NO Interrupt :-(</title><link>https://devzone.nordicsemi.com/thread/21522?ContentTypeID=1</link><pubDate>Mon, 23 Mar 2015 06:16:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ac9cac1c-7330-42be-8cb0-3e6040d89555</guid><dc:creator>Krzysztof Chruscinski</dc:creator><description>&lt;p&gt;Following function require mask of pins and not pin number:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;err_code =
app_gpiote_user_register(&amp;amp;m_adxl345_irq_user_id,
adxl345_irq_pin,
adxl345_irq_pin,
adlx345_event_handler);&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Must be changed to something like:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;err_code =
app_gpiote_user_register(&amp;amp;m_adxl345_irq_user_id,
&lt;strong&gt;1 &amp;lt;&amp;lt; adxl345_irq_pin&lt;/strong&gt;,
&lt;strong&gt;1 &amp;lt;&amp;lt; adxl345_irq_pin&lt;/strong&gt;,
adlx345_event_handler);&lt;/p&gt;
&lt;/blockquote&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>