<?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>Keep GPIO state during SYSTEM OFF</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/82312/keep-gpio-state-during-system-off</link><description>Hello, 
 
 I have a question regarding GPIO setting during sleep mode. 
 nRF52832 is sleep and wake-up by GPIO state(Red in below picture). 
 When Red is high, nRF52832 go to sleep mode. When Red is low, nRF52832 wake-up. 
 At -2 sec, nRF52832 went to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 02 Dec 2021 13:33:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/82312/keep-gpio-state-during-system-off" /><item><title>RE: Keep GPIO state during SYSTEM OFF</title><link>https://devzone.nordicsemi.com/thread/341712?ContentTypeID=1</link><pubDate>Thu, 02 Dec 2021 13:33:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d9e0d9e1-53fc-49a2-9e1a-4c224bd0a1f5</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;When waking up from system OFF the GPIO peripheral registers will not maintain configured values, but&amp;nbsp;the GPIO should behave the same. So if a pin was configured as input with pull-up, then it should still be input with pull-up after wakeup also, but make sure you re-configure the GPIO by writing to the GPIO registers after wakeup in any case. If this does not work as expected, then make sure to power cycle the chip before measuring GPIO and pin configuration, it can be that the chip is in debug mode if you don&amp;#39;t power cycle, and in debug mode the chip will be in emulated system OFF and can behave slightly differently on wakeup.&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>