<?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>Using I2C &amp;amp; GPIOTE interrupt with soft device enabled</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/1611/using-i2c-gpiote-interrupt-with-soft-device-enabled</link><description>Hi - I wanted to post for the chance it may help others in the future. I&amp;#39;ll spare everyone the drama, but I&amp;#39;ve been stuck on this issue for days and have finally resolved through the help of a few different messages on this forum and my goal here is to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 26 Apr 2016 04:55:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/1611/using-i2c-gpiote-interrupt-with-soft-device-enabled" /><item><title>RE: Using I2C &amp; GPIOTE interrupt with soft device enabled</title><link>https://devzone.nordicsemi.com/thread/7100?ContentTypeID=1</link><pubDate>Tue, 26 Apr 2016 04:55:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b63746d8-9780-4699-a77d-65f7da977c75</guid><dc:creator>Jeong Hyun Seok</dc:creator><description>&lt;p&gt;Thanks a lot.
It was great help.&lt;/p&gt;
&lt;p&gt;also I didnot get what Ole Morten means.
Means we don&amp;#39;t need ppi in twi anymore to newest chip?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using I2C &amp; GPIOTE interrupt with soft device enabled</title><link>https://devzone.nordicsemi.com/thread/7094?ContentTypeID=1</link><pubDate>Fri, 05 Dec 2014 21:43:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d56ec996-f7d9-4400-a956-de36621be87e</guid><dc:creator>la-ble</dc:creator><description>&lt;p&gt;This is an amazing help.  Can you share your updated tw_hw_master.c file with the appropriate sd_ppi_* calls swapped in?  Maybe on github?  I feel like this is something nordic should provide with each SDK release.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using I2C &amp; GPIOTE interrupt with soft device enabled</title><link>https://devzone.nordicsemi.com/thread/7096?ContentTypeID=1</link><pubDate>Tue, 11 Mar 2014 14:56:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8434c13f-edbf-4e27-b009-6b8834e07586</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;You can refer to this example for how twi_hw_master can be modified to use the shorts: &lt;a target="_blank" href="https://github.com/NordicSemiconductor/nrf51-ble-app-lbs/tree/twi-display-5.1.0" rel="nofollow"&gt;https://github.com/NordicSemiconductor/nrf51-ble-app-lbs/tree/twi-display-5.1.0&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using I2C &amp; GPIOTE interrupt with soft device enabled</title><link>https://devzone.nordicsemi.com/thread/7099?ContentTypeID=1</link><pubDate>Fri, 07 Mar 2014 12:11:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8690c0d2-628e-48a2-8820-f11de68260f4</guid><dc:creator>Jason De Lorme</dc:creator><description>&lt;p&gt;Great, thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using I2C &amp; GPIOTE interrupt with soft device enabled</title><link>https://devzone.nordicsemi.com/thread/7098?ContentTypeID=1</link><pubDate>Fri, 07 Mar 2014 10:37:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:edf54fb9-2562-424a-90c6-450124caecf1</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;Sorry, you didn&amp;#39;t write which chip you were using, so I assumed nRF51822. For the nRF51422, the equivalent version to FA is your E0. You can refer to this PCN: &lt;a target="_blank" href="https://www.nordicsemi.com/eng/nordic/download_resource/26303/1/9501341" rel="nofollow"&gt;https://www.nordicsemi.com/eng/nordic/download_resource/26303/1/9501341&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Also, for the nRF51422, you should use this PAN, not the one I originally linked to (although all hardware problems are the same): &lt;a target="_blank" href="https://www.nordicsemi.com/eng/nordic/Products/nRF51422/nRF51422-PAN/26307" rel="nofollow"&gt;https://www.nordicsemi.com/eng/nordic/Products/nRF51422/nRF51422-PAN/26307&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using I2C &amp; GPIOTE interrupt with soft device enabled</title><link>https://devzone.nordicsemi.com/thread/7097?ContentTypeID=1</link><pubDate>Fri, 07 Mar 2014 00:28:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:39a358e8-a0b2-4dc2-b318-7c68804e936a</guid><dc:creator>Jason De Lorme</dc:creator><description>&lt;p&gt;Thanks for the tip, Ole.  I&amp;#39;m just getting around to looking into this.  What portion of the chip identification can tell me if the revision is FA or higher? On my sample chips I have:&lt;/p&gt;
&lt;p&gt;N51422
QFAAE0
1347AA&lt;/p&gt;
&lt;p&gt;Thank you!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using I2C &amp; GPIOTE interrupt with soft device enabled</title><link>https://devzone.nordicsemi.com/thread/7095?ContentTypeID=1</link><pubDate>Mon, 17 Feb 2014 14:53:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:09550375-eba1-4f99-baad-2aa2df43e881</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;Thanks for posting this write-up! I&amp;#39;d just like to highlight one thing: The usage of the PPI in the TWI implementation is actually due to item 36 in &lt;a href="https://www.nordicsemi.com/eng/content/download/29490/494569/file/nRF51822-PAN%20v2.0.pdf"&gt;the PAN for nRF51822&lt;/a&gt; or &lt;a href="https://www.nordicsemi.com/eng/nordic/Products/nRF51422/nRF51422-PAN/26307"&gt;this PAN for nRF51422&lt;/a&gt;:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;The following shortcuts are not implemented:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Short-cut between BB event and SUSPEND task.&lt;/li&gt;
&lt;li&gt;Short-cut between BB event and STOP task.&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;
&lt;p&gt;As shown in the PAN document, this have been fixed on the second revision chips (nRF51822 FA, or nRF51422 E0 and later), and hence, if you use and target such chips, you can instead use the shortcuts directly, without using the PPI at all. This should save you both the PPI channels and some hassle.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>