<?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 What is the clock configuration? in Kinetis Design Studio</title>
    <link>https://community.nxp.com/t5/Kinetis-Design-Studio/What-is-the-clock-configuration/m-p/618129#M7857</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The MCG + SIM + OSC + RTC + IRC + ... make for a very confusing set of registers to decipher to determine the actual clock setup in use. &amp;nbsp;I have inherited a project and I need to determine how its clocks are configured.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way I can dump the relevant registers to a file using the debugger and import them into KinetisExpert tool and see what the current clock configuration is?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Mar 2017 23:19:34 GMT</pubDate>
    <dc:creator>chriskeeser</dc:creator>
    <dc:date>2017-03-24T23:19:34Z</dc:date>
    <item>
      <title>What is the clock configuration?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/What-is-the-clock-configuration/m-p/618129#M7857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The MCG + SIM + OSC + RTC + IRC + ... make for a very confusing set of registers to decipher to determine the actual clock setup in use. &amp;nbsp;I have inherited a project and I need to determine how its clocks are configured.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way I can dump the relevant registers to a file using the debugger and import them into KinetisExpert tool and see what the current clock configuration is?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Mar 2017 23:19:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/What-is-the-clock-configuration/m-p/618129#M7857</guid>
      <dc:creator>chriskeeser</dc:creator>
      <dc:date>2017-03-24T23:19:34Z</dc:date>
    </item>
    <item>
      <title>Re: What is the clock configuration?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/What-is-the-clock-configuration/m-p/618130#M7858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Chris,&lt;/P&gt;&lt;P&gt;- The clock configuration is a&amp;nbsp; too that directly configure the clock , then generate clock_config.c and&amp;nbsp; .h files.&lt;/P&gt;&lt;P&gt;add the two files into your KSDK project directly .&lt;/P&gt;&lt;P&gt;For example , if we want use 48M core clock , we can directly set core clock to 48M:&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/15693iC3F77AA6F276F0E2/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;From the CLocks Diagram we can see the detail about&amp;nbsp; how to generate the 48M core clock :&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/15735iF771C1C1C0341D6B/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;- About the clock part , I recommend you refer to the Clocking diagram of Reference Manual of your chip&lt;/P&gt;&lt;P&gt;to analysis : ( below is the clock diagram for k40, please find the right one for your chip)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/15768i35D7BD0F22F8EB30/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Mar 2017 02:57:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/What-is-the-clock-configuration/m-p/618130#M7858</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2017-03-27T02:57:09Z</dc:date>
    </item>
    <item>
      <title>Re: What is the clock configuration?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/What-is-the-clock-configuration/m-p/618131#M7859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chris,&lt;/P&gt;&lt;P&gt;clock_configuration.c can be imported into &lt;STRONG&gt;MCUXpresso Config Tools&lt;/STRONG&gt; using &lt;EM&gt;main menu - File - Import - Clocks Tool - Import Source Files&lt;/EM&gt;. Then see "Registers" view.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MCUXpresso Config Tools&lt;/STRONG&gt; is updated version (replacement) of Kinetis Expert toolset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MCUXpresso Config Tools&lt;/STRONG&gt; community can be found here:&amp;nbsp; &lt;A _jive_internal="true" href="https://community.nxp.com/community/mcuxpresso/mcuxpresso-config"&gt;https://community.nxp.com/community/mcuxpresso/mcuxpresso-config&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Marek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Aug 2017 06:53:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/What-is-the-clock-configuration/m-p/618131#M7859</guid>
      <dc:creator>marek-trmac</dc:creator>
      <dc:date>2017-08-16T06:53:55Z</dc:date>
    </item>
    <item>
      <title>Re: What is the clock configuration?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/What-is-the-clock-configuration/m-p/618132#M7860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Marek,&lt;/P&gt;&lt;P&gt;Does importing the source file require the presence of a special yaml comment? &amp;nbsp;I need to work with source files generated with a very old version of the KSDK (1.1) which are likely going to be missing any special data contained in comments.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Aug 2017 19:07:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/What-is-the-clock-configuration/m-p/618132#M7860</guid>
      <dc:creator>chriskeeser</dc:creator>
      <dc:date>2017-08-16T19:07:37Z</dc:date>
    </item>
    <item>
      <title>Re: What is the clock configuration?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/What-is-the-clock-configuration/m-p/618133#M7861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chris,&lt;/P&gt;&lt;P&gt;MCUXPresso Config Tools support SDK from version 2. The older versions are supported by Processor Expert in KDS3.2. Processor Expert is capable to generate clock configuration based on settings in GUI.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Aug 2017 06:18:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/What-is-the-clock-configuration/m-p/618133#M7861</guid>
      <dc:creator>marek-trmac</dc:creator>
      <dc:date>2017-08-17T06:18:54Z</dc:date>
    </item>
  </channel>
</rss>

