<?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>System ON Sleep Mode</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/122424/system-on-sleep-mode</link><description>Hi, 
 I&amp;#39;m using zephyr RTOS. 
 I&amp;#39;d like to put the cpu System ON Sleep Mode to conserve power. 
 Then, I&amp;#39;d like to restart the CPU with an interrupt or event from the comparator. 
 Can you please recommend a way to do that? 
 Thanks,</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 25 Aug 2025 19:47:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/122424/system-on-sleep-mode" /><item><title>RE: System ON Sleep Mode</title><link>https://devzone.nordicsemi.com/thread/546671?ContentTypeID=1</link><pubDate>Mon, 25 Aug 2025 19:47:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4ce46d1a-d9a9-44bb-9a04-1b3fe8aefbcb</guid><dc:creator>Jim Logsdon</dc:creator><description>&lt;p&gt;please close this ticket&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: System ON Sleep Mode</title><link>https://devzone.nordicsemi.com/thread/540424?ContentTypeID=1</link><pubDate>Wed, 25 Jun 2025 07:33:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3fe44ee7-21bf-4fdb-8793-f0499fe0010f</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;There are no samples for the Zephyr comparator API with nRF52810. But I cannot see why it should not be possible to use it. You will have to add support for it in the devicetree though, in the same way as it is done for nRRF54 boards in &lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/3d06977ef3a03ac917b527df25854f6111dba52c/tests/boards/nrf/comp"&gt;this test&lt;/a&gt;. An alternative is to use the nrfx driver ad demonstrated &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/78257/using-nrf_connect-zephyr-with-the-comparator-interrupt/323577"&gt;here&lt;/a&gt;&amp;nbsp;(not up to date, but this has not changed much).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: System ON Sleep Mode</title><link>https://devzone.nordicsemi.com/thread/540394?ContentTypeID=1</link><pubDate>Tue, 24 Jun 2025 19:28:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dbe53179-efee-43fd-85bc-8e44814eb495</guid><dc:creator>Jim Logsdon</dc:creator><description>&lt;p&gt;Thank you.&lt;/p&gt;
&lt;p&gt;Does Zephyr&amp;#39;s Comparator API work with the nRF52810?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: System ON Sleep Mode</title><link>https://devzone.nordicsemi.com/thread/540161?ContentTypeID=1</link><pubDate>Mon, 23 Jun 2025 09:07:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a6e149c1-7563-4192-a983-9492bc35cf3d</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Zephyr will automatically put the CPU to sleep from the idle thread when no threads have work to do. Then, the system wakes up on interrupt (either from a systmer timer or other interrupt soruce), process that, and when all interrupts are handled and no tasks have work to do, they go back to sleep. You do not need to take any particular action for this. If this is new to you, I recommend &lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-fundamentals/"&gt;nRF Connect SDK Fundamentals&lt;/a&gt; (paritulcarily &lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-fundamentals/lessons/lesson-7-multithreaded-applications/"&gt;module 7&lt;/a&gt; where this is covered).&lt;/p&gt;
&lt;p&gt;However, some peripherals may cause high current consumption when enabled, so it makes sense to disable pweripherals when not needed. This is supported by the &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/zephyr/services/pm/device.html"&gt;Device Power Management&lt;/a&gt; feature in Zephyr.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>