<?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>nRF52 device stops waking up from deep sleep after 2-3 hours (NCS 2.7.0</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/119071/nrf52-device-stops-waking-up-from-deep-sleep-after-2-3-hours-ncs-2-7-0</link><description>I am working on an nRF52-based device using nRF Connect SDK (NCS) version 2.7.0. The device is configured to enter deep sleep every 60 seconds and wake up via a GPIO interrupt. However, after 2-3 hours of operation, the device stops waking up from deep</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 18 Feb 2025 14:30:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/119071/nrf52-device-stops-waking-up-from-deep-sleep-after-2-3-hours-ncs-2-7-0" /><item><title>RE: nRF52 device stops waking up from deep sleep after 2-3 hours (NCS 2.7.0</title><link>https://devzone.nordicsemi.com/thread/523542?ContentTypeID=1</link><pubDate>Tue, 18 Feb 2025 14:30:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cb8f4740-d60a-418a-93f5-a635b8dd1f58</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Try adding a pullup/pulldown to your GPIOs. I suspect that your gpio is already in the active state.&lt;/p&gt;
&lt;p&gt;So if your active state is low, add GPIO_PULL_UP to your init flags:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;gpio_pin_configure_dt(&amp;amp;button0, GPIO_INPUT | GPIO_PULL_UP);&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;See if that helps.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;To be sure, you can test this without any changes. If the pin is active low, try shorting the pin to VDD, and then press it again.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>