<?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 library in SDK7.2 with nRF51422</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/8448/gpiote-library-in-sdk7-2-with-nrf51422</link><description>I&amp;#39;m using GPIOTE library to check the change of two switch inputs.
Normally it works well, but rarely GPIOTE_IRQHandler become never happen even if the pin level changes.
I think the reason is bounds like noise.
For example, the pin changes many times</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 03 Aug 2015 09:18:27 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/8448/gpiote-library-in-sdk7-2-with-nrf51422" /><item><title>RE: GPIOTE library in SDK7.2 with nRF51422</title><link>https://devzone.nordicsemi.com/thread/30767?ContentTypeID=1</link><pubDate>Mon, 03 Aug 2015 09:18:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d01635d2-0dd0-431d-ac6f-aafdf95f878d</guid><dc:creator>Yoshiyuki Kasai</dc:creator><description>&lt;p&gt;The pin and GPIOTE are operational if the external noise doesn&amp;#39;t happen. Thank you for your advice, I try to reduce the external noise.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GPIOTE library in SDK7.2 with nRF51422</title><link>https://devzone.nordicsemi.com/thread/30766?ContentTypeID=1</link><pubDate>Fri, 31 Jul 2015 07:01:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1497abb3-7452-4ced-b4e8-95b58e466e33</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;7.0V is too far from the operating voltage of 3.6V max, but if the noise is spike for few microseconds then I am guessing that it should not damage the line atleast.&lt;/p&gt;
&lt;p&gt;Can you check if the GPIO pin and GPIOTE channel that connected to this pin are operational.
You can do this by running GPIOTE example from SDK\examples\peripheral\gpiote and change the code little to match the PIN and GPIOTE channel you used.&lt;/p&gt;
&lt;p&gt;If they are operational, then probably the power spike is taking the module into an unknown state. We cannot do much here inside the chip and you need to solve it by external noise reduction circuits outside the pin.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GPIOTE library in SDK7.2 with nRF51422</title><link>https://devzone.nordicsemi.com/thread/30763?ContentTypeID=1</link><pubDate>Fri, 31 Jul 2015 06:36:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dc3d42ff-0ee7-4b2e-bb2b-08eb82f514b1</guid><dc:creator>Yoshiyuki Kasai</dc:creator><description>&lt;p&gt;I&amp;#39;m using SDK library GPIOTE, so I think the event is cleared at the first in the handler.  I&amp;#39;m not sure the event is set in GPIOTE, but the input is changed. This is my original circuit. VDD is 2.5V. Two switch inputs is pulled up with VDD. The maximum power noise to VDD is over 7.0V in a few nano seconds. I think this noise make a problem.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GPIOTE library in SDK7.2 with nRF51422</title><link>https://devzone.nordicsemi.com/thread/30761?ContentTypeID=1</link><pubDate>Fri, 31 Jul 2015 06:11:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c4db6834-4b89-474f-a39e-03e96ec423b7</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Did you clear the event in the interrupt handle.&lt;/p&gt;
&lt;p&gt;You mean to say that the event is set in GPIOTE later but the interrupts does not happen ?
I have never experienced or heard of this problem before. How can I reproduce this?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GPIOTE library in SDK7.2 with nRF51422</title><link>https://devzone.nordicsemi.com/thread/30765?ContentTypeID=1</link><pubDate>Fri, 31 Jul 2015 05:59:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:85a3658d-0d14-4275-8199-ee8081e05b7a</guid><dc:creator>Yoshiyuki Kasai</dc:creator><description>&lt;p&gt;I mean GPIOTE_IRQHandler doesn&amp;#39;t happen anymore by the pin change after getting noise. But SPI and other function is available at that time.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GPIOTE library in SDK7.2 with nRF51422</title><link>https://devzone.nordicsemi.com/thread/30764?ContentTypeID=1</link><pubDate>Fri, 31 Jul 2015 05:07:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:30a70e43-df9b-4905-bd1e-1411d9e06341</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;GPIOTE_IRQHandler become hung-up &amp;lt;--- What do you mean by this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GPIOTE library in SDK7.2 with nRF51422</title><link>https://devzone.nordicsemi.com/thread/30762?ContentTypeID=1</link><pubDate>Thu, 30 Jul 2015 23:09:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:103947d6-7c99-4f0d-af47-0d531cd1ab78</guid><dc:creator>Yoshiyuki Kasai</dc:creator><description>&lt;p&gt;Aryan, Thank you for your answer. I know that, but GPIOTE_IRQHandler become hung-up. It means GPIOTE_IRQHandler never happen by the pin change after getting a lot of change during the interruption. The source of the noise would be power noise. I&amp;#39;m monitoring charging status. When the charge start, the pin become low level from high level. At that time, power line would get noise.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GPIOTE library in SDK7.2 with nRF51422</title><link>https://devzone.nordicsemi.com/thread/30760?ContentTypeID=1</link><pubDate>Thu, 30 Jul 2015 13:48:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5c1ea0ac-ca06-46cd-843b-6909281c4556</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;If the pin changes so fast that the interrupt could not finish then it is very normal that you are missing few events. What is the source of that noise on your pin?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>