<?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 low to high and high to low</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/81362/gpio-low-to-high-and-high-to-low</link><description>Hi, 
 
 I am configuring a button and an ISR to handle the events, but the interrupt is not called only when there is a transition. 
 Is there any other configuration needed? 
 
 
 
 Thanks</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 12 Nov 2021 11:37:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/81362/gpio-low-to-high-and-high-to-low" /><item><title>RE: GPIO low to high and high to low</title><link>https://devzone.nordicsemi.com/thread/338759?ContentTypeID=1</link><pubDate>Fri, 12 Nov 2021 11:37:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e515c820-36c8-485c-a5f4-51f2a9695ab4</guid><dc:creator>Marcelo Aleks</dc:creator><description>&lt;p&gt;Hi Kenneth,&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Yes, i am sure that is a&amp;nbsp;debounce&amp;nbsp;issue, but i am using a nordic board for prototyping.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;I will solder a polyester capacitor trying to solve.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Anyway, thank you !&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GPIO low to high and high to low</title><link>https://devzone.nordicsemi.com/thread/338064?ContentTypeID=1</link><pubDate>Tue, 09 Nov 2021 08:25:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:74c2ae51-9241-4cfb-b160-07f10056c9da</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Are you sure you are not experiencing debounce/ripple ot the GPIO? Try adding a small cap on the input and see if you experience the same?&lt;/p&gt;
&lt;p&gt;Alternatively you can look at using the CAF buttons module (which have debounce filtering):&lt;br /&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/libraries/caf/buttons.html"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/libraries/caf/buttons.html&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GPIO low to high and high to low</title><link>https://devzone.nordicsemi.com/thread/337997?ContentTypeID=1</link><pubDate>Mon, 08 Nov 2021 16:34:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c42c0bb0-8b5a-4286-93ea-67be4788795b</guid><dc:creator>Marcelo Aleks</dc:creator><description>&lt;p&gt;Hi Kenneth,&lt;br /&gt;&lt;br /&gt;When we press the button (without release) it is generating more than 1 event, some time it generates 3 calls to the ISR method. But we would like to receive just one call (event) for the press and another for the release.&amp;nbsp;&amp;nbsp;Isn&amp;#39;t it the&amp;nbsp;GPIO_INT_EDGE_BOTH definition&amp;nbsp;intended for?&lt;br /&gt;&lt;br /&gt;Regards, Aleks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GPIO low to high and high to low</title><link>https://devzone.nordicsemi.com/thread/337919?ContentTypeID=1</link><pubDate>Mon, 08 Nov 2021 12:55:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6099b066-1265-4b8b-b1f8-9365c52671ad</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I am not entirely sure&amp;nbsp;I understand what problem you have, but you can find example usage of the gpio driver under tests:&lt;br /&gt;&lt;a href="https://github.com/zephyrproject-rtos/zephyr/tree/main/tests/drivers/gpio/gpio_basic_api"&gt;https://github.com/zephyrproject-rtos/zephyr/tree/main/tests/drivers/gpio/gpio_basic_api&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>