<?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>maximum GPIO interrupts nRF52</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/12617/maximum-gpio-interrupts-nrf52</link><description>Hi, 
 We would like to use NRF52832 chipset for our project, and we need to configure 11 pins as GPIO interupt , Is this possible ? How many pins we can have as interrupt at a time ? 
 Thanks a lot in advance ,</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 18 Mar 2016 12:03:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/12617/maximum-gpio-interrupts-nrf52" /><item><title>RE: maximum GPIO interrupts nRF52</title><link>https://devzone.nordicsemi.com/thread/47917?ContentTypeID=1</link><pubDate>Fri, 18 Mar 2016 12:03:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3e3f9e38-35dd-46b3-9ba0-55822aac31a4</guid><dc:creator>Ole Bauck</dc:creator><description>&lt;p&gt;If you configure a pin as low_accuracy it will wake up the CPU on level change, so all pins can be configured as a wake up source. In the driver you have to change the GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS to the number of wake up pins (the examples in SDK use 4 buttons on DK as wakeup).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: maximum GPIO interrupts nRF52</title><link>https://devzone.nordicsemi.com/thread/47916?ContentTypeID=1</link><pubDate>Fri, 18 Mar 2016 05:38:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4238bab9-b2d9-4619-a68e-b3d832bbd460</guid><dc:creator>Thangaraj</dc:creator><description>&lt;p&gt;Hi , My query in particular, is there any limitation is there on setting number of wake up source at a tie when the device enter into deep sleep mode&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: maximum GPIO interrupts nRF52</title><link>https://devzone.nordicsemi.com/thread/47915?ContentTypeID=1</link><pubDate>Thu, 17 Mar 2016 14:44:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bf48512a-59c8-4bf2-b671-c0a1b43c369c</guid><dc:creator>Ole Bauck</dc:creator><description>&lt;p&gt;You mean wake up from system OFF sleep? In that case the wake up pin needs to be another level than the wake up level or else the chip will wake up immediately, see &lt;a href="https://devzone.nordicsemi.com/question/70332/wakeup-at-lo-hi-transition-not-just-state-sense/"&gt;this post&lt;/a&gt;. Other than that I can&amp;#39;t think of any limitation. If you mean wake up fro system ON sleep there is no other than the ones I have pointed out.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: maximum GPIO interrupts nRF52</title><link>https://devzone.nordicsemi.com/thread/47914?ContentTypeID=1</link><pubDate>Thu, 17 Mar 2016 14:01:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:54ca9344-a91b-4b26-904c-cc7d669501ed</guid><dc:creator>Thangaraj</dc:creator><description>&lt;p&gt;Hi Sorry I have one more doubt similar to this, Is there any limitations for Wake up source configuration like this ??&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: maximum GPIO interrupts nRF52</title><link>https://devzone.nordicsemi.com/thread/47913?ContentTypeID=1</link><pubDate>Thu, 17 Mar 2016 12:14:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bdc12f76-9b8e-4d86-a7f2-71c586cc4a9b</guid><dc:creator>Thangaraj</dc:creator><description>&lt;p&gt;Thanks a lot For your very quick response .........&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: maximum GPIO interrupts nRF52</title><link>https://devzone.nordicsemi.com/thread/47912?ContentTypeID=1</link><pubDate>Thu, 17 Mar 2016 10:38:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1407bda5-95bc-475c-939f-7b374b6d8a77</guid><dc:creator>Ole Bauck</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;This is possible using the PORT event. Using the &lt;em&gt;PORT event&lt;/em&gt; / &lt;em&gt;DETECT signal&lt;/em&gt;  you can actually configure all gpio pins as interrupts. There are some drawbacks using the PORT event because it is shared between all gpio pins configured for it. As it is too complicated to explain it all here I recommend that you read the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.0/gpio.html?cp=1_2_0_18#concept_zyt_tcb_lr"&gt;GPIO&lt;/a&gt; and &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.0/gpiote.html?cp=1_2_0_19#concept_knz_kww_lr"&gt;GPIOTE&lt;/a&gt; chapters in the Product Specification.&lt;/p&gt;
&lt;p&gt;Alternative to using PORT event is to use IN event. This can only be configured for 8 pins as there are only 8 channels in the GPIOTE peripheral. IN event is also more current demanding than PORT event as it requires certain resources like the HFCLK. PORT event use almost no power and can be used when device is in system OFF sleep mode (deep sleep).&lt;/p&gt;
&lt;p&gt;With the SDK driver you should configure for so called &amp;quot;low accuracy&amp;quot; for using PORT event (for example &lt;code&gt;GPIOTE_CONFIG_IN_SENSE_TOGGLE(false)&lt;/code&gt;, where false means low accuracy).
See also &lt;a href="https://devzone.nordicsemi.com/question/15696/nrf51822-sense-pin-in-port-mode-doesnt-solve-the-gpiote-overconsumption-in-event-mode/?answer=15737#post-id-15737"&gt;this post&lt;/a&gt; for more information about the PORT event and SDK driver (on nRF51, but still valid for nRF52).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>