<?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: Low Power Wake-Up in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Low-Power-Wake-Up/m-p/826651#M49944</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;LPTMR can wake up (wakeup reset) system through LLWU. There is an example in SDK package named power_mode_switch. It shows how to recover from VLLSx by LPTMR or IO pin.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Oct 2018 09:18:52 GMT</pubDate>
    <dc:creator>jingpan</dc:creator>
    <dc:date>2018-10-24T09:18:52Z</dc:date>
    <item>
      <title>Low Power Wake-Up</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Low-Power-Wake-Up/m-p/826650#M49943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Greetings,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am currently using the MK22FN256LVH12 microcontroller with KDS v3.2 and Processor Expert.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am looking to put the controller in a lower power mode. I currently am able to put it in a STOP mode in which it will wake up from a LPTMR from the code below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//setup timer&lt;/P&gt;&lt;P&gt;LPTMR_PDD_WriteCompareReg(LPTMR0_DEVICE, 59);&lt;BR /&gt; LPTMR0_CSR &amp;amp;= ~1; //disable timer&lt;BR /&gt; LPTMR_PDD_EnableInterrupt(LPTMR0_DEVICE);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Later in the code I enable it and sleep. This works for DOM_SLEEP which sets it in STOP mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/76170i913C312E97E9A9E3/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I read in the datasheet that when in VLLS1 or VLLSx that it can only be awaken by Wakeup Reset. Can this only done by hardware? There is a function I use which hard resets the controller by firmware. However, I doesnt seem like my LPTMR event is being achieved in this mode (I turn an LED on in the event where the timer overflows, and it never turns on).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/76217i634711BD7FE76B90/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thoughts?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2018 19:34:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Low-Power-Wake-Up/m-p/826650#M49943</guid>
      <dc:creator>burgeh</dc:creator>
      <dc:date>2018-10-23T19:34:22Z</dc:date>
    </item>
    <item>
      <title>Re: Low Power Wake-Up</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Low-Power-Wake-Up/m-p/826651#M49944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;LPTMR can wake up (wakeup reset) system through LLWU. There is an example in SDK package named power_mode_switch. It shows how to recover from VLLSx by LPTMR or IO pin.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Oct 2018 09:18:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Low-Power-Wake-Up/m-p/826651#M49944</guid>
      <dc:creator>jingpan</dc:creator>
      <dc:date>2018-10-24T09:18:52Z</dc:date>
    </item>
    <item>
      <title>Re: Low Power Wake-Up</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Low-Power-Wake-Up/m-p/826652#M49945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/jingpan"&gt;jingpan&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been able to wake up by using these ISR&amp;nbsp; in my events.c file. However, I have not been able to recover unless I issue the Cpu_SystemReset(); function. That is what I at first expected, but from some readings is it necessary?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PE_ISR(Wakeup_Timer)&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt; //HB_LED_ON;&lt;BR /&gt; LPTMR_PDD_ClearInterruptFlag(LPTMR0_DEVICE);&lt;BR /&gt;Cpu_SystemReset(); //Need to reset to wake back up&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;PE_ISR(LLWU_IRQ)&lt;BR /&gt;{&lt;BR /&gt;HB_LED_ON;&lt;BR /&gt; LPTMR_PDD_ClearInterruptFlag(LPTMR0_DEVICE); //call the LPTMR function&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/62752i57CEC4A31680B84A/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2018 17:41:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Low-Power-Wake-Up/m-p/826652#M49945</guid>
      <dc:creator>burgeh</dc:creator>
      <dc:date>2018-11-06T17:41:20Z</dc:date>
    </item>
    <item>
      <title>Re: Low Power Wake-Up</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Low-Power-Wake-Up/m-p/826653#M49946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Wake up from VLLSx do not need Cpu_SystemReset(). It's a wake up reset, not interrupt. In PE Components Library, please&amp;nbsp;add Init_SMC. It set the VLLS control. But I'd rather copy the code in the power_switch demo directly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Nov 2018 06:27:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Low-Power-Wake-Up/m-p/826653#M49946</guid>
      <dc:creator>jingpan</dc:creator>
      <dc:date>2018-11-07T06:27:54Z</dc:date>
    </item>
    <item>
      <title>Re: Low Power Wake-Up</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Low-Power-Wake-Up/m-p/826654#M49947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/jingpan"&gt;jingpan&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you. Do I need to worry about constantly resetting over time? Like how many times can I rewrite registers?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2018 18:51:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Low-Power-Wake-Up/m-p/826654#M49947</guid>
      <dc:creator>burgeh</dc:creator>
      <dc:date>2018-11-09T18:51:07Z</dc:date>
    </item>
    <item>
      <title>Re: Low Power Wake-Up</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Low-Power-Wake-Up/m-p/826655#M49948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Christopher,&lt;/P&gt;&lt;P&gt;No, you do not need to worry about that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Nov 2018 03:29:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Low-Power-Wake-Up/m-p/826655#M49948</guid>
      <dc:creator>jingpan</dc:creator>
      <dc:date>2018-11-12T03:29:27Z</dc:date>
    </item>
  </channel>
</rss>

