<?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 Mode</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/68702/low-power-mode</link><description>Hi, I am using nrf52840 as periphiral. How can I enable low power mode to save battery? Thanks!</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 24 Nov 2020 12:10:28 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/68702/low-power-mode" /><item><title>RE: Low Power Mode</title><link>https://devzone.nordicsemi.com/thread/281535?ContentTypeID=1</link><pubDate>Tue, 24 Nov 2020 12:10:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b4f450db-7edc-4395-9fe7-badab5f67ca7</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Thanks for the answer,&amp;nbsp;Sudharsan. I would also recommend that you read through this blog post by Jeff here: &lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/optimizing-power-on-nrf52-designs"&gt;https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/optimizing-power-on-nrf52-designs.&lt;/a&gt; I provides some general guidelines on how you can power optimize you design&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Low Power Mode</title><link>https://devzone.nordicsemi.com/thread/281528?ContentTypeID=1</link><pubDate>Tue, 24 Nov 2020 11:57:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aaeecba2-c5d0-4977-a452-63e818caac18</guid><dc:creator>sudharsan</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;There are two types of low power modes.&lt;/p&gt;
&lt;p&gt;1. System on sleep&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;This can be achieved by calling the following functions&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /* Wait for an event */&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; __WFE();&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /* Clear the event register */&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;__SEV();&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;__WFE();&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;2. System off sleep&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;nrf_power_system_off(); -- You can call this, when there is no presence of soft-device in your code.&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;sd_power_system_off();&amp;nbsp; -- This would be the system off sleep when there is presence of softdevice.&lt;/p&gt;
&lt;p&gt;To call these two functions, you have to add nrf_pwr_mgmt.c file and also power management module has to be enabled in sdk_config.h&lt;/p&gt;
&lt;p&gt;Please do remember, In system off sleep mode, RTC also won&amp;#39;t work. To wake up the system, it is required to do any interrupts using peripherals. My suggestion is to un-initialize all the peripherals and timers then reduce the debug prints and also stop advertising and scanning if BLE module is there.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Sudharsan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>