<?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>How understand who wake up from system off</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/17054/how-understand-who-wake-up-from-system-off</link><description>Hi all,
there is something that wake my board from system off but i don&amp;#39;t understand who.
Someone have a suggestion? 
 Thank you,
Anna</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 27 Oct 2016 20:36:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/17054/how-understand-who-wake-up-from-system-off" /><item><title>RE: How understand who wake up from system off</title><link>https://devzone.nordicsemi.com/thread/65411?ContentTypeID=1</link><pubDate>Thu, 27 Oct 2016 20:36:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:937c76b3-c9b9-48a3-9e71-d7fcf143090a</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;@annapalu, The only things that will exit system off is when DETECT signal in the device peripheral goes high, a pin reset or a power cycle. Nothing else will make  system off exit because most of the resources are powered off. In your case it most likely a configured GPIO with sense input which could cause DETECT signal when the condition on pin is true.  In your reference manual read more about DETECT signal.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How understand who wake up from system off</title><link>https://devzone.nordicsemi.com/thread/65410?ContentTypeID=1</link><pubDate>Thu, 27 Oct 2016 11:03:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8c0395d5-b150-4061-a843-53c0d6a9c8a6</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;@annapalu : Do you have tested one of these examples? &lt;a href="https://github.com/NordicSemiconductor/nrf51-powerdown-examples"&gt;github.com/.../nrf51-powerdown-examples&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How understand who wake up from system off</title><link>https://devzone.nordicsemi.com/thread/65409?ContentTypeID=1</link><pubDate>Thu, 27 Oct 2016 10:58:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:401360d3-4bdb-44f2-9adc-eb2133f79fc5</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;@annapalu : did you were able to find the wake-up reason? If not, could you please share some more of your code? Could you also elaborate a little more on what you want to do and what is actually happening?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How understand who wake up from system off</title><link>https://devzone.nordicsemi.com/thread/65406?ContentTypeID=1</link><pubDate>Fri, 14 Oct 2016 15:30:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:09a0ab77-23e7-4bba-8877-6ea001775cbb</guid><dc:creator>annapalu</dc:creator><description>&lt;p&gt;hi alex, can you give me information, about set the gpio to go insleep please&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How understand who wake up from system off</title><link>https://devzone.nordicsemi.com/thread/65404?ContentTypeID=1</link><pubDate>Fri, 14 Oct 2016 14:06:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f811df0a-9990-4d72-894f-1a51b89c5489</guid><dc:creator>annapalu</dc:creator><description>&lt;p&gt;Alex, if use i clear gpio events, the system not go in power off... It give me an error.&lt;/p&gt;
&lt;p&gt;BTN_MGR_SetWakeUp();&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;     nrf_gpiote_event_clear(NRF_GPIOTE_EVENTS_PORT);
     err_code = sd_power_system_off();
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How understand who wake up from system off</title><link>https://devzone.nordicsemi.com/thread/65408?ContentTypeID=1</link><pubDate>Fri, 14 Oct 2016 13:25:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d7df68e8-583d-43ae-b60d-30d4013bca43</guid><dc:creator>Alex</dc:creator><description>&lt;p&gt;nrf_gpiote_event_clear(NRF_GPIOTE_EVENTS_PORT);&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How understand who wake up from system off</title><link>https://devzone.nordicsemi.com/thread/65407?ContentTypeID=1</link><pubDate>Fri, 14 Oct 2016 13:13:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e8bb2553-0cfb-4d24-8c09-8344f40cd117</guid><dc:creator>annapalu</dc:creator><description>&lt;p&gt;sorry Alex,
how i can clear the port event?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How understand who wake up from system off</title><link>https://devzone.nordicsemi.com/thread/65405?ContentTypeID=1</link><pubDate>Fri, 14 Oct 2016 11:46:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9bc7d0a5-dd1a-4b44-933a-88a04f2ccb6e</guid><dc:creator>annapalu</dc:creator><description>&lt;p&gt;I check in this documentation, but not useful. I think that some reset can be wake-up.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How understand who wake up from system off</title><link>https://devzone.nordicsemi.com/thread/65402?ContentTypeID=1</link><pubDate>Fri, 14 Oct 2016 10:09:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e0d5967b-2f11-49ea-8e76-f44af0136b51</guid><dc:creator>annapalu</dc:creator><description>&lt;p&gt;yes, i use a nrf52.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How understand who wake up from system off</title><link>https://devzone.nordicsemi.com/thread/65401?ContentTypeID=1</link><pubDate>Fri, 14 Oct 2016 10:08:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d3c6a599-6bcd-47ef-a0b5-cacd05f3c967</guid><dc:creator>Alex</dc:creator><description>&lt;p&gt;Check 19.2 in &lt;a href="http://infocenter.nordicsemi.com/pdf/nRF52832_OPS_v0.6.3.pdf"&gt;here&lt;/a&gt; regarding events and system wakeup. From your previous posts I understand that you are using nRF52.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How understand who wake up from system off</title><link>https://devzone.nordicsemi.com/thread/65400?ContentTypeID=1</link><pubDate>Fri, 14 Oct 2016 10:06:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fe86568b-1b8a-47d8-8146-750e3126dbc8</guid><dc:creator>annapalu</dc:creator><description>&lt;p&gt;Also, i try to read register RESETREAS for understand if a Reset is reason of wkae up. I read that the field A (RW RESETPIN) C(RW SREQ) and E RW OFF are 1.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How understand who wake up from system off</title><link>https://devzone.nordicsemi.com/thread/65399?ContentTypeID=1</link><pubDate>Fri, 14 Oct 2016 10:00:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9013af88-6d9b-4896-b43e-a00acdf6ee71</guid><dc:creator>annapalu</dc:creator><description>&lt;p&gt;Hi Alex,
wake up and curent consumption is high variable from 0.5 uA to 1.5 uA . Yes i use a gpio example to wake the system with Gpio Interrupt. Before to go in sleep mode i use this configuration to set the gpio wake up&lt;/p&gt;
&lt;p&gt;uint32_t BTN_SetWakeUpBotton(BTN_Id_t idButton )
{&lt;br /&gt;
uint32_t new_sense = 0;&lt;/p&gt;
&lt;p&gt;for (int btnIndex = 0; btnIndex &amp;lt; BTN_ID_STOP; btnIndex ++)
{
uint32_t new_cnf = NRF_GPIO-&amp;gt;PIN_CNF[ButtonConfigTable[btnIndex].pin_no];
if(ButtonConfigTable[btnIndex].idBtn == idButton)
{
new_sense = GPIO_PIN_CNF_SENSE_Low;
}
else
{
new_sense = GPIO_PIN_CNF_SENSE_Disabled;
}&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;  new_cnf &amp;amp;= ~GPIO_PIN_CNF_SENSE_Msk;
  new_cnf |= (new_sense &amp;lt;&amp;lt; GPIO_PIN_CNF_SENSE_Pos);
  NRF_GPIO-&amp;gt;PIN_CNF[ButtonConfigTable[btnIndex].pin_no] = new_cnf;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;}
return NRF_SUCCESS;&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How understand who wake up from system off</title><link>https://devzone.nordicsemi.com/thread/65403?ContentTypeID=1</link><pubDate>Fri, 14 Oct 2016 09:52:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:19e9f507-e12f-4d15-9513-9504d8e4ff3f</guid><dc:creator>Alex</dc:creator><description>&lt;p&gt;Does your system wake up straight after calling system off? What is your main source for wakeup in design? If GPIO for example then make sure that you clear events port before system off otherwise previouse signal changes on IO remembered.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>