<?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のトピックSetting Core clock frequency of MK02FN128VFM10 = 100 MHz</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Setting-Core-clock-frequency-of-MK02FN128VFM10-100-MHz/m-p/563011#M33857</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm using Kinetis Design Studio 3.0.0 for the controller MK02FN128VFM10 with 8 MHz external crystal. I want to set core clock of this controller to its maximum value, i.e. 100 MHz.&lt;/P&gt;&lt;P&gt;Right now, MCG_C4[DMX32] = 1 and MCG_C4[DRST_DRS] = 11 (High Range). In this case, default value&amp;nbsp;80 MHz as core clock frequency&amp;nbsp;is being set. How to set it for 100 MHz?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;Want to get the solution to this as soon as possible.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Aug 2016 05:00:59 GMT</pubDate>
    <dc:creator>shrutikharwandi</dc:creator>
    <dc:date>2016-08-26T05:00:59Z</dc:date>
    <item>
      <title>Setting Core clock frequency of MK02FN128VFM10 = 100 MHz</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Setting-Core-clock-frequency-of-MK02FN128VFM10-100-MHz/m-p/563011#M33857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm using Kinetis Design Studio 3.0.0 for the controller MK02FN128VFM10 with 8 MHz external crystal. I want to set core clock of this controller to its maximum value, i.e. 100 MHz.&lt;/P&gt;&lt;P&gt;Right now, MCG_C4[DMX32] = 1 and MCG_C4[DRST_DRS] = 11 (High Range). In this case, default value&amp;nbsp;80 MHz as core clock frequency&amp;nbsp;is being set. How to set it for 100 MHz?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;Want to get the solution to this as soon as possible.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Aug 2016 05:00:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Setting-Core-clock-frequency-of-MK02FN128VFM10-100-MHz/m-p/563011#M33857</guid>
      <dc:creator>shrutikharwandi</dc:creator>
      <dc:date>2016-08-26T05:00:59Z</dc:date>
    </item>
    <item>
      <title>Re: Setting Core clock frequency of MK02FN128VFM10 = 100 MHz</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Setting-Core-clock-frequency-of-MK02FN128VFM10-100-MHz/m-p/563012#M33858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shruti,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; 8Mhz external crystal can't get 100Mhz core clock.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; If you want to get 100Mhz core clock, please choose 10Mhz external crystal.&lt;/P&gt;&lt;P&gt;Let me tell you why 8Mhz crystal can't get 100Mhz core clock.&lt;/P&gt;&lt;P&gt;&amp;nbsp;If you want to get 100Mhz, from reference manual:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/3294i469A86A2C5968E62/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;You can get that the input frequency should be 39.0625Khz.&lt;/P&gt;&lt;P&gt;If you use the 8Mhz external crystal choose FEE mode, you will find the you need FRDIV = 8000/39.0625=204.5.&lt;/P&gt;&lt;P&gt;Did the FRDIV have 204.5 data? No, please see this picture:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/3191i5B2F00975424B7A1/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if you choose 10Mhz external crystal, you can get FRDIV= 10000/39.0625=256, from the above picture, you can find FRDIV=0b011 meet the demand.&lt;/P&gt;&lt;P&gt;Actually, from the KDS PE configuration, you also can get that:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/3245i20801D085E5EF703/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wish it helps you!&lt;/P&gt;&lt;P&gt;If you still have question, please let me know!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jingjing&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>Fri, 26 Aug 2016 07:34:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Setting-Core-clock-frequency-of-MK02FN128VFM10-100-MHz/m-p/563012#M33858</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2016-08-26T07:34:04Z</dc:date>
    </item>
    <item>
      <title>Re: Setting Core clock frequency of MK02FN128VFM10 = 100 MHz</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Setting-Core-clock-frequency-of-MK02FN128VFM10-100-MHz/m-p/563013#M33859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;Though in the current scenario I cannot use 10 MHz external crystal, this information was extremely helpful :smileyhappy:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2016 06:07:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Setting-Core-clock-frequency-of-MK02FN128VFM10-100-MHz/m-p/563013#M33859</guid>
      <dc:creator>shrutikharwandi</dc:creator>
      <dc:date>2016-08-29T06:07:22Z</dc:date>
    </item>
  </channel>
</rss>

