<?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>System Power Off</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/108192/system-power-off</link><description>I am working on a device that I want to be able to store powered off for long periods of time. Ideally, I could enter a low power state that the user can exit by plugging in a USB cable. 
 I was able to find this older devzone post, and want to be able</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 29 Feb 2024 10:13:45 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/108192/system-power-off" /><item><title>RE: System Power Off</title><link>https://devzone.nordicsemi.com/thread/471486?ContentTypeID=1</link><pubDate>Thu, 29 Feb 2024 10:13:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a4de0d04-86b7-443a-b8e9-1ad7b1e8ce5e</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;If wakeup from SystemOFF was caused by VBUS, bit &amp;quot;I&amp;quot; (0x00&lt;span&gt;100000&lt;/span&gt;) in&amp;nbsp;&lt;a title="RESETREAS" href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/power.html?cp=5_0_0_4_2_6_10#register.RESETREAS"&gt;RESETREAS&lt;/a&gt;&amp;nbsp;register will be set on wakeup.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: System Power Off</title><link>https://devzone.nordicsemi.com/thread/471485?ContentTypeID=1</link><pubDate>Thu, 29 Feb 2024 10:03:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a3a71b9c-6150-4084-8ad4-60330e422fb3</guid><dc:creator>bauch2</dc:creator><description>&lt;p&gt;How can I verify if the VDD feedback to VBUS is triggering a wakeup due to the VBUS voltage exceeding the 3.4-volt range, considering the circuit configuration? &lt;span style="color:#ffffff;font-size:75%;"&gt;&lt;a style="color:#ffffff;" href="https://dinosaurgame3d.com"&gt;dinosaur game&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: System Power Off</title><link>https://devzone.nordicsemi.com/thread/468500?ContentTypeID=1</link><pubDate>Tue, 13 Feb 2024 02:58:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d8fe8910-1825-4b48-8196-f42da768b487</guid><dc:creator>hmolesworth</dc:creator><description>&lt;p&gt;Actually I tried&amp;nbsp;applying an NFC field to see what happens, but NFC Sense only seems to force a wakeup and reset if &lt;em&gt;TASKS_SENSE&lt;/em&gt; is previously enabled, which is not the default (tested on nRF52832, not nRF52840).&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;    // This might be a secondary reset due to NFC or port io wakeup or first power-on reset
    if ((NRF_POWER-&amp;gt;RESETREAS &amp;amp; 0x90000) == 0)
    {
       NRF_NFCT-&amp;gt;TASKS_SENSE = 1;
       NRF_POWER-&amp;gt;SYSTEMOFF = 1;
    }&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Maybe on the nRF52840 the VDD feeds back to VBUS in the absence of USB and trips a wakeup if the VBUS voltage is above 3.4 volts range; depends a little on circuit configuration; easy to check by logging RESETREAS&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: System Power Off</title><link>https://devzone.nordicsemi.com/thread/468477?ContentTypeID=1</link><pubDate>Mon, 12 Feb 2024 19:51:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:51e5415b-6dc6-460b-b137-a101c5e9aef7</guid><dc:creator>hmolesworth</dc:creator><description>&lt;p&gt;Maybe disable the NFC pins (if enabled):&lt;/p&gt;
&lt;p&gt;&amp;quot;&lt;em&gt;In System OFF, the NFCT Low Power Field Detect function can wake the system up through a reset.&amp;nbsp;&lt;/em&gt;&lt;br /&gt;&lt;em&gt;If the system is put into System OFF mode while a field is already present, the NFCT Low Power Field&lt;/em&gt;&lt;br /&gt;&lt;em&gt;Detect function will wake the system up right away and generate a reset&lt;/em&gt;&amp;quot;&lt;/p&gt;
&lt;p&gt;We save the RESETREAS register before the errata are applied.&lt;/p&gt;
&lt;p&gt;Edit: note a coil is not required for System Off reset, just a differential 1.2 volts between the 2 pins, such as a finger touch or photodiode .. might try this, be a useful feature for low-power wakeup. The NFC pins are high-impedance in System OFF; thus sensitive to noise.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: System Power Off</title><link>https://devzone.nordicsemi.com/thread/468476?ContentTypeID=1</link><pubDate>Mon, 12 Feb 2024 19:00:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3360a564-e353-4904-871a-40307b674042</guid><dc:creator>Ecic2002</dc:creator><description>&lt;p&gt;Thank you&amp;nbsp;&lt;span&gt;J&amp;oslash;rgen for the response.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;The system off command used in the sample is the same that I have been trying to use in code. The device does seem to power off, but then almost immediately starts back up. The VBUS pin is low, and I have both disconnected the JTAG and restarted the device. Is there a way to record what is causing the power on event? Are there any other systems similar to USB VBUS where they are enabled by default to power on the device? I have nothing in my board file setup to be a wakeup source.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: System Power Off</title><link>https://devzone.nordicsemi.com/thread/468431?ContentTypeID=1</link><pubDate>Mon, 12 Feb 2024 14:46:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3077b2dc-e66b-4e12-a730-5c8fbbf15fee</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;As described in the Product specifications, wakeup from&amp;nbsp;&lt;a title="System OFF mode" href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/power.html?cp=5_0_0_4_2_2#unique_458937164"&gt;System OFF mode&lt;/a&gt;&amp;nbsp;includes GPIO, LPCOMP, NFCT, USB or a reset. You can&amp;nbsp;reference the &lt;a href="https://github.com/nrfconnect/sdk-zephyr/tree/v3.4.99-ncs1-2/samples/boards/nrf/system_off"&gt;nRF5x System Off demo sample in Zephyr&lt;/a&gt;&amp;nbsp;on how to enter SystemOFF mode. Note that you should power cycle the board after programming, to make sure it is not in debug interface mode, which will force&amp;nbsp;&lt;a title="Emulated System OFF mode" href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/power.html?cp=5_0_0_4_2_2_0#unique_1612577660"&gt;Emulated System OFF mode&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;It is not possible to disable the USB VBUS as wakeup source, and there is no need to configure this explicitly.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>