<?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>in  system off mode , while(1) keep running ?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/12867/in-system-off-mode-while-1-keep-running</link><description>Hi, 
 I used the app of nordic , that puts the system off in order to measure the current at that mode.
the example i used is at this link . ( system-off-wakeup-on-gpio ) 
 I debuged the program, and i noticied that even after going to off mode, the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 30 Mar 2016 11:12:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/12867/in-system-off-mode-while-1-keep-running" /><item><title>RE: in  system off mode , while(1) keep running ?</title><link>https://devzone.nordicsemi.com/thread/48949?ContentTypeID=1</link><pubDate>Wed, 30 Mar 2016 11:12:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:39067c2f-c396-4067-961e-7e7e1e9e8d66</guid><dc:creator>ToTo</dc:creator><description>&lt;p&gt;Very clear guy, thanks ;)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: in  system off mode , while(1) keep running ?</title><link>https://devzone.nordicsemi.com/thread/48948?ContentTypeID=1</link><pubDate>Wed, 30 Mar 2016 10:01:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:927840ec-2384-46b7-a54c-9b68da926ee9</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Hi ToTo,&lt;/p&gt;
&lt;p&gt;In debug mode (while your debugger is controlling the chip) the System-OFF mode is emulated, which means that the chip really does not go to system off to keep the debugger link alive.&lt;/p&gt;
&lt;p&gt;Please read about the emulated system off mode &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.nrf52832.ps.v1.0%2Fpower.html&amp;amp;cp=1_2_0_16_1_0&amp;amp;anchor=unique_2053132378"&gt;here&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;When in System OFF , all power regulators except for power reset and wakeup source are powered off. When the wakeup source is detected, it will wake the chip, reset the chip and  enable all the power regulators.&lt;/p&gt;
&lt;p&gt;Now this is what happens in emulated system off (debugger connected). The power regulators are not turned off, that is the reason you need while(1); because the CPU will still be running. But the wakeup source will just reset the chip (because it do not need to power on regulators as they were not turned off in emulated mode). This behaves exactly same like actual system off in  debugger except that the the CPU is still running and power consumption is higher. This is very useful feature for debugging system off feature.&lt;/p&gt;
&lt;p&gt;I hope that it made things clear.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>