<?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: Potential Problem with MCGFFCLK in K64, K65, K66</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Potential-Problem-with-MCGFFCLK-in-K64-K65-K66/m-p/787960#M47962</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;Have you check the value of MCG_S[IREFST] after set MCG_C1[IREFS]?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="MCG_S[IREFST].png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/62229i2FF4067EDF653740/image-size/large?v=v2&amp;amp;px=999" role="button" title="MCG_S[IREFST].png" alt="MCG_S[IREFST].png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Which MCG mode are you testing with IREFS set to '1'?&amp;nbsp;&lt;/P&gt;&lt;P&gt;How did you configure 120MHz for MCGOUTCLK? When PEE mode is selected, the IREFS shoud be set to '0'.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="imageFile.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/62230i9F3D921B2A3AF16B/image-size/large?v=v2&amp;amp;px=999" role="button" title="imageFile.png" alt="imageFile.png" /&gt;&lt;/span&gt;&lt;BR /&gt;I am using FEI mode and select MCGFFCLK(32.768kHz IRC) as FTM clock source, the FTM is able to output PWM.&lt;/P&gt;&lt;P&gt;Please select the MCG mode which IREFS=1, and then test if the FTM module is able to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Robin&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&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>Thu, 21 Jun 2018 03:23:07 GMT</pubDate>
    <dc:creator>Robin_Shen</dc:creator>
    <dc:date>2018-06-21T03:23:07Z</dc:date>
    <item>
      <title>Potential Problem with MCGFFCLK in K64, K65, K66</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Potential-Problem-with-MCGFFCLK-in-K64-K65-K66/m-p/787957#M47959</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;&lt;/P&gt;&lt;P&gt;I haven't been able to use MCGFFCLK from the &lt;SPAN style="text-decoration: underline;"&gt;slow clock&lt;/SPAN&gt; on these part, although it works from the divided FLL external clock.&lt;/P&gt;&lt;P&gt;&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/61676iB02567BBD74E63F0/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;Here I have IREFS set to '1' but there is no output on MCGFFCLK (that is, peripherals clocked from it don't count). The slow clock is available as shown by the physically measured 32.8kHz on the CLKOUT pin.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On a K64 I have 50Mhz external clock divided by 1024 at the non-selected input to the FLL and, as shown in the next diagram where I simply set IREFS back to '0'&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/23798i8DB43BBBFCC5BA0F/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;the internal peripherals on MCGFFCLK are correctly clocked (and count) at 24.4kHz.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The design is different to other parts with the "Sync" block having three inputs, one from the FLL input, one from the external reference input divided by 2 and one from the bus clock (60Mhz in both cases).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Presumably the clock is not being gated out due to the clock valid bit not being set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Therefore:&lt;BR /&gt;- why does the 48kHz external clock input work but the internal 32.8kHz not?&lt;BR /&gt;- what would cause the clock validity check to not allow it? (Adjusting the external reference clock divide didn't change anything)&lt;BR /&gt;- is there some trick needed that is not described in the manual?&lt;BR /&gt;- has the operation been verified?&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>Fri, 15 Jun 2018 13:50:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Potential-Problem-with-MCGFFCLK-in-K64-K65-K66/m-p/787957#M47959</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2018-06-15T13:50:01Z</dc:date>
    </item>
    <item>
      <title>Re: Potential Problem with MCGFFCLK in K64, K65, K66</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Potential-Problem-with-MCGFFCLK-in-K64-K65-K66/m-p/787958#M47960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please notice:&lt;/P&gt;&lt;P&gt;This clock is synchronized to the peripheral bus clock and is valid only when its frequency is not more than &lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;1/8&lt;/STRONG&gt;&lt;/SPAN&gt; of the &lt;SPAN style="color: #ff0000;"&gt;MCGOUTCLK&lt;/SPAN&gt; frequency. When it is not valid, it is disabled and held high.&lt;/P&gt;&lt;P&gt;Please configure &lt;SPAN style="color: #ff0000;"&gt;MCGOUTCLK&lt;/SPAN&gt; to a higher frequency&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="25.4.5 MCG Fixed Frequency Clock.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/62005iB0A580BAA93C82F0/image-size/large?v=v2&amp;amp;px=999" role="button" title="25.4.5 MCG Fixed Frequency Clock.png" alt="25.4.5 MCG Fixed Frequency Clock.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;Robin&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&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>Wed, 20 Jun 2018 02:35:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Potential-Problem-with-MCGFFCLK-in-K64-K65-K66/m-p/787958#M47960</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2018-06-20T02:35:05Z</dc:date>
    </item>
    <item>
      <title>Re: Potential Problem with MCGFFCLK in K64, K65, K66</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Potential-Problem-with-MCGFFCLK-in-K64-K65-K66/m-p/787959#M47961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Robin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 120MHz for MCGOUTCLK (my diagrams are wrong - I thought I was showing the CLKOUT [which is set to IRC 32kHz to verify that it is oscillating]).&lt;/P&gt;&lt;P&gt;Therefore 32kHz &amp;lt; 120MHz/8 [32kHz &amp;lt; 15MHz]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since there is no problem with 48kHz (also &amp;lt; 15Mhz and &amp;gt; IRC 32k) I still don't see why 48kHz is valid but 32kHz is 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>Wed, 20 Jun 2018 18:25:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Potential-Problem-with-MCGFFCLK-in-K64-K65-K66/m-p/787959#M47961</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2018-06-20T18:25:39Z</dc:date>
    </item>
    <item>
      <title>Re: Potential Problem with MCGFFCLK in K64, K65, K66</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Potential-Problem-with-MCGFFCLK-in-K64-K65-K66/m-p/787960#M47962</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;Have you check the value of MCG_S[IREFST] after set MCG_C1[IREFS]?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="MCG_S[IREFST].png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/62229i2FF4067EDF653740/image-size/large?v=v2&amp;amp;px=999" role="button" title="MCG_S[IREFST].png" alt="MCG_S[IREFST].png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Which MCG mode are you testing with IREFS set to '1'?&amp;nbsp;&lt;/P&gt;&lt;P&gt;How did you configure 120MHz for MCGOUTCLK? When PEE mode is selected, the IREFS shoud be set to '0'.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="imageFile.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/62230i9F3D921B2A3AF16B/image-size/large?v=v2&amp;amp;px=999" role="button" title="imageFile.png" alt="imageFile.png" /&gt;&lt;/span&gt;&lt;BR /&gt;I am using FEI mode and select MCGFFCLK(32.768kHz IRC) as FTM clock source, the FTM is able to output PWM.&lt;/P&gt;&lt;P&gt;Please select the MCG mode which IREFS=1, and then test if the FTM module is able to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Robin&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&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>Thu, 21 Jun 2018 03:23:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Potential-Problem-with-MCGFFCLK-in-K64-K65-K66/m-p/787960#M47962</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2018-06-21T03:23:07Z</dc:date>
    </item>
    <item>
      <title>Re: Potential Problem with MCGFFCLK in K64, K65, K66</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Potential-Problem-with-MCGFFCLK-in-K64-K65-K66/m-p/787961#M47963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I set IREFS I see the value correctly reflected in IREFST.&lt;/P&gt;&lt;P&gt;MCGOUTCLK is from the PLL at 120MHz.&lt;/P&gt;&lt;P&gt;In this state I can change IREFS between 0 and 1 without affecting the PLL operation (which may contradict the PEE requirement). &lt;EM&gt;With IREFS at 0 the FTM operates from MCGFFCLK; with IREFS at 1 the FTM doesn't operate (although 32kHz IRC is oscillating as measured on CLKOUT pin).&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;I will try with other MCGOUTCLK configurations to see whether there is a restriction in PEE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have a working binary for FRDM-K64F or FRDM-K66F could you post it so that I can load it and compare?&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;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2018 07:58:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Potential-Problem-with-MCGFFCLK-in-K64-K65-K66/m-p/787961#M47963</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2018-06-21T07:58:03Z</dc:date>
    </item>
  </channel>
</rss>

