<?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: FRDM-K22F clock options</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-K22F-clock-options/m-p/361247#M18337</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Christian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)&amp;nbsp; Please see here :&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/50473i9FCDF40E3CA76E1B/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;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jiveImage" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the core clock is&amp;nbsp;&amp;nbsp; MCGOUTCLK divided by OUTDIV1 clocks (the SIM_CLKCIV1 register).&amp;nbsp; (About the clock definitios please see the 5.4 Clock definitions of Reference Manual&amp;nbsp; ).&lt;/P&gt;&lt;P&gt;About the clock regiseter cofiguration , need configuration MCG and SIM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Yes,( i have not configuration CLOCK use KSDK, i only check the SDK API RM&amp;nbsp; )&lt;/P&gt;&lt;P&gt;3) NO, EXTAL32 and XTAL32 only can use 32,768KHZ crystal.&lt;/P&gt;&lt;P&gt;&amp;nbsp; while the EXTAL0 pin can use a signal generator .&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>Thu, 12 Feb 2015 07:04:37 GMT</pubDate>
    <dc:creator>Alice_Yang</dc:creator>
    <dc:date>2015-02-12T07:04:37Z</dc:date>
    <item>
      <title>FRDM-K22F clock options</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-K22F-clock-options/m-p/361243#M18333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a couple of questions regarding the main clock that is used in the FRDM-K22F eval board.&lt;/P&gt;&lt;P&gt;1) If my understanding is correct, does the K22F work out of an internal 120MHz clock?&lt;/P&gt;&lt;P&gt;2) If the device works out of an internal clock, is it possible to configure the device to work from an external clock?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have read the documentation, but it is not fully clear to me.&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Feb 2015 23:10:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-K22F-clock-options/m-p/361243#M18333</guid>
      <dc:creator>coopertrooper</dc:creator>
      <dc:date>2015-02-09T23:10:35Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-K22F clock options</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-K22F-clock-options/m-p/361244#M18334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Christian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;K22F not only can use internal clock, but also can use external clock.&lt;/P&gt;&lt;P&gt;And&amp;nbsp; through configuration related clock register to get the core clock 、bus clock and so no.&lt;/P&gt;&lt;P&gt;You can refer to here (it in the Reference manual&amp;nbsp; p156) :&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/50406iBD09107A14853B71/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;And the detail you can refer to the "Chapter 5 Clock Distribution"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Alice&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>Tue, 10 Feb 2015 01:29:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-K22F-clock-options/m-p/361244#M18334</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2015-02-10T01:29:00Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-K22F clock options</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-K22F-clock-options/m-p/361245#M18335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much, this is what I wanted.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2015 15:54:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-K22F-clock-options/m-p/361245#M18335</guid>
      <dc:creator>coopertrooper</dc:creator>
      <dc:date>2015-02-10T15:54:52Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-K22F clock options</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-K22F-clock-options/m-p/361246#M18336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just a follow up on this question.&lt;/P&gt;&lt;P&gt;I am trying to use the xTAL32 32 KHz signal as an experiment to run the MCU. Now I noticed on the documentation that the clock specified to run the ARM coretex-M4 core is named "Core clock".&lt;/P&gt;&lt;P&gt;After that, there is no mention of a "Core Clock".&lt;/P&gt;&lt;P&gt;Question 1) Is the "core clock" the same as the MCGOUTCLK? The Diagram you sent me seems to indicate this is true.&lt;/P&gt;&lt;P&gt;Question 2) The documentation only differentiates between output of FLL/PLLCS, Internal ref clk (I assume 4MHz/32KHz), and External. However, the picture you sent shows 2 external clocks, a "System Oscillator", an "RTC Oscillator", and an IRC48M internal(?) oscillator.&lt;/P&gt;&lt;P&gt;I am assuming that all I need is to add the following line of code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLOCK_HAL_SetClkSrcMode(MCG_BASE,kMcgClkSelExternal);&lt;/P&gt;&lt;P&gt;CLOCK_HAL_SetExternalRefSel0Mode(MCG_BASE,kMcgExternalRefClkSelOsc);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and this is enough to get the device to work on the EXTAL32 clock signal?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Question 3) Can I connect a signal generator to the EXTAL32 and leave XTAL32 floating instead of using a crystal?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2015 23:30:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-K22F-clock-options/m-p/361246#M18336</guid>
      <dc:creator>coopertrooper</dc:creator>
      <dc:date>2015-02-11T23:30:11Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-K22F clock options</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-K22F-clock-options/m-p/361247#M18337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Christian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)&amp;nbsp; Please see here :&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/50473i9FCDF40E3CA76E1B/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;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jiveImage" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the core clock is&amp;nbsp;&amp;nbsp; MCGOUTCLK divided by OUTDIV1 clocks (the SIM_CLKCIV1 register).&amp;nbsp; (About the clock definitios please see the 5.4 Clock definitions of Reference Manual&amp;nbsp; ).&lt;/P&gt;&lt;P&gt;About the clock regiseter cofiguration , need configuration MCG and SIM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Yes,( i have not configuration CLOCK use KSDK, i only check the SDK API RM&amp;nbsp; )&lt;/P&gt;&lt;P&gt;3) NO, EXTAL32 and XTAL32 only can use 32,768KHZ crystal.&lt;/P&gt;&lt;P&gt;&amp;nbsp; while the EXTAL0 pin can use a signal generator .&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>Thu, 12 Feb 2015 07:04:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-K22F-clock-options/m-p/361247#M18337</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2015-02-12T07:04:37Z</dc:date>
    </item>
  </channel>
</rss>

