<?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>How to enter in a deep sleep mode and wake up GPIO.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/79594/how-to-enter-in-a-deep-sleep-mode-and-wake-up-gpio</link><description>Hello, 
 Hello, I am currently developing an emergency system. The goal is for this system to be off most of the time. It will be used very little, and the system will have to be woken up by pressing a button. The system will automatically go back to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 17 Sep 2021 12:01:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/79594/how-to-enter-in-a-deep-sleep-mode-and-wake-up-gpio" /><item><title>RE: How to enter in a deep sleep mode and wake up GPIO.</title><link>https://devzone.nordicsemi.com/thread/330026?ContentTypeID=1</link><pubDate>Fri, 17 Sep 2021 12:01:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:42252a39-d513-4417-b90b-48b9cc807068</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]I used this&amp;nbsp;&lt;a title="example" href="https://github.com/nrfconnect/sdk-nrf/blob/v1.3.0/applications/serial_lte_modem/src/main.c#L95"&gt;example&lt;/a&gt; to make the card enter the off mode, however I have the impression that the GPIOs are still active.[/quote]
&lt;p&gt;&amp;nbsp;Yes, that is intended behavior. System off turns off all the peripherals except for GPIO.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]I understood that there was a deeper standby state &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/47881/how-to-put-nrf9160-dk-in-deep-sleep-mode"&gt;here&lt;/a&gt;, does this one allow to deactivate the GPIOs ?[/quote]
&lt;p&gt;&amp;nbsp;No, there is no deeper standby state than system off.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]And moreover will it still be possible to wake up the system by changing the state of the push button in this deeper state or is this not possible?[/quote]
&lt;p&gt;&amp;nbsp;Yes, you will need to enable the &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fps_nrf9160%2Fgpio.html&amp;amp;cp=2_0_0_5_3_0&amp;amp;anchor=concept_o12_bgv_bs"&gt;SENSE flag in the PIN_CFG register&lt;/a&gt; for the button GPIO pin.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>