<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic SRAM Data Retention during VLLS3 Power Mode in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/SRAM-Data-Retention-during-VLLS3-Power-Mode/m-p/912365#M53480</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; I am using&amp;nbsp;MKW40Z160 controller in my project. The controller will&amp;nbsp; initially do all the configurations and it will go into Sleep mode ( VLLS3), Upon button press it will wake from sleep mode and if no other intervention seems to happen within 5 sec it will again go into sleep mode.&amp;nbsp;we will be logging those button press which are meant to wake the controller from sleep mode. I am facing with an issue in logging this count as it doesn't seems to incrementing(i.e,we checked the memory location using IAR Workbench Memory live update, in that the variable will&amp;nbsp; increment once the button is pressed, and once the controller goes to sleep the variable again resets to zero (i.e, the SRAM segment data retention doesn't happen for this updation).&amp;nbsp;we placed the variable&amp;nbsp; 'X' in the address location "0x1ffff75a", the type of variable is static unit8_t. Similarly we have another variable 'Y'&amp;nbsp; placed at location&amp;nbsp; "0x1ffff65c" , the type is&amp;nbsp;&lt;SPAN&gt;unit32_t, no issue with that variable updation, it seems to be working fine. The Updation issue happens only while the system&amp;nbsp;comes from sleep to wake mode(&lt;SPAN style="text-decoration: underline;"&gt;upon button press&lt;/SPAN&gt;), once it is in wake mode, then the updation sequence are proper.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 13 Oct 2019 11:42:51 GMT</pubDate>
    <dc:creator>iamsaranvs</dc:creator>
    <dc:date>2019-10-13T11:42:51Z</dc:date>
    <item>
      <title>SRAM Data Retention during VLLS3 Power Mode</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/SRAM-Data-Retention-during-VLLS3-Power-Mode/m-p/912365#M53480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; I am using&amp;nbsp;MKW40Z160 controller in my project. The controller will&amp;nbsp; initially do all the configurations and it will go into Sleep mode ( VLLS3), Upon button press it will wake from sleep mode and if no other intervention seems to happen within 5 sec it will again go into sleep mode.&amp;nbsp;we will be logging those button press which are meant to wake the controller from sleep mode. I am facing with an issue in logging this count as it doesn't seems to incrementing(i.e,we checked the memory location using IAR Workbench Memory live update, in that the variable will&amp;nbsp; increment once the button is pressed, and once the controller goes to sleep the variable again resets to zero (i.e, the SRAM segment data retention doesn't happen for this updation).&amp;nbsp;we placed the variable&amp;nbsp; 'X' in the address location "0x1ffff75a", the type of variable is static unit8_t. Similarly we have another variable 'Y'&amp;nbsp; placed at location&amp;nbsp; "0x1ffff65c" , the type is&amp;nbsp;&lt;SPAN&gt;unit32_t, no issue with that variable updation, it seems to be working fine. The Updation issue happens only while the system&amp;nbsp;comes from sleep to wake mode(&lt;SPAN style="text-decoration: underline;"&gt;upon button press&lt;/SPAN&gt;), once it is in wake mode, then the updation sequence are proper.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Oct 2019 11:42:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/SRAM-Data-Retention-during-VLLS3-Power-Mode/m-p/912365#M53480</guid>
      <dc:creator>iamsaranvs</dc:creator>
      <dc:date>2019-10-13T11:42:51Z</dc:date>
    </item>
    <item>
      <title>Re: SRAM Data Retention during VLLS2 Power Mode</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/SRAM-Data-Retention-during-VLLS3-Power-Mode/m-p/912366#M53481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Saran, I hope you're doing well!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please verify that you are entering VLLS2 and not another VLLSx power mode instead?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To enter VLLS2 mode, the LLSM bits of the SMC_STOPCTRL register should be set to '010', and the STOPM bits in the SMC_PMCTRL should be set to '100'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know of your findings.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For more information, could you please take a look at the KW40Z's reference manual, chapter 12, &lt;A href="https://www.nxp.com/docs/en/reference-manual/MKW40Z160RM.pdf"&gt;here&lt;/A&gt;?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Sebastian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Oct 2019 16:10:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/SRAM-Data-Retention-during-VLLS3-Power-Mode/m-p/912366#M53481</guid>
      <dc:creator>Sebastian_Del_Rio</dc:creator>
      <dc:date>2019-10-21T16:10:49Z</dc:date>
    </item>
  </channel>
</rss>

