<?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>Achieving lowest possible sleep current on nRF52840</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/112108/achieving-lowest-possible-sleep-current-on-nrf52840</link><description>We designed a board based on the nRF52840, and are using nrf5 SDK 17.1.0 with S140 SoftDevice. The board has an RTC, LSM6DSO as IMU, an opamp front end for the analog inputs and an EEPROM (QSPI serial). The board is powered by 1.8V using circuit 5 here</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 18 Jun 2024 16:55:56 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/112108/achieving-lowest-possible-sleep-current-on-nrf52840" /><item><title>RE: Achieving lowest possible sleep current on nRF52840</title><link>https://devzone.nordicsemi.com/thread/489369?ContentTypeID=1</link><pubDate>Tue, 18 Jun 2024 16:55:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:43f082a6-cbe6-4b8d-8e48-e4568ab905a2</guid><dc:creator>robca</dc:creator><description>&lt;p&gt;This is exactly what I needed, thanks. I&amp;#39;ll do a couple of tests to ensure I can hit the expected power, on sleep, then close this issue&lt;/p&gt;
&lt;p&gt;Thanks again for the help&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;EDIT&lt;/strong&gt;: yes, everything works as expected after manually disabling every peripherals and setting all used pins as GPIO default&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Achieving lowest possible sleep current on nRF52840</title><link>https://devzone.nordicsemi.com/thread/489327?ContentTypeID=1</link><pubDate>Tue, 18 Jun 2024 13:28:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f465699a-3846-47e8-a0c6-d5bfcfd68b83</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;In system OFF mode, RAM retention will be off by default, and you only need to enable it if needed. We have an example project for RAM retention in the nRF5 SDK available here:&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/ram_retention_example.html"&gt;https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/ram_retention_example.html&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The clocks will be handled &amp;quot;automagically&amp;quot;, so if no peripherals are polling the HF clock for instance, it will be turned off and thus no longer running. system OFF will also turn off these clocks.&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: Achieving lowest possible sleep current on nRF52840</title><link>https://devzone.nordicsemi.com/thread/489154?ContentTypeID=1</link><pubDate>Mon, 17 Jun 2024 18:19:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:77105c2f-d66f-4499-a907-2128ff4c2964</guid><dc:creator>robca</dc:creator><description>&lt;p&gt;That&amp;#39;s what I thought, thanks for you answer. I&amp;#39;ll check how to programmatically determine if a peripheral is initialized.&lt;/p&gt;
&lt;p&gt;Can you please help me figure out how to turn off RAM retention for all blocks using the nRF5 SDK? I must be reading the documentation wrong, as what I tried seems to make no difference.&lt;/p&gt;
&lt;p&gt;Lastly, should I turn off any of the clocks before calling&amp;nbsp;&lt;strong&gt;sd_power_system_off?&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Achieving lowest possible sleep current on nRF52840</title><link>https://devzone.nordicsemi.com/thread/489081?ContentTypeID=1</link><pubDate>Mon, 17 Jun 2024 11:35:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2f2fe9f4-4909-404f-aff8-f7289995e9f0</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;sd_power_system_off&lt;/strong&gt; does&amp;nbsp;&lt;strong&gt;not&lt;/strong&gt;&amp;nbsp;uninitialize the so if I.E. the QSPI isn&amp;#39;t uninitialized it might be that the external flash for example is left running, which could be what you&amp;#39;re seeing here. I would recommend checking if any of the pins from the nRF52 is drawing this excess current with a multimeter or scope as a first step. Only by reading the registers you can see what the different peripherals are set to. I would recommend that you do uninit the peripherals used before or as part of your &amp;quot;going to sleep&amp;quot; function.&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>