<?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>The GPIOTE Handler was triggered several times (SD14, 52840)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/44975/the-gpiote-handler-was-triggered-several-times-sd14-52840</link><description>Hi, I was confused about the behavior of GPIOTE Handler module。I defined a handler(gpiote_event_handler) and I hope when the GPIO Pin(0.14) is changed from high to low or low to high, this handler could be triggered. When I reversed the state of Pin(0</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 18 Mar 2019 15:39:30 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/44975/the-gpiote-handler-was-triggered-several-times-sd14-52840" /><item><title>RE: The GPIOTE Handler was triggered several times (SD14, 52840)</title><link>https://devzone.nordicsemi.com/thread/176788?ContentTypeID=1</link><pubDate>Mon, 18 Mar 2019 15:39:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:443a2fb5-6930-48d0-ba4c-fde2026694b7</guid><dc:creator>mjt110</dc:creator><description>&lt;p&gt;&lt;span class="" id="w_80"&gt;That&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class="" id="w_81"&gt;explains&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class="" id="w_82"&gt;a&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class="" id="w_83"&gt;lot，thank you so much！&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The GPIOTE Handler was triggered several times (SD14, 52840)</title><link>https://devzone.nordicsemi.com/thread/176778?ContentTypeID=1</link><pubDate>Mon, 18 Mar 2019 15:03:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eba05024-f432-4134-8825-b43e7e46de4a</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Yes, then this is caused by noise from the button, which is normal. You need to handle it in some way, either with a RC filter in HW or by debouncing in software, as suggested in my previous reply.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The GPIOTE Handler was triggered several times (SD14, 52840)</title><link>https://devzone.nordicsemi.com/thread/176771?ContentTypeID=1</link><pubDate>Mon, 18 Mar 2019 14:53:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e87aab8d-cbe6-4088-885b-f67f4d453768</guid><dc:creator>mjt110</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&amp;nbsp;&lt;a class="internal-link view-user-profile" href="https://devzone.nordicsemi.com/members/eith"&gt;Einar&lt;/a&gt;, thanks for your reply! The&amp;nbsp;&lt;span&gt;input is connected to a button。Sometimes I did not push the button and the handler had already been triggered several times, is that normal?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Kind regards.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The GPIOTE Handler was triggered several times (SD14, 52840)</title><link>https://devzone.nordicsemi.com/thread/176704?ContentTypeID=1</link><pubDate>Mon, 18 Mar 2019 12:50:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:191db84e-af47-4b2f-aae4-c77de54ede2c</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I assume the input here is connected to a button/switch or similar? If so, it will typically be noisy (&amp;quot;bounce&amp;quot;), and therefore you will get multiple events if you don&amp;#39;t have a low pass filter on the input. If it is, the best is if you can fix it in HW.&amp;nbsp;Alternatively you have to do debouncing in SW, for instance using the &lt;a href="https://www.nordicsemi.com/DocLib/Content/SDK_Doc/nRF5_SDK/v15-3-0/lib_button"&gt;Button handling library&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>