<?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 Low power mode in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Low-power-mode/m-p/468618#M28296</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am new to Code Warrior and Processor Expert.&amp;nbsp; I need to setup the MKL36Z256VLL4 chip to go into low power but wake up every 200 milliseconds so that I can check status and perform any requested functions.&amp;nbsp; The product does not have an operating system but just a loop to scan through tasks that it needs to do.&amp;nbsp; Would like to know how to set this up with Processor Expert or if I don't need Processor Expert and just code the WFI and clock to wake up every 200 milliseconds to check and perform tasks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Feb 2016 12:23:11 GMT</pubDate>
    <dc:creator>haroldvogel</dc:creator>
    <dc:date>2016-02-18T12:23:11Z</dc:date>
    <item>
      <title>Low power mode</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Low-power-mode/m-p/468618#M28296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am new to Code Warrior and Processor Expert.&amp;nbsp; I need to setup the MKL36Z256VLL4 chip to go into low power but wake up every 200 milliseconds so that I can check status and perform any requested functions.&amp;nbsp; The product does not have an operating system but just a loop to scan through tasks that it needs to do.&amp;nbsp; Would like to know how to set this up with Processor Expert or if I don't need Processor Expert and just code the WFI and clock to wake up every 200 milliseconds to check and perform tasks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Feb 2016 12:23:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Low-power-mode/m-p/468618#M28296</guid>
      <dc:creator>haroldvogel</dc:creator>
      <dc:date>2016-02-18T12:23:11Z</dc:date>
    </item>
    <item>
      <title>Re: Low power mode</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Low-power-mode/m-p/468619#M28297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Harold Vogel:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For starters you can look at the next great tutorial to wake the MCU from Low Power mode (in this case &lt;STRONG&gt;LLS&lt;/STRONG&gt; mode) with the Low Power Timer (&lt;STRONG&gt;LPTMR&lt;/STRONG&gt;):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;:smileyinfo: Heads up: &lt;STRONG&gt;Wait&lt;/STRONG&gt; is not part of the default PE components, it is part of a set of components provided by colleague Erich.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://mcuoneclipse.com/2014/03/16/starting-point-for-kinetis-low-power-lls-mode/" title="http://mcuoneclipse.com/2014/03/16/starting-point-for-kinetis-low-power-lls-mode/"&gt;Starting Point for Kinetis Low Power LLS Mode | MCU on Eclipse&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the next document you can read a quick explanation of low power modes with Processor Expert:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-102163"&gt;Operation modes in Processor Expert&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you will see the linked tutorial uses the &lt;STRONG&gt;LLS&lt;/STRONG&gt; mode, but you might decide on a different mode. In case you want to learn more about Kinetis Low Power modes there are the next application notes:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://cache.nxp.com/files/32bit/doc/app_note/AN5088.pdf"&gt;&lt;STRONG&gt;AN5088&lt;/STRONG&gt;&lt;/A&gt;: &lt;STRONG&gt;Power Management for Kinetis L family&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://cache.nxp.com/files/microcontrollers/doc/app_note/AN4470.pdf"&gt;&lt;STRONG&gt;AN4470&lt;/STRONG&gt;&lt;/A&gt;: &lt;STRONG&gt;Using Low Power modes on Kinetis family&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://cache.nxp.com/files/32bit/doc/app_note/AN4503.pdf"&gt;&lt;STRONG&gt;AN4503&lt;/STRONG&gt;&lt;/A&gt;: &lt;STRONG&gt;Power Management for Kinetis MCUs&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Best Regards!&lt;BR /&gt;Jorge Gonzalez&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>Sat, 20 Feb 2016 01:29:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Low-power-mode/m-p/468619#M28297</guid>
      <dc:creator>Jorge_Gonzalez</dc:creator>
      <dc:date>2016-02-20T01:29:23Z</dc:date>
    </item>
    <item>
      <title>Re: Low power mode</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Low-power-mode/m-p/468620#M28298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I thought that I had responded to this message but I guess I did not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The information though interesting does not seem to fit the CPU that I am using.&amp;nbsp; The &lt;A class="jive-link-external-small" data-content-finding="Community" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fmcuoneclipse.com%2F2014%2F03%2F16%2Fstarting-point-for-kinetis-low-power-lls-mode%2F" onclick="" rel="nofollow" target="_blank"&gt;Starting Point for Kinetis Low Power LLS Mode | MCU on Eclipse&lt;/A&gt; does not display the same information that I have.&amp;nbsp; I don't show a WAIT1:Wait in the components list and I have not found in any of the components that are a LLWU settings.&amp;nbsp; Nor do I find any of the files that are shown under the CPU.&amp;nbsp; I believe that I stated that I am using the MKL36Z128 and 256VLLL4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have no operating system just a loop that goes and polls all items.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to put the unit in a sleep state and wake up every few milliseconds to check status and then perform operations that are needed and then go back to sleep until the next time out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope that some one can help me with this problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2016 20:12:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Low-power-mode/m-p/468620#M28298</guid>
      <dc:creator>haroldvogel</dc:creator>
      <dc:date>2016-03-02T20:12:40Z</dc:date>
    </item>
    <item>
      <title>Re: Low power mode</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Low-power-mode/m-p/468621#M28299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="CPU_Pic0.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/56162i56EAE960AA505022/image-size/large?v=v2&amp;amp;px=999" role="button" title="CPU_Pic0.PNG" alt="CPU_Pic0.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="CPU_Pic1.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/56206i0F83A01FC64B0309/image-size/large?v=v2&amp;amp;px=999" role="button" title="CPU_Pic1.PNG" alt="CPU_Pic1.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="CPU_Pic2.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/56243i1C60D4C2ECECF01C/image-size/large?v=v2&amp;amp;px=999" role="button" title="CPU_Pic2.PNG" alt="CPU_Pic2.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="CPU_Pic3.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/56274i35C48B04A36301A1/image-size/large?v=v2&amp;amp;px=999" role="button" title="CPU_Pic3.PNG" alt="CPU_Pic3.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="CPU_Pic4.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/56244iBD54E1D56443EE1E/image-size/large?v=v2&amp;amp;px=999" role="button" title="CPU_Pic4.PNG" alt="CPU_Pic4.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Here are images of the CPU clock information.&amp;nbsp; Which seems to go along with the information or at least some of the information above, but I still don't know how to put the CPU into a sleep mode where it will wake up every few milliseconds to poll the system perform tasks and then go back to sleep.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2016 21:25:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Low-power-mode/m-p/468621#M28299</guid>
      <dc:creator>haroldvogel</dc:creator>
      <dc:date>2016-03-02T21:25:00Z</dc:date>
    </item>
    <item>
      <title>Re: Low power mode</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Low-power-mode/m-p/468622#M28300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Harold Vogel:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In a new project only the &lt;STRONG&gt;Cpu&lt;/STRONG&gt; component is included by default. You need to add all the components you need from the &lt;STRONG&gt;Components LIbrary&lt;/STRONG&gt;. Just from the Alphabetical tab search the components you need and double click on them or [Right click -&amp;gt; Add to project]:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/56345i0F3338DAA911C74D/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you should be able to replicate the instructions in the tutorial for your KL36. The exception to this is the &lt;STRONG&gt;WAIT&lt;/STRONG&gt; component, which as mentioned is not a component developed by NXP (formerly Freescale), so it is not part of Processor Expert by default but instead is provided externally by colleague Erich Styger. I believe the blog post that explains this is the next:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://mcuoneclipse.com/2014/10/21/mcuoneclipse-releases-on-sourceforge/" title="http://mcuoneclipse.com/2014/10/21/mcuoneclipse-releases-on-sourceforge/"&gt;McuOnEclipse Releases on SourceForge | MCU on Eclipse&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In any case the &lt;STRONG&gt;WAIT&lt;/STRONG&gt; component is not strictly required, for testing purposes you could add a dummy software delay with a &lt;EM&gt;for&lt;/EM&gt; loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;Jorge Gonzalez&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2016 21:53:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Low-power-mode/m-p/468622#M28300</guid>
      <dc:creator>Jorge_Gonzalez</dc:creator>
      <dc:date>2016-03-02T21:53:23Z</dc:date>
    </item>
    <item>
      <title>Re: Low power mode</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Low-power-mode/m-p/468623#M28301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jorge,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is a project that I took over for another person and we are expanding the functionality of the product.&amp;nbsp; One of the things that I have to do is to put the system in a sleep state which it will wake up every few milliseconds and poll the system to see if anything needs to be done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was looking over the information that you have sent the MCU on Eclipse showed a similar display as I posted in my last message but did not explain how to set up the MCU to go to sleep and wake up do a timer.&amp;nbsp; Nor does any of the other PDF files show how to set up the code to have the unit go to sleep and wake up when a timer has expired.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Mar 2016 12:11:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Low-power-mode/m-p/468623#M28301</guid>
      <dc:creator>haroldvogel</dc:creator>
      <dc:date>2016-03-03T12:11:56Z</dc:date>
    </item>
    <item>
      <title>Re: Low power mode</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Low-power-mode/m-p/468624#M28302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found the following:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;SPAN lang="JA" style="font-family: HelveticaLTStd-Bold; font-size: 24pt;"&gt;&lt;SPAN lang="JA" style="font-family: HelveticaLTStd-Bold; font-size: 24pt;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Chapter 33&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;SPAN lang="JA" style="font-family: HelveticaLTStd-Bold; font-size: 24pt;"&gt;&lt;SPAN lang="JA" style="font-family: HelveticaLTStd-Bold; font-size: 24pt;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Low-Power Timer (LPTMR)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;SPAN lang="JA" style="font-family: HelveticaLTStd-Bold; font-size: 24pt;"&gt;&lt;SPAN lang="JA" style="font-family: HelveticaLTStd-Bold; font-size: 24pt;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="JA" style="font-family: HelveticaLTStd-Bold; font-size: 18pt;"&gt;&lt;SPAN lang="JA" style="font-family: HelveticaLTStd-Bold; font-size: 18pt;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;33.1 Introduction&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;SPAN lang="JA" style="font-family: HelveticaLTStd-Bold; font-size: 18pt;"&gt;&lt;SPAN lang="JA" style="font-family: HelveticaLTStd-Bold; font-size: 18pt;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="JA" style="font-family: HelveticaLTStd-Bold; font-size: 14pt;"&gt;&lt;SPAN lang="JA" style="font-family: HelveticaLTStd-Bold; font-size: 14pt;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;NOTE&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN lang="JA" style="font-family: HelveticaLTStd-Bold; font-size: 14pt;"&gt;&lt;SPAN lang="JA" style="font-family: HelveticaLTStd-Bold; font-size: 14pt;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="JA" style="font-family: HelveticaLTStd-Bold; font-size: 14pt;"&gt;&lt;SPAN lang="JA" style="font-family: HelveticaLTStd-Bold; font-size: 14pt;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="JA" style="font-family: TimesLTStd-Roman; font-size: 14pt;"&gt;&lt;SPAN lang="JA" style="font-family: TimesLTStd-Roman; font-size: 14pt;"&gt;&lt;SPAN lang="JA" style="font-family: TimesLTStd-Roman; font-size: 14pt;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;For the chip-specific implementation details of this module's&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="JA" style="font-family: TimesLTStd-Roman; font-size: 14pt;"&gt;&lt;SPAN lang="JA" style="font-family: TimesLTStd-Roman; font-size: 14pt;"&gt;&lt;SPAN lang="JA" style="font-family: TimesLTStd-Roman; font-size: 14pt;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;instances, see the chip configuration information.&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="JA" style="font-family: TimesLTStd-Roman; font-size: 14pt;"&gt;&lt;SPAN lang="JA" style="font-family: TimesLTStd-Roman; font-size: 14pt;"&gt;&lt;SPAN lang="JA" style="font-family: TimesLTStd-Roman; font-size: 14pt;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The low-power timer (LPTMR) can be configured to operate as a time counter with&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="JA" style="font-family: TimesLTStd-Roman; font-size: 14pt;"&gt;&lt;SPAN lang="JA" style="font-family: TimesLTStd-Roman; font-size: 14pt;"&gt;&lt;SPAN lang="JA" style="font-family: TimesLTStd-Roman; font-size: 14pt;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;optional prescaler, or as a pulse counter with optional glitch filter, across all power&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="JA" style="font-family: TimesLTStd-Roman; font-size: 14pt;"&gt;&lt;SPAN lang="JA" style="font-family: TimesLTStd-Roman; font-size: 14pt;"&gt;&lt;SPAN lang="JA" style="font-family: TimesLTStd-Roman; font-size: 14pt;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;modes, including the low-leakage modes. It can also continue operating through most&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="JA" style="font-family: TimesLTStd-Roman; font-size: 14pt;"&gt;&lt;SPAN lang="JA" style="font-family: TimesLTStd-Roman; font-size: 14pt;"&gt;&lt;SPAN lang="JA" style="font-family: TimesLTStd-Roman; font-size: 14pt;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;system reset events, allowing it to be used as a time of day counter.&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="JA" style="font-family: TimesLTStd-Roman; font-size: 14pt;"&gt;&lt;SPAN lang="JA" style="font-family: TimesLTStd-Roman; font-size: 14pt;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;SPAN lang="JA" style="font-family: HelveticaLTStd-Bold; font-size: 18pt;"&gt;&lt;SPAN lang="JA" style="font-family: HelveticaLTStd-Bold; font-size: 18pt;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;33.1.1 Features&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN lang="JA" style="font-family: HelveticaLTStd-Bold; font-size: 18pt;"&gt;&lt;SPAN lang="JA" style="font-family: HelveticaLTStd-Bold; font-size: 18pt;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="JA" style="font-family: HelveticaLTStd-Bold; font-size: 18pt;"&gt;&lt;SPAN lang="JA" style="font-family: HelveticaLTStd-Bold; font-size: 18pt;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="JA" style="font-family: TimesLTStd-Roman; font-size: 14pt;"&gt;&lt;SPAN lang="JA" style="font-family: TimesLTStd-Roman; font-size: 14pt;"&gt;&lt;SPAN lang="JA" style="font-family: TimesLTStd-Roman; font-size: 14pt;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The features of the LPTMR module include:&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="JA" style="font-family: TimesLTStd-Roman; font-size: 14pt;"&gt;&lt;SPAN lang="JA" style="font-family: TimesLTStd-Roman; font-size: 14pt;"&gt;&lt;SPAN lang="JA" style="font-family: TimesLTStd-Roman; font-size: 14pt;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;• 16-bit time counter or pulse counter with compare&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="JA" style="font-family: TimesLTStd-Roman; font-size: 14pt;"&gt;&lt;SPAN lang="JA" style="font-family: TimesLTStd-Roman; font-size: 14pt;"&gt;&lt;SPAN lang="JA" style="font-family: TimesLTStd-Roman; font-size: 14pt;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;• Optional interrupt can generate asynchronous wakeup from any low-power mode&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="JA" style="font-family: TimesLTStd-Roman; font-size: 14pt;"&gt;&lt;SPAN lang="JA" style="font-family: TimesLTStd-Roman; font-size: 14pt;"&gt;&lt;SPAN lang="JA" style="font-family: TimesLTStd-Roman; font-size: 14pt;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;• Hardware trigger output&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="JA" style="font-family: TimesLTStd-Roman; font-size: 14pt;"&gt;&lt;SPAN lang="JA" style="font-family: TimesLTStd-Roman; font-size: 14pt;"&gt;&lt;SPAN lang="JA" style="font-family: TimesLTStd-Roman; font-size: 14pt;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;• Counter supports free-running mode or reset on compare&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="JA" style="font-family: TimesLTStd-Roman; font-size: 14pt;"&gt;&lt;SPAN lang="JA" style="font-family: TimesLTStd-Roman; font-size: 14pt;"&gt;&lt;SPAN lang="JA" style="font-family: TimesLTStd-Roman; font-size: 14pt;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;• Configurable clock source for prescaler/glitch filter&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="JA" style="font-family: TimesLTStd-Roman; font-size: 14pt;"&gt;&lt;SPAN lang="JA" style="font-family: TimesLTStd-Roman; font-size: 14pt;"&gt;&lt;SPAN lang="JA" style="font-family: TimesLTStd-Roman; font-size: 14pt;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;• Configurable input source for pulse counter&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="JA" style="font-family: TimesLTStd-Roman; font-size: 14pt;"&gt;&lt;SPAN lang="JA" style="font-family: TimesLTStd-Roman; font-size: 14pt;"&gt;&lt;SPAN lang="JA" style="font-family: TimesLTStd-Roman; font-size: 14pt;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;• Rising-edge or falling-edge&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="JA" style="font-family: TimesLTStd-Roman; font-size: 14pt;"&gt;&lt;SPAN lang="JA" style="font-family: TimesLTStd-Roman; font-size: 14pt;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;SPAN lang="JA" style="font-family: HelveticaLTStd-Bold; font-size: 18pt;"&gt;&lt;SPAN lang="JA" style="font-family: HelveticaLTStd-Bold; font-size: 18pt;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;33.1.2 Modes of operation&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN lang="JA" style="font-family: HelveticaLTStd-Bold; font-size: 18pt;"&gt;&lt;SPAN lang="JA" style="font-family: HelveticaLTStd-Bold; font-size: 18pt;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="JA" style="font-family: HelveticaLTStd-Bold; font-size: 18pt;"&gt;&lt;SPAN lang="JA" style="font-family: HelveticaLTStd-Bold; font-size: 18pt;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="JA" style="font-family: TimesLTStd-Roman; font-size: 14pt;"&gt;&lt;SPAN lang="JA" style="font-family: TimesLTStd-Roman; font-size: 14pt;"&gt;&lt;SPAN lang="JA" style="font-family: TimesLTStd-Roman; font-size: 14pt;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The following table describes the operation of the LPTMR module in various modes.&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="JA" style="font-family: TimesLTStd-Roman; font-size: 14pt;"&gt;&lt;SPAN lang="JA" style="font-family: TimesLTStd-Roman; font-size: 14pt;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;SPAN lang="JA" style="font-family: HelveticaLTStd-Bold; font-size: 10pt;"&gt;&lt;SPAN lang="JA" style="font-family: HelveticaLTStd-Bold; font-size: 10pt;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;KL36 Sub-Family Reference Manual, Rev. 3, July 2013&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I could not a reference (or at least what I found did not indicate this register) to this register.&amp;nbsp; What I read seems to indicate that it will do what I wish, in that the unit can go into a low power state and wake up on a timer and then be put back into a low power state.&amp;nbsp; Just need to find out how to do this.&amp;nbsp; I hope that you or someone can help me with this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN lang="JA" style="font-family: HelveticaLTStd-Bold; font-size: 10pt;"&gt;&lt;SPAN lang="JA" style="font-family: HelveticaLTStd-Bold; font-size: 10pt;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="JA" style="font-family: HelveticaLTStd-Bold; font-size: 10pt;"&gt;&lt;SPAN lang="JA" style="font-family: HelveticaLTStd-Bold; font-size: 10pt;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2016 14:35:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Low-power-mode/m-p/468624#M28302</guid>
      <dc:creator>haroldvogel</dc:creator>
      <dc:date>2016-03-04T14:35:10Z</dc:date>
    </item>
    <item>
      <title>Re: Low power mode</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Low-power-mode/m-p/468625#M28303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For more information, below is the current code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;void Enter_Power_Save(void)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3f7f5f; font-size: 10pt;"&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3f7f5f; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; shutdownIO();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3f7f5f; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; while(1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3f7f5f; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3f7f5f; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; enter_lls();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3f7f5f; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Do a partial restoration of I/O, enough to read the state of /ACOK&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3f7f5f; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SIM_SCGCS |= SIM_SCGCS_PORTB_MASK;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3f7f5f; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PORTB_PCR7 |= (uint32_t)(PORT_PCR_MUC(MUC_GPIO));&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3f7f5f; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Delay_ms(200);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3f7f5f; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if ( RUNNING_FROM_BATTERY )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3f7f5f; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3f7f5f; font-size: 10pt;"&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; PORTB_PCR7 &amp;amp;= ~(uint32_t)(PORT_RCR_MUX(MUX_MASK));&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3f7f5f; font-size: 10pt;"&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; SIM_SCGCS &amp;amp;= ~(SIM_SCGCS_PORTB_MASK);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3f7f5f; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3f7f5f; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3f7f5f; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3f7f5f; font-size: 10pt;"&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; break;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3f7f5f; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3f7f5f; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3f7f5f; font-size: 10pt;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;void Exit_Power_Save(void)&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="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; restoreIO();&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="font-size: 10pt;"&gt;void enter_lls(void)&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="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SMC_PMCTRL &amp;amp;= ~SMC_PMCTRL_STORM_MASK;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SMC_PMCTRL |= SMC_PMCTRL_STORM(0X3);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SMC_PMCTRL;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; deepsleep();&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;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;void deepsleep(void)&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="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SCB_SCR |= SCB_SCR_SLEEPDEEP_MASK;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; asm("WFI");&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; resetTracking.processor_wakeup++;&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;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;From what I have been told when the WFI interrupt occurs the resetTracking.processor_wakeup++ is triggered and the code returns to where the power down function was called.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;What I would lie to do is put in a check to see if we are in another mode which would allow the unit to go to sleep or wait and when a timer triggered it would wake up and perform a task and then go back to sleep?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2016 21:16:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Low-power-mode/m-p/468625#M28303</guid>
      <dc:creator>haroldvogel</dc:creator>
      <dc:date>2016-03-04T21:16:40Z</dc:date>
    </item>
    <item>
      <title>Re: Low power mode</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Low-power-mode/m-p/468626#M28304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can find no information on the SystemControl_BASE_PTR, which is the register that is being used to put the unit in DEEP SLEEP.&amp;nbsp; Is there a way to configure this register to wake up on a timer when the unit goes to sleep?&amp;nbsp; If there is such a way then how is it done.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Mar 2016 12:46:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Low-power-mode/m-p/468626#M28304</guid>
      <dc:creator>haroldvogel</dc:creator>
      <dc:date>2016-03-07T12:46:49Z</dc:date>
    </item>
    <item>
      <title>Re: Low power mode</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Low-power-mode/m-p/468627#M28305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was wondering and hoping that you could give me more information on how to setup the TimerUnit_LDD to have it wake up the unit from a WAIT/STOP mode?&amp;nbsp; Currently, I believe, the code is using Timer for some other function.&amp;nbsp; There is also a TestTimer:TimerUnit_LDD but I am not sure what is being or was being used for in the code.&amp;nbsp; The code has no documentation telling what it was to be used for either.&amp;nbsp; It seems to be using the same timer that you have referenced in your post.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2016 18:38:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Low-power-mode/m-p/468627#M28305</guid>
      <dc:creator>haroldvogel</dc:creator>
      <dc:date>2016-03-15T18:38:24Z</dc:date>
    </item>
  </channel>
</rss>

