<?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>Multiple GPIO interrupts from SYSTEM_SOFT_OFF</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/88286/multiple-gpio-interrupts-from-system_soft_off</link><description>I am developing a product that I have going into SYSTEM_SOFT_OFF to maximise battery life. I have a bunch of GPIOs (these are currently just buttons on the nRF52-DK) that I use to trigger the hardware out of this mode, and start up. I then check the registers</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 25 May 2022 12:05:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/88286/multiple-gpio-interrupts-from-system_soft_off" /><item><title>RE: Multiple GPIO interrupts from SYSTEM_SOFT_OFF</title><link>https://devzone.nordicsemi.com/thread/369515?ContentTypeID=1</link><pubDate>Wed, 25 May 2022 12:05:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5227eba9-5c74-471e-afbc-0f13391e31e9</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;It sounds like you need a debounce on your wake up GPIO.&amp;nbsp;This is implemented in the &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.0.0/lib_bsp.html"&gt;BSP &lt;/a&gt;that is used in the SDK examples, but you can implement it yourself by combining the&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.0.0/lib_button.html"&gt; button handling library &lt;/a&gt;to do debouncing and the app_timer to measure duration of the button press. Note that I assume you&amp;#39;re using the nRF5 SDK here. Let me know if that&amp;#39;s not the case, but the functions you refer to looks like that.&lt;/p&gt;
&lt;p&gt;You can check out&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/51942/gpio-interrupt-after-wake-up/208846#208846"&gt; this case&lt;/a&gt; where my colleague Håkon explains and discusses a similar issue as well.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>