<?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>Edge Triggered wake up from system off mode in nRF51822...</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/54208/edge-triggered-wake-up-from-system-off-mode-in-nrf51822</link><description>Hello, 
 I am working on nRF51822, SDK12.3.0 in IAR workbench. 
 I am use init pin 2 as an interrupt. 
 Device will advertise for 20 minute after 20 minute device go to sleep. I want to wake up the chip only when pin 2 detect falling edge. I have used</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sun, 10 Nov 2019 20:03:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/54208/edge-triggered-wake-up-from-system-off-mode-in-nrf51822" /><item><title>RE: Edge Triggered wake up from system off mode in nRF51822...</title><link>https://devzone.nordicsemi.com/thread/219368?ContentTypeID=1</link><pubDate>Sun, 10 Nov 2019 20:03:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:65595b50-c3b2-4aba-964a-4a9a5d9c79b7</guid><dc:creator>Dmitry</dc:creator><description>&lt;p&gt;&lt;span&gt;Hi,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;you can configure a level opposite to current one. The drawback is an additional false wake-up at rising edge, but it seems there is no other way.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;nrf_gpio_pin_sense_t level = nrf_gpio_pin_read(2) ? NRF_GPIO_PIN_SENSE_LOW : NRF_GPIO_PIN_SENSE_HIGH;
nrf_gpio_cfg_sense_set(2, level);&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>