<?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: Wakeup from LLS mode on K60 in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Wakeup-from-LLS-mode-on-K60/m-p/251215#M7101</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Daniel,&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If you are still having problem getting the LLWU source, I believe ARM does a memory clear when waking up from LLS/VLLS, you will need to reserve some memory space by offsetting it in the build section of component inspector for the CPU, and storing the wake up source in that location&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #00d2d2; font-size: 10pt;"&gt;Cpu_OnLLSWakeUpINT&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0080ff; font-size: 10pt;"&gt;void&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0080; font-size: 10pt;"&gt;/* Write your code here ... */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #8000ff; font-size: 10pt;"&gt;LLWU_Source&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; = &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0080ff; font-size: 10pt;"&gt;Cpu_GetLLSWakeUpFlags&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;();&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0080; font-size: 10pt;"&gt;/* release ACKISO */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #7f0055; font-size: 10pt;"&gt;if&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; (&lt;/SPAN&gt;&lt;STRONG style=": ; color: #8000ff; font-size: 10pt;"&gt;PMC_REGSC&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; &amp;amp;&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #8000ff; font-size: 10pt;"&gt;PMC_REGSC_ACKISO_MASK&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;{&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style=": ; color: #8000ff; font-size: 10pt;"&gt;PMC_REGSC&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; |= &lt;/SPAN&gt;&lt;STRONG style=": ; color: #8000ff; font-size: 10pt;"&gt;PMC_REGSC_ACKISO_MASK&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;}&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Jul 2013 22:32:46 GMT</pubDate>
    <dc:creator>Premjee</dc:creator>
    <dc:date>2013-07-05T22:32:46Z</dc:date>
    <item>
      <title>Wakeup from LLS mode on K60</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Wakeup-from-LLS-mode-on-K60/m-p/251212#M7098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have a question about wake up from LLS mode. I read the manual of K60 and it said it can be wake up from LLS using wakeup pin or wakeup module. And I read the demo code uses timer to wake it up. My question is how could I wake up system from LLS using wake up pin such as PTE2, PTE4..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jul 2013 19:36:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Wakeup-from-LLS-mode-on-K60/m-p/251212#M7098</guid>
      <dc:creator>danielchai</dc:creator>
      <dc:date>2013-07-02T19:36:42Z</dc:date>
    </item>
    <item>
      <title>Re: Wakeup from LLS mode on K60</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Wakeup-from-LLS-mode-on-K60/m-p/251213#M7099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here are the general steps you will want to follow to get that to happen:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Make sure the pin you want to use is an LLWU pin listed in the LLWU input table in chapter 3 (it looks like PTE2 and PTE4 are for the K60). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Configure the pin you want to use for a digital function (any digital function should work, but personally, I recommend using the GPIO function). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) Configure the pin in the LLWU pin enable register (it looks like these should be LLWU_P1 and LLWU_P2 respectively).&amp;nbsp; The pin enable registers are LLWU_PEx.&amp;nbsp; Consult the reference manual for which pin is controlled by which register.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4) I would also recommend enabling the LLWU interrupt in the NVIC.&amp;nbsp; You can then check to see which wakeup pin woke you from LLS using the LLWU_Fx registers.&amp;nbsp; Remember to clear the flag before leaving the interrupt routine.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That should be it.&amp;nbsp; :smileyhappy:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Chris &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jul 2013 19:59:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Wakeup-from-LLS-mode-on-K60/m-p/251213#M7099</guid>
      <dc:creator>chris_brown</dc:creator>
      <dc:date>2013-07-02T19:59:50Z</dc:date>
    </item>
    <item>
      <title>Re: Wakeup from LLS mode on K60</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Wakeup-from-LLS-mode-on-K60/m-p/251214#M7100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One more question is that when I configure the pin in LLWU pin enable register, do I have to use &lt;/P&gt;&lt;P&gt;LLWU_PE1 = LLWU_PE1_WUPE0(0x02); // defining PORT E1 as a wakeup source for LLWU&lt;/P&gt;&lt;P&gt;or there is some library function I can call from user level?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jul 2013 20:40:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Wakeup-from-LLS-mode-on-K60/m-p/251214#M7100</guid>
      <dc:creator>danielchai</dc:creator>
      <dc:date>2013-07-02T20:40:19Z</dc:date>
    </item>
    <item>
      <title>Re: Wakeup from LLS mode on K60</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Wakeup-from-LLS-mode-on-K60/m-p/251215#M7101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Daniel,&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If you are still having problem getting the LLWU source, I believe ARM does a memory clear when waking up from LLS/VLLS, you will need to reserve some memory space by offsetting it in the build section of component inspector for the CPU, and storing the wake up source in that location&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #00d2d2; font-size: 10pt;"&gt;Cpu_OnLLSWakeUpINT&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0080ff; font-size: 10pt;"&gt;void&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0080; font-size: 10pt;"&gt;/* Write your code here ... */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #8000ff; font-size: 10pt;"&gt;LLWU_Source&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; = &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0080ff; font-size: 10pt;"&gt;Cpu_GetLLSWakeUpFlags&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;();&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0080; font-size: 10pt;"&gt;/* release ACKISO */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #7f0055; font-size: 10pt;"&gt;if&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; (&lt;/SPAN&gt;&lt;STRONG style=": ; color: #8000ff; font-size: 10pt;"&gt;PMC_REGSC&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; &amp;amp;&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #8000ff; font-size: 10pt;"&gt;PMC_REGSC_ACKISO_MASK&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;{&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style=": ; color: #8000ff; font-size: 10pt;"&gt;PMC_REGSC&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; |= &lt;/SPAN&gt;&lt;STRONG style=": ; color: #8000ff; font-size: 10pt;"&gt;PMC_REGSC_ACKISO_MASK&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;}&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jul 2013 22:32:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Wakeup-from-LLS-mode-on-K60/m-p/251215#M7101</guid>
      <dc:creator>Premjee</dc:creator>
      <dc:date>2013-07-05T22:32:46Z</dc:date>
    </item>
    <item>
      <title>Re: Wakeup from LLS mode on K60</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Wakeup-from-LLS-mode-on-K60/m-p/251216#M7102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi JEEVAN,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Jul 2013 14:10:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Wakeup-from-LLS-mode-on-K60/m-p/251216#M7102</guid>
      <dc:creator>danielchai</dc:creator>
      <dc:date>2013-07-06T14:10:00Z</dc:date>
    </item>
    <item>
      <title>Re: Wakeup from LLS mode on K60</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Wakeup-from-LLS-mode-on-K60/m-p/251217#M7103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Chris's answer is the first place I've seen the NVIC mentioned in the context of the LLWU interrupt.&amp;nbsp; Every other place I've read about this--including multiple Freescale application notes--just say "enable the LLWU interrupt."&amp;nbsp; Since the NVIC is disabled while in LLS (&amp;amp; VLLSx) mode, it is very counter-intuitive to have to enable this ISR in the NVIC!&amp;nbsp; I'd reached the conclusion that this is what the app note comment meant earlier today but it is nice to read this comment that makes me more positive about expecting a positive outcome when I try coding this tomorrow!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;James&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Feb 2015 05:14:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Wakeup-from-LLS-mode-on-K60/m-p/251217#M7103</guid>
      <dc:creator>jvasil</dc:creator>
      <dc:date>2015-02-19T05:14:18Z</dc:date>
    </item>
    <item>
      <title>Re: Wakeup from LLS mode on K60</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Wakeup-from-LLS-mode-on-K60/m-p/251218#M7104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi James&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see &lt;A href="http://www.utasker.com/kinetis/LLWU.html" title="http://www.utasker.com/kinetis/LLWU.html"&gt;http://www.utasker.com/kinetis/LLWU.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The NVIC is needed some "some" of the LLWU modules but not for the LLWU pins.&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;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Kinetis: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.utasker.com/kinetis.html" target="_blank"&gt;http://www.utasker.com/kinetis.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;For the complete "out-of-the-box" Kinetis experience and faster time to market&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Feb 2015 14:47:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Wakeup-from-LLS-mode-on-K60/m-p/251218#M7104</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2015-02-19T14:47:05Z</dc:date>
    </item>
  </channel>
</rss>

