<?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>nRF52 does not enter system off</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/18075/nrf52-does-not-enter-system-off</link><description>I have following code fragment to enter nRF52 into power-off mode. There is s132 softdevice 3.0.0 running and my SDK is 12.0.0: 
 int32_t ret = sd_power_system_off();
 // get here if softdevice is not running
 debuglnf(&amp;quot;sd_power_system_off() == %d</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 18 Oct 2021 21:22:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/18075/nrf52-does-not-enter-system-off" /><item><title>RE: nRF52 does not enter system off</title><link>https://devzone.nordicsemi.com/thread/334696?ContentTypeID=1</link><pubDate>Mon, 18 Oct 2021 21:22:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a2233610-6477-4ee6-93b0-139221ff920b</guid><dc:creator>Aj-falcon</dc:creator><description>&lt;p&gt;Another way to quickly check &amp;#39;system off&amp;#39; during development is to put an LED on after that statement. Within SEGGER IDE, if JTAG is connected, the LED will turn on, else if the JTAG is disconnected, LED won&amp;#39;t turn on. (Reset the board after disconnecting the JTAG from the SEGGER IDE to restart the execution from the beginning).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 does not enter system off</title><link>https://devzone.nordicsemi.com/thread/123433?ContentTypeID=1</link><pubDate>Thu, 08 Mar 2018 12:32:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f33f77f2-903b-438e-8936-0ceaa8726ef0</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Yes, you are right, Like Pratyush said, we saw that connecting the chip to RTT terminal itself will pull the chip into debug mode.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 does not enter system off</title><link>https://devzone.nordicsemi.com/thread/123429?ContentTypeID=1</link><pubDate>Thu, 08 Mar 2018 12:26:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e8897a32-62f5-40f2-aad0-28512e0cbf67</guid><dc:creator>gnf</dc:creator><description>&lt;p&gt;I just stumbled on this thread as I have the same issue. I can confirm that connecting with RTT Viewer will wake the chip up from power off mode. I am testing this on the hrs example which also emits a fatal error after APP_ADV_TIMEOUT_IN_SECONDS, where it wants to go to power off mode, if RTT Viewer is still connected.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 does not enter system off</title><link>https://devzone.nordicsemi.com/thread/69714?ContentTypeID=1</link><pubDate>Mon, 23 Oct 2017 14:51:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dff79816-404b-4eca-9e6e-e649380d5744</guid><dc:creator>Pratyush Dave</dc:creator><description>&lt;p&gt;I believe using the RTT terminal from a PC will also put the chip in debug mode!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 does not enter system off</title><link>https://devzone.nordicsemi.com/thread/69713?ContentTypeID=1</link><pubDate>Thu, 01 Dec 2016 15:28:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:198cfae4-1a1b-476e-9a0f-e9e0e94169ff</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;No,  it is in debug mode if you started  debugger or explicitly made chip to go to debug mode by controlling the SWD lines after the chip went to SystemOFF&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 does not enter system off</title><link>https://devzone.nordicsemi.com/thread/69712?ContentTypeID=1</link><pubDate>Thu, 01 Dec 2016 14:09:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c806b706-8660-46f8-bc4e-3a3a24378c46</guid><dc:creator>Jarmo</dc:creator><description>&lt;p&gt;It might be the case. I am using RTT to see debug printings, so does that mean the system is in debug mode and thus emulates system off?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 does not enter system off</title><link>https://devzone.nordicsemi.com/thread/69711?ContentTypeID=1</link><pubDate>Thu, 01 Dec 2016 13:56:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5ccbfadc-cc8c-4793-b588-1d9ea12228a0</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;did you get to check if this was the case for you Jarmo?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 does not enter system off</title><link>https://devzone.nordicsemi.com/thread/69710?ContentTypeID=1</link><pubDate>Wed, 30 Nov 2016 19:11:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:300333d8-97b1-4f47-8a06-10921442a8c0</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;I am pretty sure you are seeing this in debugger.  In debug mode system off does not work.  Instead,  emulated system off is used which does not go to deep sleep and the CPU continues to run.  But the wakeup source will reset the chip in both emulated system off and normal system off.  We added this feature for debugging.  One way to verify that your system off feature is working in debugger is to trigger the wakeup source and see if it has reset the chip.&lt;/p&gt;
&lt;p&gt;Also it is important to have a while(1); after the triggering the system off. Else in debug mode, since the CPU continues to run, it will cause some hardware fault because it will start executing something which it is not supposed to.&lt;/p&gt;
&lt;p&gt;Please read product specifications for more info at &lt;em&gt;&lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.nrf52832.ps.v1.1%2Fpower.html&amp;amp;cp=2_2_0_17_1_0&amp;amp;anchor=unique_1053952700"&gt;infocenter&lt;/a&gt;&lt;/em&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>