<?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 per-pin DETECT signal available?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/39858/gpio-per-pin-detect-signal-available</link><description>NRF51822 RM 3.0 section 14.1 states each GPIO pin has DETECT, but where is the register to read per-pin detect? From the manual: &amp;quot;Each pin has a separate DETECT signal, and the default behaviour is that the DETECT signal from all pins in the GPIO Port</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 26 Oct 2018 10:35:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/39858/gpio-per-pin-detect-signal-available" /><item><title>RE: GPIO per-pin DETECT signal available?</title><link>https://devzone.nordicsemi.com/thread/154651?ContentTypeID=1</link><pubDate>Fri, 26 Oct 2018 10:35:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a780a250-9373-4a4a-8b82-da3e02ab4ca4</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;Each pin does have a separate DETECT signal and you can configure them on and off and positive or negative detects, however the only signal which is output from the GPIO module for you to use is the ORed DETECT. So I supposed you could complain about the words &amp;#39;by default&amp;#39; but really .. that&amp;#39;s rather splitting hairs.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This is again why I like the nRF52 which at least lets you have access to what was DETECTed, not I think that I&amp;#39;ve ever used that feature.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GPIO per-pin DETECT signal available?</title><link>https://devzone.nordicsemi.com/thread/154625?ContentTypeID=1</link><pubDate>Fri, 26 Oct 2018 08:16:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b72b67fd-b69e-40c7-bc66-8c52c499c449</guid><dc:creator>pgruebele</dc:creator><description>&lt;p&gt;Thanks RK. I am familiar with the items you mention.&lt;/p&gt;
&lt;p&gt;Just to be clear:&lt;/p&gt;
&lt;p&gt;So the NRF51 does not support separate DETECT signals as stated in the manual?&amp;nbsp; All DETECT signals are OR&amp;#39;ed together and presented in NRF_GPIOTE-&amp;gt;EVENTS_PORT as a single bit?&lt;/p&gt;
&lt;p&gt;Cheers&lt;/p&gt;
&lt;p&gt;Philip&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GPIO per-pin DETECT signal available?</title><link>https://devzone.nordicsemi.com/thread/154581?ContentTypeID=1</link><pubDate>Thu, 25 Oct 2018 21:58:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7aaaf54a-c63a-459c-bc7d-9d100c3c921e</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;well the IN register reads the current state of the pins, is that what you want? Or do you want an event generated on a single pin DETECT? If you want the latter you can have up to 4 pins selected in the GPIOTE module (see section 15) and generate events and interrupts on edge changes. Note that&amp;#39;s a higher power mode, details about that power consumption are in the product sheet for the actual chip, not the reference manual which is generic to the series.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you use the much newer nrf52832, and this is from memory, it has a LATCH register which does exactly that and latches any pin detects so you can find out what *was* detected and not just read IN which tells you what *is* the current state.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Is there a reason you&amp;#39;re sticking to the, now, much older chip? The nRF52 has loads of little improvements like this.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>