<?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>Small problem with using the GPIO to power system ON/OFF</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/21995/small-problem-with-using-the-gpio-to-power-system-on-off</link><description>Hi,
I am really new to the Nordic products and programming for that matters. But, the thing is that I am in somewhat of a hurry. I would like to use a similar code to below to the one below to put my device in system on/off on GPIO inputs. The only problem</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 12 May 2017 15:47:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/21995/small-problem-with-using-the-gpio-to-power-system-on-off" /><item><title>RE: Small problem with using the GPIO to power system ON/OFF</title><link>https://devzone.nordicsemi.com/thread/86311?ContentTypeID=1</link><pubDate>Fri, 12 May 2017 15:47:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b7568243-2edf-4c7f-b582-437a6a9b9f81</guid><dc:creator>Simon Bellemare</dc:creator><description>&lt;p&gt;Thank you!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Small problem with using the GPIO to power system ON/OFF</title><link>https://devzone.nordicsemi.com/thread/86310?ContentTypeID=1</link><pubDate>Fri, 12 May 2017 13:44:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:96318a04-9203-4fe9-bb6e-bd36875e58a7</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Yes, that should be possible as long as you have SENSE enabled on that specific pin. In the GPIO interrupt handler you need to check if you entered it by checking RESETREAS register( it will set one bit to 1 if the chip is woken up from a GPIO pin). In that case you should not re-enter System OFF. If you enter the GPIO interrupt handler and the bit in the RESETREAS is not set, then you should enter System OFF.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Small problem with using the GPIO to power system ON/OFF</title><link>https://devzone.nordicsemi.com/thread/86309?ContentTypeID=1</link><pubDate>Fri, 12 May 2017 13:29:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7213aacb-19e4-4512-8c9b-1b73eabec44c</guid><dc:creator>Simon Bellemare</dc:creator><description>&lt;p&gt;Yes, thank you.  I did fix the problem I had but I came across another one.  I would like to power ON/OFF my device using the same GPIO pin as i would send a logical 1 for power down and a logical 1 for power ON coming from another IC.  Is that possible?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Small problem with using the GPIO to power system ON/OFF</title><link>https://devzone.nordicsemi.com/thread/86308?ContentTypeID=1</link><pubDate>Fri, 12 May 2017 11:13:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8578d408-5d84-4420-b301-4104affad975</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Hi Simon,&lt;/p&gt;
&lt;p&gt;I recommend that you take a look at &lt;a href="https://github.com/NordicSemiconductor/nrf51-powerdown-examples"&gt;this&lt;/a&gt; Github repo, it contains several powerdown examples.&amp;#39;&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Bjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>