<?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>Wake up System on</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/103997/wake-up-system-on</link><description>I have a system on sleep problem on my nrf52833. The SDK I&amp;#39;m using is v2.4.0 This is my code /* * Copyright (c) 2012-2014 Wind River Systems, Inc. * * SPDX-License-Identifier: Apache-2.0 */ 
 #include &amp;lt;zephyr/kernel.h&amp;gt; #include &amp;lt;zephyr/pm/state.h&amp;gt; #include</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 25 Sep 2023 03:51:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/103997/wake-up-system-on" /><item><title>RE: Wake up System on</title><link>https://devzone.nordicsemi.com/thread/447331?ContentTypeID=1</link><pubDate>Mon, 25 Sep 2023 03:51:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:44e7dce2-246b-432d-b7a0-593a18728b2a</guid><dc:creator>thang47</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you for your question.&amp;nbsp;I&amp;#39;ve revised my sleep section to:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;__WFE();&lt;br /&gt;__SEV(); &lt;br /&gt;__WFE();&lt;br /&gt;__SEV(); &lt;br /&gt;__WFE();&lt;br /&gt;__SEV(); &lt;br /&gt;__WFE();&lt;/p&gt;
&lt;p&gt;The system no longer wakes up on its own&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Wake up System on</title><link>https://devzone.nordicsemi.com/thread/447067?ContentTypeID=1</link><pubDate>Thu, 21 Sep 2023 12:11:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4a334172-f4c4-4eab-b077-6ef90d099cd0</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;The __WFE()/__WFI() instruction should not be called from the app, instead you should let your program&amp;nbsp;run&amp;nbsp;the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.4.2/zephyr/kernel/services/threads/system_threads.html#system-threads"&gt;idle thread&lt;/a&gt; when there is no work to do. For instance, by calling&amp;nbsp;&lt;span&gt;k_sleep() or by exiting&amp;nbsp;your current thread.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;In your case, the system is probably being woken up by the low power RTC timer used by the scheduler (the RTC is configured to trigger a timeout interruption after a few minutes).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>