<?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 Re: Recovery from VLLS0 in KW21Z in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Recovery-from-VLLS0-in-KW21Z/m-p/646257#M39211</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LLUW pins only work if their peripheral function is set to GPIO (there are some pins that don't default to this).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Therefore it is probably that when you set GPIOs as outputs you are also changing the LLWU pin's peripheral function to GPIO, which would then allow it to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Therefore (without configuring the other GPIO outputs) try configuring the pin's&lt;/P&gt;&lt;P&gt;PORTn_PCRx register to ensure that it is correctly set to GPIO mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Jan 2017 16:39:17 GMT</pubDate>
    <dc:creator>mjbcswitzerland</dc:creator>
    <dc:date>2017-01-26T16:39:17Z</dc:date>
    <item>
      <title>Recovery from VLLS0 in KW21Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Recovery-from-VLLS0-in-KW21Z/m-p/646256#M39210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a problem about recovery from VLLS0(Very Low Leakage Stop0) in KW21Z. Only when I configured GPIOs except for wake up pin as output ports before entering VLLS0, MCU&amp;nbsp;can't recover from VLLS0 by wake up pin.&amp;nbsp;In the case of configuring GPIOs as output ports, it is successful when adding GPIOs configuration before clearing&amp;nbsp;ACKISO after recovery. But, RCM_SRS0(System Reset Status Register 0) register value was&amp;nbsp;0x00 not 0x01(WAKEUP bit is one).&amp;nbsp;I have no idea that how can I get one value(&lt;SPAN&gt;WAKEUP bit&lt;/SPAN&gt;) when I configure GPIOs as output. Do you have any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Best Regards,&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jan 2017 02:20:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Recovery-from-VLLS0-in-KW21Z/m-p/646256#M39210</guid>
      <dc:creator>tomofumiyasuda</dc:creator>
      <dc:date>2017-01-26T02:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: Recovery from VLLS0 in KW21Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Recovery-from-VLLS0-in-KW21Z/m-p/646257#M39211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LLUW pins only work if their peripheral function is set to GPIO (there are some pins that don't default to this).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Therefore it is probably that when you set GPIOs as outputs you are also changing the LLWU pin's peripheral function to GPIO, which would then allow it to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Therefore (without configuring the other GPIO outputs) try configuring the pin's&lt;/P&gt;&lt;P&gt;PORTn_PCRx register to ensure that it is correctly set to GPIO mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jan 2017 16:39:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Recovery-from-VLLS0-in-KW21Z/m-p/646257#M39211</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2017-01-26T16:39:17Z</dc:date>
    </item>
    <item>
      <title>Re: Recovery from VLLS0 in KW21Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Recovery-from-VLLS0-in-KW21Z/m-p/646258#M39212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mark,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your response. LLWU pin which I want to use is configured as GPIO(PTC4/LLWU_P12) before entering VLLS0. However, in the case of GPIOs except for LLWU_P12 is output port not default it doesn't work &lt;SPAN&gt;properly&lt;/SPAN&gt;. Is there any order to work? I describe my software order below. If I write ports setting before &amp;nbsp;"(1)&lt;SPAN&gt;Clear&amp;nbsp;ACKISO bit", it work properly.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Brfore VLLS0 mode:&lt;/P&gt;&lt;P&gt;(1)Set ports&amp;nbsp;&lt;SPAN&gt;except for&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN&gt;PTC4 &lt;/SPAN&gt;as&amp;nbsp;&lt;SPAN&gt;GPIOs(output low)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;(2)Set PTC4 as&amp;nbsp;&lt;SPAN&gt;GPIOs(input) and&amp;nbsp;as ISF flag and Interrupt on falling-edge&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;(3)Set LLWU_PE4 register and LLWU interrupt&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;(4)Set register for VLLS0 mode&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;After VLLS0 mode:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;(1)Clear&amp;nbsp;ACKISO bit&lt;/P&gt;&lt;P&gt;(2)Set peripheral register I use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Best Regards,&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2017 04:00:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Recovery-from-VLLS0-in-KW21Z/m-p/646258#M39212</guid>
      <dc:creator>tomofumiyasuda</dc:creator>
      <dc:date>2017-01-27T04:00:16Z</dc:date>
    </item>
    <item>
      <title>Re: Recovery from VLLS0 in KW21Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Recovery-from-VLLS0-in-KW21Z/m-p/646259#M39213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi tomofumiyasuda&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check the following DOCs:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://www.nxp.com/assets/documents/data/en/application-notes/AN4503.pdf" title="http://www.nxp.com/assets/documents/data/en/application-notes/AN4503.pdf"&gt;http://www.nxp.com/assets/documents/data/en/application-notes/AN4503.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developer.mbed.org/media/uploads/GregC/an4470-using_low-power_modes_with_kinetis_mcus.pdf" title="https://developer.mbed.org/media/uploads/GregC/an4470-using_low-power_modes_with_kinetis_mcus.pdf"&gt;https://developer.mbed.org/media/uploads/GregC/an4470-using_low-power_modes_with_kinetis_mcus.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the section: &lt;EM&gt;Power Mode Exit Transition, &lt;/EM&gt;they describe correct method to exit from Low power modes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this information helps you&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jorge Alcala&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Feb 2017 00:29:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Recovery-from-VLLS0-in-KW21Z/m-p/646259#M39213</guid>
      <dc:creator>jorge_a_vazquez</dc:creator>
      <dc:date>2017-02-13T00:29:01Z</dc:date>
    </item>
  </channel>
</rss>

