<?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 MK64FX512 clock setup in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK64FX512-clock-setup/m-p/697746#M42897</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;On a new board I am trying to get the clock configured on the MK64X512xxx12.&lt;/P&gt;&lt;P&gt;I started from a FRDM-K64F project - I have such a board as well - and then tried to move the project to my new board.&lt;/P&gt;&lt;P&gt;When stepping&amp;nbsp;through the code, it seems to get stuck on the clock configuration. So I figured, ok, clocks on my hardware is different, so I just need to change the clock configuration to match my hardware.&lt;/P&gt;&lt;P&gt;I tried to use the clock tool on MCUXpresso to generate the proper code, but it allways seems to get stuck in&amp;nbsp;the function&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="color: #000000;"&gt;BOARD_BootClockRUN&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;and always when calling&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="color: #000000;"&gt;CLOCK_BootToPeeMode&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;I tried to use the internal 48 MHz clock, the external crystal oscillator (my board has a 16 MHz crystal connected between the EXTAL0 and XTAL0 pins), but nothing seems to work.&lt;/P&gt;&lt;P&gt;However, if I just skip the clock configuration and take the default power on reset values, then my example does work, but then I have a clock of about 20 MHz, while I would like to run it on 120 MHz.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 13 Aug 2017 09:28:35 GMT</pubDate>
    <dc:creator>wimdekimpe</dc:creator>
    <dc:date>2017-08-13T09:28:35Z</dc:date>
    <item>
      <title>MK64FX512 clock setup</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK64FX512-clock-setup/m-p/697746#M42897</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;On a new board I am trying to get the clock configured on the MK64X512xxx12.&lt;/P&gt;&lt;P&gt;I started from a FRDM-K64F project - I have such a board as well - and then tried to move the project to my new board.&lt;/P&gt;&lt;P&gt;When stepping&amp;nbsp;through the code, it seems to get stuck on the clock configuration. So I figured, ok, clocks on my hardware is different, so I just need to change the clock configuration to match my hardware.&lt;/P&gt;&lt;P&gt;I tried to use the clock tool on MCUXpresso to generate the proper code, but it allways seems to get stuck in&amp;nbsp;the function&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="color: #000000;"&gt;BOARD_BootClockRUN&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;and always when calling&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="color: #000000;"&gt;CLOCK_BootToPeeMode&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;I tried to use the internal 48 MHz clock, the external crystal oscillator (my board has a 16 MHz crystal connected between the EXTAL0 and XTAL0 pins), but nothing seems to work.&lt;/P&gt;&lt;P&gt;However, if I just skip the clock configuration and take the default power on reset values, then my example does work, but then I have a clock of about 20 MHz, while I would like to run it on 120 MHz.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Aug 2017 09:28:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK64FX512-clock-setup/m-p/697746#M42897</guid>
      <dc:creator>wimdekimpe</dc:creator>
      <dc:date>2017-08-13T09:28:35Z</dc:date>
    </item>
    <item>
      <title>Re: MK64FX512 clock setup</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK64FX512-clock-setup/m-p/697747#M42898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;Wim,&lt;/P&gt;&lt;P&gt;Have you try to select 'Using oscillator with external crystal(low power)' as OSC mode?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="16MHz K64.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/20421i0250E3B93B1AE034/image-size/large?v=v2&amp;amp;px=999" role="button" title="16MHz K64.png" alt="16MHz K64.png" /&gt;&lt;/span&gt;&lt;BR /&gt;I have attached the file generated by online MCUXpresso clock tool, so that you can test it on the custom board.&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>Tue, 15 Aug 2017 03:16:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK64FX512-clock-setup/m-p/697747#M42898</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2017-08-15T03:16:00Z</dc:date>
    </item>
  </channel>
</rss>

