<?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>Low Power on nRF5340 SoC with Zephyr &amp;amp; RTC Support</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/103696/low-power-on-nrf5340-soc-with-zephyr-rtc-support</link><description>Hi dears, 
 I&amp;#39;m trying to reduce the power consumption of a custom board with a nRF5340 SoC. The application is a sensor node with an ADC and the BT support to transfer sampled data to a PC (server with BT support). 
 The Environment: - nRFConnect SDK</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 15 Sep 2023 14:30:34 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/103696/low-power-on-nrf5340-soc-with-zephyr-rtc-support" /><item><title>RE: Low Power on nRF5340 SoC with Zephyr &amp; RTC Support</title><link>https://devzone.nordicsemi.com/thread/446321?ContentTypeID=1</link><pubDate>Fri, 15 Sep 2023 14:30:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c938355b-27a0-4d11-96e0-2fe7c16bc556</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;System ON IDLE mode is the default sleep mode that the nRF5340 will be set to when no other threads in the RTOS is running. The current consumption of this mode is specified in the &lt;a href="https://infocenter.nordicsemi.com/pdf/nRF5340_PS_v1.3.pdf"&gt;nRF5340 product specification&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;You can also let&amp;nbsp;&lt;strong&gt;only&amp;nbsp;&lt;/strong&gt;the RTC peripheral run from the external LF crystal to stay in an almost as low sleep mode. When the RTC is the only thread running, it should be almost as low of a current consumption as the system ON IDLE mode.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;We don&amp;#39;t have a specific sample for going into sleep with the RTC, but we do have&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/samples/boards/nrf/system_off/README.html"&gt; this System OFF sample&lt;/a&gt; that disables threads and puts the device into a system OFF mode where it will need to be restarted with a button press.&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><item><title>RE: Low Power on nRF5340 SoC with Zephyr &amp; RTC Support</title><link>https://devzone.nordicsemi.com/thread/445840?ContentTypeID=1</link><pubDate>Wed, 13 Sep 2023 12:25:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fe2e6562-a956-4bec-b236-36052f27615d</guid><dc:creator>0x00</dc:creator><description>&lt;p&gt;Hi Simon.,&lt;/p&gt;
&lt;p&gt;when you talk about IDLE ON what do you refear to?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/616856.main.c"&gt;devzone.nordicsemi.com/.../616856.main.c&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Attached my main.c file in which should be clear the logic.&lt;/p&gt;
&lt;p&gt;To be more precise, I have a 32kHz XTAL on the circuit connected to P0.00/XL1 and P0.01/XL2. and I would to set an alarm (its internal RTC would be the best choice) every hour to wake the board to sample the analog entities, send the datas by BT and come back to sleep (no retention is needed actually).&lt;/p&gt;
&lt;p&gt;It&amp;#39;s not clear to me the way to enter and exit from the IDLE (or Sleep) mode.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;We have some example for the evaluation?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Many Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Low Power on nRF5340 SoC with Zephyr &amp; RTC Support</title><link>https://devzone.nordicsemi.com/thread/445785?ContentTypeID=1</link><pubDate>Wed, 13 Sep 2023 09:20:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8c801ed5-82ef-4790-aa87-193a1203a359</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;In the Zephyr RTOS, the device will by default go into a system ON IDLE mode when no threads are running, so this should not be an issue. If the only thing running in your project is the RTC, that should the nRF5340 should be in low power (system ON) mode by default and just wake up when the RTC is triggered. The PM library should not be required unless you want to go into other power modes than the &amp;quot;default&amp;quot; system ON IDLE mode, so that won&amp;#39;t be necessary in your use case I believe.&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>