<?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>nRF52840 System OFF RAM power consumption</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/55615/nrf52840-system-off-ram-power-consumption</link><description>SDK15.3 
 SES 
 nRF52840 
 
 
 Hello Folks, 
 I&amp;#39;m trying to reduce my applications power consumption further in system off mode. For testing my IO configuration and System OFF, I&amp;#39;ve reduced the application to just the GPIO initialization and going to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 30 Jan 2020 08:06:25 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/55615/nrf52840-system-off-ram-power-consumption" /><item><title>RE: nRF52840 System OFF RAM power consumption</title><link>https://devzone.nordicsemi.com/thread/231792?ContentTypeID=1</link><pubDate>Thu, 30 Jan 2020 08:06:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:13de7d13-6b81-4b02-a29f-f572cf9a9e2b</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Hi.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Sorry about the late reply here.&amp;nbsp;I took over this ticket from Bjørn when he was out of office.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;__________&lt;/p&gt;
&lt;p&gt;You can find more information on how to configure the memory settings in SES in this blog-post:&amp;nbsp;&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/nordic/short-range-guides/b/getting-started/posts/adjustment-of-ram-and-flash-memory"&gt;https://devzone.nordicsemi.com/nordic/short-range-guides/b/getting-started/posts/adjustment-of-ram-and-flash-memory&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you are using a softdevice you can use the SD API after initializing the SD to&amp;nbsp;power down unused&amp;nbsp;RAM sections (ref. &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s140.api.v7.0.1/group___n_r_f___s_o_c___f_u_n_c_t_i_o_n_s.html#ga694eedb9b5b5b4a775689c71ce07f45a"&gt;&lt;span&gt;sd_power_ram_power_clr&lt;/span&gt;&lt;/a&gt;). If you don&amp;#39;t want to use the SD API you should&amp;nbsp;use&amp;nbsp;&lt;span&gt;RAM[n].POWERCLR before initializing the SD, due to a&amp;nbsp;protection mechanism in the SD. (&lt;a title="RAM power control" href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/power.html?cp=4_0_0_4_2_4#ram_sections"&gt;RAM power control&lt;/a&gt;)&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If you take a look at this previous ticket:&amp;nbsp;&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/39396/nrf52840-ram-retention-in-system-on-mode/"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/39396/nrf52840-ram-retention-in-system-on-mode/&lt;/a&gt;&amp;nbsp;&lt;br /&gt;You can find an example to how this can be done.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&amp;nbsp;&lt;br /&gt;Joakim&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 System OFF RAM power consumption</title><link>https://devzone.nordicsemi.com/thread/226387?ContentTypeID=1</link><pubDate>Thu, 19 Dec 2019 13:30:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:383abbdf-256a-46fb-bc51-81819d64c39a</guid><dc:creator>Radiohead</dc:creator><description>&lt;p&gt;Hello Bjorn,&lt;/p&gt;
&lt;p&gt;The few test I did showed that the power consumption was reduced when I disabled the RAM with the POWERSET registers before entering SystemOFF. I&amp;#39;ll do this again to see if I didn&amp;#39;t make any mistake while measuring the current consumption.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;However, the RAM blocks should by default be switched of and not retained in System OFF.  &lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;It would be strange if SystemOFF disabled the RAM by default as this would prevent a developer from retaining the RAM if the application required it.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m currently more interested in the active power consumption reduction. Segger Studio shows only 30% of the RAM being used. So I want to try to disable around 50% of the RAM when my application is active where I&amp;#39;ll use SystemON to sleep during short periods of inactivity. Is there somewhere more information about this? In particulair the following topics:&lt;/p&gt;
&lt;p&gt;- How to configure the SES project to only use the active RAM blocks?&lt;/p&gt;
&lt;p&gt;- I guess I&amp;#39;ll need to disable the RAM blocks after initializing the soft device?&lt;/p&gt;
&lt;p&gt;- Does this have any consequences for my bootloader? I guess I&amp;#39;ll need to set the same RAM parameters as in my application.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 System OFF RAM power consumption</title><link>https://devzone.nordicsemi.com/thread/225634?ContentTypeID=1</link><pubDate>Mon, 16 Dec 2019 12:58:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f3d67d57-f89b-4b7e-832e-9aa4e05f0914</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Hi Radiohead,&lt;/p&gt;
&lt;p&gt;note that the measurements of the Power Profiler might be&amp;nbsp; off by 15 to 20% and that the&amp;nbsp;&lt;span&gt;0.4uA&amp;nbsp;figure is a typical value and one should expect chip-to-chip variations. Yo uare doing the measurements on a custom board with the nRF52840 right?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote user=""]- My application needs to wake-up from two gpio events; a reed-switch and a tilt sensor. Is it possible to reduce the power consumption further? I think I&amp;#39;ve correctly disabled the RAM retention for System Off. But I doubt that without the hardware on my board the nRF52840 is actually drawing 0.4uA as specified in the product specification.[/quote]
&lt;p&gt;SystemOFF is the lowest power state the NRF52840 can enter. If you want to clear the RAM Power registers then you should use&amp;nbsp; RAM[n].POWERCLR. However, the RAM blocks should by default be switched of and not retained in System OFF.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
[quote user=""]- On wake-up do I need to set the POWERSET registers back to default or are there contents not retained during the reset?[/quote]
&lt;p&gt;&amp;nbsp;Yes, after a reset the registers will be set to their default/reset value listed in the product specification.&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Bjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>