<?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>Kinetis Microcontrollers中的主题 Recovery from a VLLS state</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Recovery-from-a-VLLS-state/m-p/661365#M40607</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am looking for a reliable way to know at the wake-up, which VLLS state the MCU was in?&lt;/P&gt;&lt;P&gt;I am selectively going to set the MCU to VLLS0 and VLLS3. At wake up, I need to know which VLLS mode is the MCU recovering from.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some API reference will be much helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Jan 2017 16:12:53 GMT</pubDate>
    <dc:creator>gauravbanyal</dc:creator>
    <dc:date>2017-01-04T16:12:53Z</dc:date>
    <item>
      <title>Recovery from a VLLS state</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Recovery-from-a-VLLS-state/m-p/661365#M40607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am looking for a reliable way to know at the wake-up, which VLLS state the MCU was in?&lt;/P&gt;&lt;P&gt;I am selectively going to set the MCU to VLLS0 and VLLS3. At wake up, I need to know which VLLS mode is the MCU recovering from.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some API reference will be much helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jan 2017 16:12:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Recovery-from-a-VLLS-state/m-p/661365#M40607</guid>
      <dc:creator>gauravbanyal</dc:creator>
      <dc:date>2017-01-04T16:12:53Z</dc:date>
    </item>
    <item>
      <title>Re: Recovery from a VLLS state</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Recovery-from-a-VLLS-state/m-p/661366#M40608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Guarav,&lt;/P&gt;&lt;P&gt;The settings in the SMC register are retained through all VLLSx recovery resets.&amp;nbsp;The settings in the control fields that you chose before entering VLLS0 or VLLS3 are unchanged and can be used during reset recovery to determine the entry state.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For the latest Kinetis K82, as an example, if&amp;nbsp;the RCM_SRS0_WAKEUP bit is set then check the SMC_STOPCTRL_LLSM value.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also you should put a trap just after the WFI to check the STOPA bit SMC_PMCTRL register to see if the low power mode entry was aborted due to a pending interrupt.&amp;nbsp;&lt;/P&gt;&lt;P&gt;All this is covered in detail in the Application Note AN4503.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: TimesLTStd-Roman; font-size: large;"&gt;See &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: TimesLTStd-Roman; font-size: large;"&gt;AN4503: Power Management for Kinetis MCUs &lt;/SPAN&gt;&lt;SPAN style="font-family: TimesLTStd-Roman; font-size: large;"&gt;for further details &lt;A href="http://cache.freescale.com/files/32bit/doc/app_note/AN4503.pdf"&gt;http://cache.freescale.com/files/32bit/doc/app_note/AN4503.pdf&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: TimesLTStd-Roman; font-size: large;"&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: TimesLTStd-Roman; font-size: large;"&gt;Philip&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jan 2017 16:40:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Recovery-from-a-VLLS-state/m-p/661366#M40608</guid>
      <dc:creator>philip_drake</dc:creator>
      <dc:date>2017-01-04T16:40:20Z</dc:date>
    </item>
  </channel>
</rss>

