<?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: Forced to Run Core Clock at Half Speed in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Forced-to-Run-Core-Clock-at-Half-Speed/m-p/459115#M27445</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm surprised I was able to run with the 56 MHz bus speed since that violates the &amp;lt;= 50 MHz rule in normal run mode. Anywho you are absolutely correct, I needed to allow high speed run modes from the CPU component:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/25397i96025254A8FCEF02/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Nov 2015 20:45:27 GMT</pubDate>
    <dc:creator>derekschumacher</dc:creator>
    <dc:date>2015-11-05T20:45:27Z</dc:date>
    <item>
      <title>Forced to Run Core Clock at Half Speed</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Forced-to-Run-Core-Clock-at-Half-Speed/m-p/459113#M27443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Using processor expert, I am trying to set up the microcontroller to run off of an external clock source. I think we have the processor expert settings mostly figured out, but for reasons that are unclear to me, we can't run the core clock at the MCG output frequency. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;We are using the MK22F256VLL12. Here is the working configuration (note core clock speed of 56 MHz):&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Capture.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/1143i13685E3DB5727ACB/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;And here is the non-working configuration (note core clock speed of 112 MHz):&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Capture2.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/1193iC7150A0C5D417584/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture2.PNG" alt="Capture2.PNG" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;According to this image from the manual, it really seems like we should be able to run the core clock at the MCGOUTCLK frequency.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Capture.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/23056iFD13234FC47FDD65/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Is this an error in processor expert? Or have I neglected to do something important with the configuration? Or am I&amp;nbsp; just misunderstanding how the MCG works?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Nov 2015 18:55:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Forced-to-Run-Core-Clock-at-Half-Speed/m-p/459113#M27443</guid>
      <dc:creator>derekschumacher</dc:creator>
      <dc:date>2015-11-05T18:55:25Z</dc:date>
    </item>
    <item>
      <title>Re: Forced to Run Core Clock at Half Speed</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Forced-to-Run-Core-Clock-at-Half-Speed/m-p/459114#M27444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Derek&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are using the K22F&lt;STRONG&gt;N&lt;/STRONG&gt;256 you may need to configure the &lt;SPAN style="text-decoration: underline;"&gt;high speed run mode&lt;/SPAN&gt; (maybe at a different location in the tool?).&lt;/P&gt;&lt;P&gt;In the normal RUN mode the maximum specified core/system speeds are 80MHz and the bus clock needs to be &amp;lt;= 50MHz.&lt;/P&gt;&lt;P&gt;Flash can be &amp;lt;= 26.667 MHz.&lt;/P&gt;&lt;P&gt;If you configure high speed mode of operation you can then work at the full 120MHz core/system speed but you &lt;EM&gt;won't be able to program or erase flash in this mode&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below are the optimal configurations for the K22FN256 in the two modes as shown by the FRDM-K22F running in the uTasker simulator:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/1474i3AD578408A5BEF9A/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;RUN mode&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/23161iA956A63696A54A33/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;High-Speed RUN mode.&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;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Kinetis: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.utasker.com/kinetis.html" rel="nofollow"&gt;http://www.utasker.com/kinetis.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;K22: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.utasker.com/kinetis/FRDM-K22F.html" rel="nofollow"&gt;http://www.utasker.com/kinetis/FRDM-K22F.html&lt;/A&gt;&lt;SPAN&gt; / &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.utasker.com/kinetis/TWR-K22F120M.html" rel="nofollow"&gt;http://www.utasker.com/kinetis/TWR-K22F120M.html&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;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #7ed529;"&gt;:smileyinfo: Out-of-the-box support for 46 Kinetis boards and 10 IDEs (&lt;EM&gt;460 combinations from a single code source with no porting required&lt;/EM&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Nov 2015 19:59:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Forced-to-Run-Core-Clock-at-Half-Speed/m-p/459114#M27444</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2015-11-05T19:59:32Z</dc:date>
    </item>
    <item>
      <title>Re: Forced to Run Core Clock at Half Speed</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Forced-to-Run-Core-Clock-at-Half-Speed/m-p/459115#M27445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm surprised I was able to run with the 56 MHz bus speed since that violates the &amp;lt;= 50 MHz rule in normal run mode. Anywho you are absolutely correct, I needed to allow high speed run modes from the CPU component:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/25397i96025254A8FCEF02/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Nov 2015 20:45:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Forced-to-Run-Core-Clock-at-Half-Speed/m-p/459115#M27445</guid>
      <dc:creator>derekschumacher</dc:creator>
      <dc:date>2015-11-05T20:45:27Z</dc:date>
    </item>
    <item>
      <title>Re: Forced to Run Core Clock at Half Speed</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Forced-to-Run-Core-Clock-at-Half-Speed/m-p/459116#M27446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Derek&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually I have had no problems (in the lab) running the K22FNxxx at 120MHz core and 60MHz bus, and programming Flash (in normal RUN mode).&lt;/P&gt;&lt;P&gt;In HS-RUN Flash operations &lt;SPAN style="text-decoration: underline;"&gt;will&lt;/SPAN&gt; return errors (and there are a few other chip restrictions).&lt;/P&gt;&lt;P&gt;It is however not recommended to use these settings out-of-spec. in (real) products, although they probably will work (under normal conditions).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have seen various 'products' based on the Teensy 3.2 (72MHz K20) using 96MHz core clock. Some people obviously don't really care and find it exciting to live dangerously and over-clock their products....&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, 05 Nov 2015 21:11:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Forced-to-Run-Core-Clock-at-Half-Speed/m-p/459116#M27446</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2015-11-05T21:11:10Z</dc:date>
    </item>
    <item>
      <title>Re: Forced to Run Core Clock at Half Speed</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Forced-to-Run-Core-Clock-at-Half-Speed/m-p/459117#M27447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just to clarify, am I ok to run in high speed mode during operation, as long as I am within the spec for high-speed operation? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You're recommendation is just to program in normal-speed operation yes?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Nov 2015 22:24:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Forced-to-Run-Core-Clock-at-Half-Speed/m-p/459117#M27447</guid>
      <dc:creator>derekschumacher</dc:creator>
      <dc:date>2015-11-05T22:24:46Z</dc:date>
    </item>
    <item>
      <title>Re: Forced to Run Core Clock at Half Speed</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Forced-to-Run-Core-Clock-at-Half-Speed/m-p/459118#M27448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Derek&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These are the HSRUN mode restritions. Otherwise you can use stay in that mode and use the full speed of the device.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/25973i5C0861232AD18ADB/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&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, 05 Nov 2015 22:36:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Forced-to-Run-Core-Clock-at-Half-Speed/m-p/459118#M27448</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2015-11-05T22:36:27Z</dc:date>
    </item>
  </channel>
</rss>

