<?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>System OFF/ wake up with NRF51822</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/406/system-off-wake-up-with-nrf51822</link><description>Hi, 
 I have a simple battery powered remote control device with a NRF51822 and using the Gazelle protocol for communication with the host. 
 To save battery the MCU goes into System OFF state (I am using the power management module from the Smart Remote</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 18 Sep 2013 13:47:13 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/406/system-off-wake-up-with-nrf51822" /><item><title>RE: System OFF/ wake up with NRF51822</title><link>https://devzone.nordicsemi.com/thread/2110?ContentTypeID=1</link><pubDate>Wed, 18 Sep 2013 13:47:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b4c0a6f1-fca1-47a3-85e6-365c50a4ccde</guid><dc:creator>Witali</dc:creator><description>&lt;p&gt;Hi Ole,&lt;/p&gt;
&lt;p&gt;thank you for your reply.&lt;/p&gt;
&lt;p&gt;I was able to find a workaround by using the GPREGRET register.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: System OFF/ wake up with NRF51822</title><link>https://devzone.nordicsemi.com/thread/2109?ContentTypeID=1</link><pubDate>Tue, 03 Sep 2013 12:30:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:edfc142d-485b-44db-a940-1076a82264f4</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;The alternative to system off is called system on, idle, and is entered by doing a __WFI() call. When you wake up from this state, execution will continue from where it left off, and not cause a reset. You therefore need to make sure that this is handled appropriately.&lt;/p&gt;
&lt;p&gt;Using this power saving mode instead of system off is the only way to avoid reinitalization completely, and this would also remove your other problem with buttons not being correctly detected on startup.&lt;/p&gt;
&lt;p&gt;The alternative is to check which buttons are pushed on startup and act appropriately. There isn&amp;#39;t any way to know which button woke you up when using the GPIOTE port event, so you have to check each button and do whatever is needed manually.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>