<?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>Sleep mode  and RTC</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/17704/sleep-mode-and-rtc</link><description>Hello, I am working on NRF52 DK,SDK12.1.0.
When I am trying to make board into sleep mode with sleep_mode_enter(I have get sd_power_system_off),I found that RAM/UART is still working, I am not sure if the CPU enter sleep mode.
My requirement is make</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 09 May 2017 10:04:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/17704/sleep-mode-and-rtc" /><item><title>RE: Sleep mode  and RTC</title><link>https://devzone.nordicsemi.com/thread/68111?ContentTypeID=1</link><pubDate>Tue, 09 May 2017 10:04:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ee6380ba-0a40-4d6a-bebd-ba428b68a1dd</guid><dc:creator>micele</dc:creator><description>&lt;p&gt;mark                                                                                                                 ！&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sleep mode  and RTC</title><link>https://devzone.nordicsemi.com/thread/68110?ContentTypeID=1</link><pubDate>Mon, 21 Nov 2016 21:25:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:529b79d3-8949-440b-8582-0262642308a4</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;blockquote&gt;
&lt;p&gt;You mean we just need call
power_manage(),the system will go to
SYSTEM ON sleep mode automaticly when
no task running, and if some interrupt
occured, the system will wake up
immediately, right?&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Right.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Does NRF52 have deep sleep mode (CPU
and most peripheral not working) and
only keep RTC running.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;No, in Deep Sleep, called SYSTEMOFF, RTC will also be powered OFF. Only few registers retain their value. For that please look into Retained registers section in POWER chapter in the Reference Manual of the chip&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sleep mode  and RTC</title><link>https://devzone.nordicsemi.com/thread/68109?ContentTypeID=1</link><pubDate>Wed, 16 Nov 2016 03:35:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d12f727a-b1ab-4bd5-8cbd-a008ab7f5e14</guid><dc:creator>frank zhang</dc:creator><description>&lt;p&gt;Hi Aryan,
You mean we just need call power_manage(),the system will go to SYSTEM ON sleep mode automaticly when no task running, and if some interrupt occured, the system will wake up immediately, right?
Does NRF52 have deep sleep mode (CPU and most peripheral not working) and only keep RTC running.
Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sleep mode  and RTC</title><link>https://devzone.nordicsemi.com/thread/68107?ContentTypeID=1</link><pubDate>Tue, 15 Nov 2016 09:13:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:54ff34fb-f48d-4ef7-9e87-ccc404a92a5e</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;then instead of calling sd_power_systemoff, you need to call&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;static void power_manage(void)
{
    uint32_t err_code = sd_app_evt_wait();

    APP_ERROR_CHECK(err_code);
}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;like below from your main loop.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;for (;;)
{        
    power_manage();
}
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sleep mode  and RTC</title><link>https://devzone.nordicsemi.com/thread/68108?ContentTypeID=1</link><pubDate>Tue, 15 Nov 2016 01:39:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c3431ae7-e0b7-4274-9210-b2858a719faf</guid><dc:creator>frank zhang</dc:creator><description>&lt;p&gt;Hi Aryan，
Thanks for your fast feedback.
I did not want to enter system OFF mode.
I just want system sleep and keep RTC time.
Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sleep mode  and RTC</title><link>https://devzone.nordicsemi.com/thread/68106?ContentTypeID=1</link><pubDate>Mon, 14 Nov 2016 08:35:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:efe8f581-6272-4fd3-bab5-b0641c0828d9</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;If your UART is still working then the system is not in SYSTEMOFF mode. RTC  is not powered in systemoff (meaning your RTC is not running in system off), only resources available are given below.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;System OFF is the deepest power saving
mode the system can enter. In this
mode, the system’s core functionality
is powered down and all ongoing tasks
are terminated. The only mechanism
that is functional and responsive in
this mode is the reset and the wakeup
mechanism.&lt;/p&gt;
&lt;p&gt;The system can be woken up from System
OFF mode either from the DETECT signal
(when active) generated by the GPIO
peripheral, by the ANADETECT signal
(when active) generated by the LPCOMP
module, or from a reset. When the
system wakes up from OFF mode, a
system reset is performed.&lt;/p&gt;
&lt;/blockquote&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>