<?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: How to get LPTMR to use the LPO clock source in Processor Expert? in Processor Expert Software</title>
    <link>https://community.nxp.com/t5/Processor-Expert-Software/How-to-get-LPTMR-to-use-the-LPO-clock-source-in-Processor-Expert/m-p/386141#M2998</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Dominik,&lt;/P&gt;&lt;P&gt;You can select LPO clock source by using timing dialog of the Counter Frequency property of the UtcClockTimer:TimerUnit_LDD component in your project. See the screenshot below:&lt;/P&gt;&lt;P&gt;Please note, that the Period property just select the module value of counter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="TimerUnit_LDD - LPO selection.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/51485iFBD71EAAD2E48413/image-size/large?v=v2&amp;amp;px=999" role="button" title="TimerUnit_LDD - LPO selection.png" alt="TimerUnit_LDD - LPO selection.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Marek Neuzil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Mar 2015 08:41:37 GMT</pubDate>
    <dc:creator>marek_neuzil</dc:creator>
    <dc:date>2015-03-17T08:41:37Z</dc:date>
    <item>
      <title>How to get LPTMR to use the LPO clock source in Processor Expert?</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/How-to-get-LPTMR-to-use-the-LPO-clock-source-in-Processor-Expert/m-p/386138#M2995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hei,&lt;/P&gt;&lt;P&gt;I have a project in CW 10.6, using Processor Expert, where a timer should wake up the MCU from STOP (LLS) mode every second. I'm using LPTMR0 as LLWU source, which works fine.&lt;/P&gt;&lt;P&gt;Measuring the current the MCU uses in LLS mode - 0.4 mA - I noticed that the clock source for the LPTMR is not LPO, but actually ERCLK (8 Mhz). I think that this is causing the high current consumption in LLS mode.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I get Processor Expert to use LPO as a clock source for LPTMR in order to save some power in LLS mode?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From this picture, the Processor Expert help text suggests that LPO is already used as source for LPTMR.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="20025_20025.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/120187iECD31511B31A6CB6/image-size/large?v=v2&amp;amp;px=999" role="button" title="20025_20025.png" alt="20025_20025.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="clocksettings.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/50636i6D3BA6794B4019A3/image-size/large?v=v2&amp;amp;px=999" role="button" title="clocksettings.png" alt="clocksettings.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;From this Timing dialog at the bottom of the screen I see that actually ERCLK with 8Mhz is used as a clock source for LPTMR.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="20026_20026.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/120188i0C457B59B379E516/image-size/large?v=v2&amp;amp;px=999" role="button" title="20026_20026.png" alt="20026_20026.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="lptmr_settings.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/50637i88C5783D5226435E/image-size/large?v=v2&amp;amp;px=999" role="button" title="lptmr_settings.png" alt="lptmr_settings.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Attached are the Processor Expert settings as well.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do I need to use another MCG mode?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any hints or suggestions are highly appreciated!&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt; Dominik&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-338951"&gt;pesettings.pef.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Feb 2015 13:18:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/How-to-get-LPTMR-to-use-the-LPO-clock-source-in-Processor-Expert/m-p/386138#M2995</guid>
      <dc:creator>dominikf</dc:creator>
      <dc:date>2015-02-19T13:18:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to get LPTMR to use the LPO clock source in Processor Expert?</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/How-to-get-LPTMR-to-use-the-LPO-clock-source-in-Processor-Expert/m-p/386139#M2996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dominik&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't help with the PE setup but to use the LPO for the LPTMR you just need to select it as follows:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LPTMR0_PSR = (LPTMR_PSR_PCS_LPO | LPTMR_PSR_PBYP);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the uTasker project this is controlled by the configuration define LPTMR_CLOCK_LPO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As reference, you can check the links below - for the KL26 you can expect about 8mA in RUN mode (at 48MHz), 6mA in WAIT mode (full operation including USB), 1.8mA in STOP mode (full operation but possibly some peripheral response restrictions incl. USB), around 30uA in VLPS but with more peripheral response restrictions (UARTs will lose data at high Bauds).&lt;/P&gt;&lt;P&gt;You should get about 1..2uA in LLS with wakeup to RUN mode from LLWU pin or module (LPTMR, RTC)&lt;/P&gt;&lt;P&gt;and about 2uA in VLLS modes with wakeup from the same sources via reset.&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;Kinetis: &lt;A href="http://www.utasker.com/kinetis.html" title="http://www.utasker.com/kinetis.html"&gt;µTasker Kinetis support&lt;/A&gt; (with out-of-the-box dynamic low power control)&lt;/P&gt;&lt;P&gt;KL26: &lt;A href="http://www.utasker.com/kinetis/FRDM-KL26Z.html" title="http://www.utasker.com/kinetis/FRDM-KL26Z.html"&gt;µTasker Kinetis FRDM-KL26Z support&lt;/A&gt; / &lt;A href="http://www.utasker.com/kinetis/TEENSY_LC.html" title="http://www.utasker.com/kinetis/TEENSY_LC.html"&gt;µTasker Kinetis Teensy LC support&lt;/A&gt;&lt;/P&gt;&lt;P&gt;LLWU: &lt;A href="http://www.utasker.com/kinetis/LLWU.html" title="http://www.utasker.com/kinetis/LLWU.html"&gt;µTasker LLWU Support&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 15:36:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/How-to-get-LPTMR-to-use-the-LPO-clock-source-in-Processor-Expert/m-p/386139#M2996</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2015-02-19T15:36:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to get LPTMR to use the LPO clock source in Processor Expert?</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/How-to-get-LPTMR-to-use-the-LPO-clock-source-in-Processor-Expert/m-p/386140#M2997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hei Mark,&lt;/P&gt;&lt;P&gt;thanks for the helpful answer. I will try to set things manually and report back when I get to it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Feb 2015 12:04:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/How-to-get-LPTMR-to-use-the-LPO-clock-source-in-Processor-Expert/m-p/386140#M2997</guid>
      <dc:creator>dominikf</dc:creator>
      <dc:date>2015-02-27T12:04:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to get LPTMR to use the LPO clock source in Processor Expert?</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/How-to-get-LPTMR-to-use-the-LPO-clock-source-in-Processor-Expert/m-p/386141#M2998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Dominik,&lt;/P&gt;&lt;P&gt;You can select LPO clock source by using timing dialog of the Counter Frequency property of the UtcClockTimer:TimerUnit_LDD component in your project. See the screenshot below:&lt;/P&gt;&lt;P&gt;Please note, that the Period property just select the module value of counter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="TimerUnit_LDD - LPO selection.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/51485iFBD71EAAD2E48413/image-size/large?v=v2&amp;amp;px=999" role="button" title="TimerUnit_LDD - LPO selection.png" alt="TimerUnit_LDD - LPO selection.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Marek Neuzil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2015 08:41:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/How-to-get-LPTMR-to-use-the-LPO-clock-source-in-Processor-Expert/m-p/386141#M2998</guid>
      <dc:creator>marek_neuzil</dc:creator>
      <dc:date>2015-03-17T08:41:37Z</dc:date>
    </item>
  </channel>
</rss>

