<?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: FRDM-KL03Z: Need Help to setup to use EXTAL as primary clock for LPTMR. in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL03Z-Need-Help-to-setup-to-use-EXTAL-as-primary-clock-for/m-p/633103#M38132</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some devices allow clocks to be connected to a CLK_OUT pin. Otherwise it is sometimes possible to verify indirectly by using something that relies on a particular clock signal and see what happens when it is disabled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know why you need to enable the STOP mode operation to get it to work - this should only define whether it continues running in STOP modes or not...&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;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Mar 2017 00:02:51 GMT</pubDate>
    <dc:creator>mjbcswitzerland</dc:creator>
    <dc:date>2017-03-11T00:02:51Z</dc:date>
    <item>
      <title>FRDM-KL03Z: Need Help to setup to use EXTAL as primary clock for LPTMR.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL03Z-Need-Help-to-setup-to-use-EXTAL-as-primary-clock-for/m-p/633095#M38124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to set-up my FRDM-KL03Z to run off the external 32kHz crystal in LPTMR mode. Below are my settings:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SIM_BWR_SCGC_BIT(SIM_BASE_PTR, kSimClockGateLptmr0, 1u);//Enables the LPTMR0 clock gate&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SIM_BWR_SOPT1_OSC32KSEL(SIM_BASE_PTR,0b00); //Selects the 32 kHz clock source (ERCLK32K) for LPTMR&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SIM_BWR_SOPT1_OSC32KOUT(SIM_BASE_PTR,0b01); //Set the clock ERCLK32K output on pin13&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; OSC_BWR_CR_ERCLKEN(OSC, 1); //Enables the external reference clock (OSCERCLK)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MCG_BWR_C1_CLKS(MCG, 0b10); //Selects external clock as the main clock source. This is EXT mode&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MCG_BWR_C2_EREFS0(MCG, 0); //Selects the source for the external reference clock to be external clock.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This doesn't seem to work. What am I missing? I have read the OSC chapter and LPTMR and CLK chapters of the manual. I am very confused about how to get the EXTAL clock set. For that matter, I can't even seem to measure the external clock on the board itself to see that it is alive. Help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sara&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Mar 2017 21:24:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL03Z-Need-Help-to-setup-to-use-EXTAL-as-primary-clock-for/m-p/633095#M38124</guid>
      <dc:creator>sarastout-grand</dc:creator>
      <dc:date>2017-03-08T21:24:40Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-KL03Z: Need Help to setup to use EXTAL as primary clock for LPTMR.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL03Z-Need-Help-to-setup-to-use-EXTAL-as-primary-clock-for/m-p/633096#M38125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached the LPTMR module from the uTasker project as reference. Project configuration is &lt;STRONG&gt;LPTMR_CLOCK_EXTERNAL_32kHz&lt;/STRONG&gt;, which is what you are going for I think. This is the part that will interest you:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;POWER_UP(5, SIM_SCGC5_LPTIMER);&amp;nbsp; // ensure that the timer can be accessed&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;LPTMR0_CSR = 0;&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; // reset the timer and ensure no pending interrupts&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;LPTMR0_PSR = (LPTMR_PSR_PCS_ERCLK32K | LPTMR_PSR_PBYP); // clock from external 32kHz timer&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is all that should be needed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It may be that you are confused by the option to clock from the OSCERCLK, which would be the option &lt;STRONG&gt;LPTMR_CLOCK_OSCERCLK&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This would then look like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;POWER_UP(5, SIM_SCGC5_LPTIMER);&amp;nbsp; // ensure that the timer can be accessed&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;LPTMR0_CSR = 0;&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; // reset the timer and ensure no pending interrupts&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;OSC0_CR |= (OSC_CR_ERCLKEN | OSC_CR_EREFSTEN); // enable the external reference clock and keep it enabled in stop mode&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;LPTMR0_PSR = (LPTMR_PSR_PCS_OSC0ERCLK | (LPTMR_PRESCALE_VALUE &amp;lt;&amp;lt; LPTMR_PSR_PRESCALE_SHIFT)); // program pre-scaler&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To generate a periodic rate you then need to set &lt;SPAN style="font-family: courier new,courier,monospace;"&gt;LPTMR0_CMR&lt;/SPAN&gt; with the period value&lt;BR /&gt;and enable with &lt;SPAN style="font-family: courier new,courier,monospace;"&gt;LPTMR0_CSR |= LPTMR_CSR_TEN;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not absolutely sure, but I have the feeling that you also want to run the processor directly from the 32kHz crystal. I have attached the MCG-Lite module too as reference. The code of interest is:&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;MCG_C2 = (MCG_C2_EREFS | MCG_C2_IRCS); // select oscillator as external clock source&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;OSC0_CR = (OSC_CR_ERCLKEN | OSC_CR_EREFSTEN); // enable the oscillator and allow it to continue oscillating in stop mode&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;SIM_CLKDIV1 = (((SYSTEM_CLOCK_DIVIDE - 1) &amp;lt;&amp;lt; 28) | ((BUS_CLOCK_DIVIDE - 1) &amp;lt;&amp;lt; 16)); // prepare bus clock divides&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;while ((MCG_S &amp;amp; MCG_S_OSCINIT0) == 0) {} // wait for the oscillator to start&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;MCG_C1 = MCG_C1_CLKS_EXTERN_CLK; // select external clock source&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;while ((MCG_S &amp;amp; MCG_S_CLKST_MASK) != MCG_S_CLKST_EXT) {} // wait until the source is selected&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the default configuration if other clock sources are not specified. Note that debuggers tend to have difficulty working with such a slow clock rate; either run without the debugger or else try to set the debugger's clock speed as low as possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understand that you are not interested in the uTasker project but it may still be worthwhile using it as reference since it allows you to set up things like this with one or two defines and test in its KL03 simulator so that you can then anaylse its operation and transfer the code to correct your configuration or the difficulties with your environment. You can probably save a huge amount of time in the long run.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To show you how simple and powerful it is in comparison to to your present solution I also attached a short video (1:25) showing how I can build a KL03 project according to your requirements and verify it in its KL03 simulator. All code can be analysed in the emulator, including interrupts and peripheral behavior in order to avoid lengthy trial and error on the HW.&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Mar 2017 01:18:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL03Z-Need-Help-to-setup-to-use-EXTAL-as-primary-clock-for/m-p/633096#M38125</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2017-03-09T01:18:41Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-KL03Z: Need Help to setup to use EXTAL as primary clock for LPTMR.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL03Z-Need-Help-to-setup-to-use-EXTAL-as-primary-clock-for/m-p/633097#M38126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;Hi Mark,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;Thanks for the quick response! &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;To clarify, I want to run the LPTMR off the external 32kHz crystal that is installed on the FRDM-KL03Z evaluation board, so I think you are correct with your first assumption. I understand that the crystal is connected to the EXTAL and XTAL pins on the KL03. According to the diagram on page 56 of the KL03 user’s manual (Chp.5 Clock distribution), it looks to me like both the OSCERCLK and the ERCLK32K can both be derived from the EXTAL. Correct? I should therefore be able to run either one into the LTPMR, correct? What is the primary difference between the two?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;Sara&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Mar 2017 14:38:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL03Z-Need-Help-to-setup-to-use-EXTAL-as-primary-clock-for/m-p/633097#M38126</guid>
      <dc:creator>sarastout-grand</dc:creator>
      <dc:date>2017-03-09T14:38:33Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-KL03Z: Need Help to setup to use EXTAL as primary clock for LPTMR.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL03Z-Need-Help-to-setup-to-use-EXTAL-as-primary-clock-for/m-p/633098#M38127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sara&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think that this is the diagram of interest for the LPTMR:&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/15205i400B81F5942A35CD/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;&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/15325iEE859B7BD750BBA2/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;In your case it is true that the two possible sources are in fact the same. The signal OSC32KCLK is only present when a 32kHz crystal is used and not when a higher frequency one is delivering the XTAL_CLK.&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Mar 2017 16:48:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL03Z-Need-Help-to-setup-to-use-EXTAL-as-primary-clock-for/m-p/633098#M38127</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2017-03-09T16:48:31Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-KL03Z: Need Help to setup to use EXTAL as primary clock for LPTMR.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL03Z-Need-Help-to-setup-to-use-EXTAL-as-primary-clock-for/m-p/633099#M38128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mark,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ok. So...if I was to attach an external crystal that was not 32kHz, then the OSCERCLK will be the clock that I want to drive the LPTMR? What happens to the OSC32KCLK in that case?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sara&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Mar 2017 17:40:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL03Z-Need-Help-to-setup-to-use-EXTAL-as-primary-clock-for/m-p/633099#M38128</guid>
      <dc:creator>sarastout-grand</dc:creator>
      <dc:date>2017-03-09T17:40:48Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-KL03Z: Need Help to setup to use EXTAL as primary clock for LPTMR.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL03Z-Need-Help-to-setup-to-use-EXTAL-as-primary-clock-for/m-p/633100#M38129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sara&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If you don't use a 32kHz crystal the OSC32KCLK "doesn't exist" - there is more info here: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.utasker.com%2Fkinetis%2FKL_RTC.html" rel="nofollow" target="_blank"&gt;http://www.utasker.com/kinetis/KL_RTC.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;This also reference back to a discussion here when I was doing my original work back in 2014 -&lt;A href="https://community.nxp.com/message/398196#398196"&gt;https://community.nxp.com/message/398196#398196&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Possibly you will want to use OSCERCLK in that case or one of the other possible sources.&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Mar 2017 18:01:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL03Z-Need-Help-to-setup-to-use-EXTAL-as-primary-clock-for/m-p/633100#M38129</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2017-03-09T18:01:40Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-KL03Z: Need Help to setup to use EXTAL as primary clock for LPTMR.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL03Z-Need-Help-to-setup-to-use-EXTAL-as-primary-clock-for/m-p/633101#M38130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Mark. I appreciate the fast replies!&lt;/P&gt;&lt;P&gt;Sara&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Mar 2017 18:05:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL03Z-Need-Help-to-setup-to-use-EXTAL-as-primary-clock-for/m-p/633101#M38130</guid>
      <dc:creator>sarastout-grand</dc:creator>
      <dc:date>2017-03-09T18:05:35Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-KL03Z: Need Help to setup to use EXTAL as primary clock for LPTMR.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL03Z-Need-Help-to-setup-to-use-EXTAL-as-primary-clock-for/m-p/633102#M38131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mark,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I finally got the LPTMR working off the external 32kHz Crystal on the FRDM-KL03Z board! In order to make it work, I had to set the following two bits in the OSC_CR register:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; OSC_BWR_CR_ERCLKEN(OSC, 1); //Enables the external reference clock (OSCERCLK)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; OSC_BWR_CR_EREFSTEN(OSC, 1); //Enables the external reference clock (OSCERCLK)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm quite confused as to why I had to do this. I was trying to get the ERCLK32K to work and now I'm not sure which clock is running. A couple questions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Any ideas how I can tell which clock is running?&lt;/P&gt;&lt;P&gt;2. Why did I need to set these bits to get the external crystal to come alive?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Sara&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Mar 2017 21:22:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL03Z-Need-Help-to-setup-to-use-EXTAL-as-primary-clock-for/m-p/633102#M38131</guid>
      <dc:creator>sarastout-grand</dc:creator>
      <dc:date>2017-03-09T21:22:43Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-KL03Z: Need Help to setup to use EXTAL as primary clock for LPTMR.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL03Z-Need-Help-to-setup-to-use-EXTAL-as-primary-clock-for/m-p/633103#M38132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some devices allow clocks to be connected to a CLK_OUT pin. Otherwise it is sometimes possible to verify indirectly by using something that relies on a particular clock signal and see what happens when it is disabled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know why you need to enable the STOP mode operation to get it to work - this should only define whether it continues running in STOP modes or not...&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Mar 2017 00:02:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL03Z-Need-Help-to-setup-to-use-EXTAL-as-primary-clock-for/m-p/633103#M38132</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2017-03-11T00:02:51Z</dc:date>
    </item>
  </channel>
</rss>

