<?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>How to set nRF52 DK into sleep mode: System ON, No RAM retention, wake on RTC (running from the LFXO clock)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/56518/how-to-set-nrf52-dk-into-sleep-mode-system-on-no-ram-retention-wake-on-rtc-running-from-the-lfxo-clock</link><description>I would like to see an example or documentation about how to set my nRF52 DK into various sleep modes. I know that calling &amp;quot;sd_power_system_off()&amp;quot; will turn the device into System OFF sleep mode, and that calling &amp;quot;sd_app_evt_wait()&amp;quot; will set the device</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 14 Jan 2020 13:25:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/56518/how-to-set-nrf52-dk-into-sleep-mode-system-on-no-ram-retention-wake-on-rtc-running-from-the-lfxo-clock" /><item><title>RE: How to set nRF52 DK into sleep mode: System ON, No RAM retention, wake on RTC (running from the LFXO clock)</title><link>https://devzone.nordicsemi.com/thread/229050?ContentTypeID=1</link><pubDate>Tue, 14 Jan 2020 13:25:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:98fdce85-1a54-4bf1-bb8f-8c3267fcfca9</guid><dc:creator>Noah</dc:creator><description>&lt;p&gt;I have another question regarding cutting SB9 on the DK. I have one board without SB9 cut, and it works perfectly fine. However, I have another DK where I have cut SB9 for power profiling kit use and the board does not function properly. When I try to program the board, I receive an error that says idcode not found. When I jump both pins on P22, I am able to flash the board, but LED1 does not turn on or flash after flashing the rtc example.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Do I really have to solder/desolder SB9 every time I want to flash new code onto the board and then test it using the power profiling kit?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to set nRF52 DK into sleep mode: System ON, No RAM retention, wake on RTC (running from the LFXO clock)</title><link>https://devzone.nordicsemi.com/thread/229042?ContentTypeID=1</link><pubDate>Tue, 14 Jan 2020 13:12:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:09c00af4-93fa-43ab-af80-f0bb4831bd5a</guid><dc:creator>Noah</dc:creator><description>&lt;p&gt;Perfect! Thank you so much Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to set nRF52 DK into sleep mode: System ON, No RAM retention, wake on RTC (running from the LFXO clock)</title><link>https://devzone.nordicsemi.com/thread/229038?ContentTypeID=1</link><pubDate>Tue, 14 Jan 2020 13:03:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1fbbfbb5-60de-4a01-bce7-9c0166ae155d</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Noah&lt;/p&gt;
&lt;p&gt;You&amp;#39;re correct in that &lt;strong&gt;sd_power_system_off()&lt;/strong&gt; sets the device to system OFF mode. &lt;strong&gt;sd_app_evt_wait()&amp;nbsp;&lt;/strong&gt;will set the device into System ON, No RAM retention, Wake on any event in most of the examples in our SDK. We do have the &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/rtc_example.html"&gt;Real-Time Counter Example&lt;/a&gt;&amp;nbsp;which enables the RTC to show you how you control interrupts using the RTC and how to wake from system ON mode using it (System ON, No RAM retention, wake on RTC).&lt;/p&gt;
&lt;p&gt;We also have a &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/ram_retention_example.html"&gt;RAM Retention example&lt;/a&gt; to show how to configure the system for RAM retention and trigger system OFF, but this can easily be made out to go to a system ON sleep mode as well. You can implement whatever parts you&amp;#39;d like from these examples to achieve any of the sleep modes you want.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>