<?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>GPIO Wakeup from System OFF Not Working</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/16263/gpio-wakeup-from-system-off-not-working</link><description>This is the code I am using to wakeup my system from OFF. It is not working. Kindly Help. 
 #define Pin_0 0


static void gpio_init(void)
{
 ret_code_t err_code;

 // Configure output pin for LED
 err_code = nrf_drv_gpiote_init();
 APP_ERROR_CHECK</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 17 Sep 2016 20:10:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/16263/gpio-wakeup-from-system-off-not-working" /><item><title>RE: GPIO Wakeup from System OFF Not Working</title><link>https://devzone.nordicsemi.com/thread/62151?ContentTypeID=1</link><pubDate>Sat, 17 Sep 2016 20:10:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9a82ce37-b445-4d72-ab42-e0907d046d37</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Seems to work fine on nRF51-DK if you change&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;nrf_gpio_cfg_sense_input(Pin_0, NRF_GPIO_PIN_PULLUP, NRF_GPIO_PIN_SENSE_LOW);
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;to&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;nrf_gpio_cfg_sense_input(BSP_BUTTON_0, NRF_GPIO_PIN_PULLUP, NRF_GPIO_PIN_SENSE_LOW);
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;because BUTTON_1 on the nRF51-DK maps to physical pin 17.  I can see the LED toggle when I press the button.&lt;/p&gt;
&lt;p&gt;There are also useful &lt;a href="https://github.com/NordicSemiconductor/nrf51-powerdown-examples"&gt;powerdown examples on Nordic&amp;#39;s Github&lt;/a&gt;, the system_off_wakeup_on_gpiote example and the system_off_wakeup_on_gpio example, which wake up from System-off on button press&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>