<?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中的主题 Re: KL14 wake up from VLLS3</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL14-wake-up-from-VLLS3/m-p/245632#M6458</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I solved by configuring filtered llwu pin and by using register LLWU_FILT1 to monitor the wakeup source.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Oct 2013 15:05:57 GMT</pubDate>
    <dc:creator>ulivinico</dc:creator>
    <dc:date>2013-10-01T15:05:57Z</dc:date>
    <item>
      <title>KL14 wake up from VLLS3</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL14-wake-up-from-VLLS3/m-p/245628#M6454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I'm developing an application with KL14. I was able to enter VLLS3 mode and exit from it by using a button connected to a LLWU input, starting from examples given in code zipped in &lt;EM&gt;&lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=FRDM-KL25Z&amp;amp;fpsp=1&amp;amp;tab=Design_Tools_Tab"&gt;KL25_SC.exe&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Now I need to exit the VLLS3 mode by using a CMP input, when an external input voltage goes below a certain level: is there any given example code to start from?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Sep 2013 14:45:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL14-wake-up-from-VLLS3/m-p/245628#M6454</guid>
      <dc:creator>ulivinico</dc:creator>
      <dc:date>2013-09-23T14:45:52Z</dc:date>
    </item>
    <item>
      <title>Re: KL14 wake up from VLLS3</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL14-wake-up-from-VLLS3/m-p/245629#M6455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ulivinico,&lt;/P&gt;&lt;P&gt;I don't think it have any example codes about use CMP to wake up the VLLS3 which is provided by Freescale. Attached is Kinetis L Peripheral Module Quick Reference which include LLWU configuration examples and hope it will help to design.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ping&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Sep 2013 02:09:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL14-wake-up-from-VLLS3/m-p/245629#M6455</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2013-09-24T02:09:18Z</dc:date>
    </item>
    <item>
      <title>Re: KL14 wake up from VLLS3</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL14-wake-up-from-VLLS3/m-p/245630#M6456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Currently, there are no given example code to exit the VLLS3 mode by using a CMP input. But it is not difficult to find that in low_power_demo example there is a cmp.c , you can refer to case 3 in&amp;nbsp; low_power_ demo example (it use the LPTMR as the wake up source)to write the code.&lt;/P&gt;&lt;P&gt;When you use the cmp.c, some point you need to pay attention in your main.c:&lt;/P&gt;&lt;P&gt;1,set the CMP as the wake up source&lt;/P&gt;&lt;P&gt;llwu_configure(0x0000, LLWU_PIN_FALLING, 0x2);&lt;/P&gt;&lt;P&gt;2, open cmp clock&lt;/P&gt;&lt;P&gt;SIM_SCGC4 |= (SIM_SCGC4_CMP_MASK );&lt;/P&gt;&lt;P&gt;3,enable CMP interrupt&lt;/P&gt;&lt;P&gt;NVIC_EnableIRQ(CMP0_IRQn);&lt;/P&gt;&lt;P&gt;4,initial CMP&lt;/P&gt;&lt;P&gt;cmp_init (0x18);&lt;/P&gt;&lt;P&gt;you can refer the low_power_ demo example to write your own code.&lt;/P&gt;&lt;P&gt;I wish it helps you!&lt;/P&gt;&lt;P&gt;Best regards!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Sep 2013 09:32:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL14-wake-up-from-VLLS3/m-p/245630#M6456</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2013-09-24T09:32:46Z</dc:date>
    </item>
    <item>
      <title>Re: KL14 wake up from VLLS3</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL14-wake-up-from-VLLS3/m-p/245631#M6457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you. It works fine. Now I'm trying to understand how to recognize which source causes the wakeup. In my case the internal module#2 - CMP0 or the external pin LLWU5.&lt;/P&gt;&lt;P&gt;After reset, reading the register RCM_SRS0 doesn't help since both CMP and llwu causes to set the same bit WAKEUP.&lt;/P&gt;&lt;P&gt;Which bit and wich register allows to distinguish between the two reset sources?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Oct 2013 12:40:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL14-wake-up-from-VLLS3/m-p/245631#M6457</guid>
      <dc:creator>ulivinico</dc:creator>
      <dc:date>2013-10-01T12:40:34Z</dc:date>
    </item>
    <item>
      <title>Re: KL14 wake up from VLLS3</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL14-wake-up-from-VLLS3/m-p/245632#M6458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I solved by configuring filtered llwu pin and by using register LLWU_FILT1 to monitor the wakeup source.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Oct 2013 15:05:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL14-wake-up-from-VLLS3/m-p/245632#M6458</guid>
      <dc:creator>ulivinico</dc:creator>
      <dc:date>2013-10-01T15:05:57Z</dc:date>
    </item>
  </channel>
</rss>

