<?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>nRF52832 System OFF with Wake on Reset</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/15536/nrf52832-system-off-with-wake-on-reset</link><description>The latest rev of the product spec (1.1 when this was posted) includes a table on page 77 that indicates that the System OFF draw depends on a wakeup source (e.g. GPIO, NFC, reset, etc). Links to Product Specs including this rev:
 Product Specs in pdf</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 12 Apr 2017 14:31:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/15536/nrf52832-system-off-with-wake-on-reset" /><item><title>RE: nRF52832 System OFF with Wake on Reset</title><link>https://devzone.nordicsemi.com/thread/59323?ContentTypeID=1</link><pubDate>Wed, 12 Apr 2017 14:31:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:27918940-019e-4319-b63a-3c87d019ef89</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;&lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/power.html?cp=2_2_0_17_8_2#register.RESETREAS"&gt;There is register for it&lt;/a&gt; (applies if you boot from any situation, not only power off).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 System OFF with Wake on Reset</title><link>https://devzone.nordicsemi.com/thread/59322?ContentTypeID=1</link><pubDate>Wed, 12 Apr 2017 14:24:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:44f69f30-8d1e-4faf-8897-80deb27cbd74</guid><dc:creator>Riyad</dc:creator><description>&lt;p&gt;Hi Øyvind,&lt;/p&gt;
&lt;p&gt;How do I determine the wake up source after going into low power?&lt;/p&gt;
&lt;p&gt;Thank you
Riyad&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 System OFF with Wake on Reset</title><link>https://devzone.nordicsemi.com/thread/59321?ContentTypeID=1</link><pubDate>Thu, 04 Aug 2016 12:33:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e4a024f7-6a5e-4406-a4ce-f60dce791732</guid><dc:creator>&amp;#216;yvind Karlsen</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;This is done by calling different functions before going to system off.&lt;/p&gt;
&lt;p&gt;When in System OFF mode, the device can be woken up through one of the following signals:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The DETECT signal, optionally generated by the GPIO peripheral&lt;/li&gt;
&lt;li&gt;The ANADETECT signal, optionally generated by the LPCOMP module&lt;/li&gt;
&lt;li&gt;The SENSE signal, optionally generated by the NFC module to “wake-on-field”&lt;/li&gt;
&lt;li&gt;A reset&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;&lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/gpio.html?cp=2_2_0_19#concept_zyt_tcb_lr"&gt;GPIO&lt;/a&gt;, no RAM retention&lt;/strong&gt; (1.2µA)&lt;/p&gt;
&lt;p&gt;This is your basic press button to wake up.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;nrf_gpio_cfg_sense_input(YOUR_PIN_NUMBER, NRF_GPIO_PIN_PULLUP, NRF_GPIO_PIN_SENSE_LOW);
sd_power_system_off():
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&lt;strong&gt;&lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/lpcomp.html?cp=2_2_0_38#concept_tdv_zkx_lr"&gt;LPCOMP&lt;/a&gt;, no RAM retention&lt;/strong&gt; (1.9µA)&lt;/p&gt;
&lt;p&gt;The LPCOMP can wake up the system from System OFF by asserting the ANADETECT signal. The ANADETECT signal can be derived from any of the event sources that generate the UP, DOWN and CROSS events. In case of wakeup from System OFF, no events will be generated, only the ANADETECT signal.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;/** Configures and enables the LPCOMP
 */
void LPCOMP_init(void)
{	
	/* Enable interrupt on LPCOMP CROSS event */		
	NRF_LPCOMP-&amp;gt;INTENSET = LPCOMP_INTENSET_CROSS_Msk;
	NVIC_EnableIRQ(LPCOMP_IRQn);	
	
	/* Configure LPCOMP - set input source to AVDD*4/8 */
	NRF_LPCOMP-&amp;gt;REFSEL |= (LPCOMP_REFSEL_REFSEL_Ref4_8Vdd &amp;lt;&amp;lt; LPCOMP_REFSEL_REFSEL_Pos);
	/* Configure LPCOMP - set reference input source to AIN pin 6, i.e. P0.5 */
	NRF_LPCOMP-&amp;gt;PSEL |= (LPCOMP_PSEL_PSEL_AnalogInput6 &amp;lt;&amp;lt; LPCOMP_PSEL_PSEL_Pos);
	
	/* Enable and start the low power comparator */
	NRF_LPCOMP-&amp;gt;ENABLE = LPCOMP_ENABLE_ENABLE_Enabled;	
	NRF_LPCOMP-&amp;gt;TASKS_START = 1;
}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&lt;strong&gt;&lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/nfc.html?cp=2_2_0_41#concept_kmr_nxj_1s"&gt;NFC field&lt;/a&gt;, no RAM retention&lt;/strong&gt; (0.7 µA)&lt;/p&gt;
&lt;p&gt;When using NFCT you will likely use the library anyway, I believe it is automatically put in sense mode, or you may be able to configure it (I&amp;#39;m not that familiar with the library).&lt;/p&gt;
&lt;p&gt;Wake-on-field is supported in SENSE mode while the device is either in System OFF or System ON mode. When the antenna enters an NFC field, an event will be triggered notifying the system to activate the NFC functionality for incoming frames.&lt;/p&gt;
&lt;p&gt;In system OFF, the NFC Low Power Field Detect function can wake the system up through a reset. The NFC bit in register RESETREAS will be set as cause of the wake-up.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Wake on reset, no RAM retention&lt;/strong&gt; (0.7µA)&lt;/p&gt;
&lt;p&gt;No applicable code, debug reset.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Wake on reset, full RAM retention&lt;/strong&gt; (1.0 µA)&lt;/p&gt;
&lt;p&gt;No applicable code, debug reset.&lt;/p&gt;
&lt;p&gt;Full RAM retention is only specified for one case, an estimate for the other cases can be seen from the ΔI.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>