<?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：NO RAM，RTX  wake up， Power Management: 4 μA at 3 V ，why？</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/85063/system-on-no-ram-rtx-wake-up-power-management-4-a-at-3-v-why</link><description>nRF5_SDK_17.0.2_d674dde\examples\peripheral\rtc： 
 int main(void) { //leds_config(); 
 lfclk_config(); 
 rtc_config(); //func_ram_power_off(); NRF_POWER-&amp;gt;RAMON |= (POWER_RAMON_OFFRAM0_RAM0Off &amp;lt;&amp;lt; POWER_RAMON_OFFRAM0_Pos) | (POWER_RAMON_OFFRAM1_RAM1Off</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 24 Feb 2022 02:45:13 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/85063/system-on-no-ram-rtx-wake-up-power-management-4-a-at-3-v-why" /><item><title>RE: SYSTEM ON：NO RAM，RTX  wake up， Power Management: 4 μA at 3 V ，why？</title><link>https://devzone.nordicsemi.com/thread/354708?ContentTypeID=1</link><pubDate>Thu, 24 Feb 2022 02:45:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b28082be-ae18-45b8-ae52-8d3d4f51bba8</guid><dc:creator>hmolesworth</dc:creator><description>&lt;p&gt;Turning off all RAM power leaves the stack (which is in RAM) corrupted so the return address will be lost and there will be a hard fault so nothing will work. How fast is the RAM lost (and hence stack corrupted)? Who knows but this is unsafe code. No RTC interrupts will work if there is no stack.&lt;/p&gt;
&lt;p&gt;Solution do not turn off the power to the RAM segment which holds the stack. The &lt;em&gt;.map&lt;/em&gt; file will show the stack location.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SYSTEM ON：NO RAM，RTX  wake up， Power Management: 4 μA at 3 V ，why？</title><link>https://devzone.nordicsemi.com/thread/354703?ContentTypeID=1</link><pubDate>Thu, 24 Feb 2022 01:38:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2d87c43d-dbf0-46fe-8c04-b3322bc6c05a</guid><dc:creator>826896167</dc:creator><description>&lt;p&gt;thanks you&amp;nbsp;&lt;span&gt;J&amp;oslash;rgen，now the code is this：but the RTC&amp;nbsp; cannot wake up，led do not glint。the system is not work。why？thansk you。&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;void func_ram_power_off(void)&lt;br /&gt;{&lt;/p&gt;
&lt;p&gt;NRF_POWER-&amp;gt;RAM[0].POWER = 0x01;&lt;br /&gt; NRF_POWER-&amp;gt;RAM[1].POWER = 0x01;&lt;br /&gt; NRF_POWER-&amp;gt;RAM[2].POWER = 0x01;&lt;br /&gt; NRF_POWER-&amp;gt;RAM[3].POWER = 0x01;&lt;br /&gt; NRF_POWER-&amp;gt;RAM[4].POWER = 0x01;&lt;br /&gt; NRF_POWER-&amp;gt;RAM[5].POWER = 0x01;&lt;br /&gt; NRF_POWER-&amp;gt;RAM[6].POWER = 0x01;&lt;br /&gt; NRF_POWER-&amp;gt;RAM[7].POWER = 0x01;&lt;br /&gt; &lt;br /&gt;}&lt;/p&gt;
&lt;p&gt;/**&lt;br /&gt; * @brief Function for application main entry.&lt;br /&gt; */&lt;br /&gt;int main(void)&lt;br /&gt;{&lt;br /&gt; leds_config();&lt;br /&gt; lfclk_config();&lt;br /&gt; rtc_config();&lt;br /&gt; &lt;br /&gt; func_ram_power_off();&lt;br /&gt; __DSB();&lt;br /&gt; __NOP();&lt;br /&gt; &lt;br /&gt; while (true)&lt;br /&gt; {&lt;br /&gt; __WFE();&lt;br /&gt; &lt;br /&gt; }&lt;br /&gt;}&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SYSTEM ON：NO RAM，RTX  wake up， Power Management: 4 μA at 3 V ，why？</title><link>https://devzone.nordicsemi.com/thread/354687?ContentTypeID=1</link><pubDate>Wed, 23 Feb 2022 19:26:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8968668a-c16a-48e0-a825-5d86ef96be09</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The&amp;nbsp;&lt;span&gt;RAMON&amp;nbsp;register is deprecated in nRF52, you should not use it. Instead, you should use the&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/power.html?cp=4_2_0_17_8_11#register.RAM-0.POWER"&gt;RAM[n].POWER&lt;/a&gt;&amp;nbsp;registers.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;It seems that the max current in your measurement is over 5 mA, which indicates to me that the CPU or radio have been running during the period. If 4uA is the average current including wakeup event, it does not seem too high. Have you tried measuring the base idle current only?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;br /&gt;Jørgen&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>