<?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>CodeWarrior for MCUのトピックKL05 Clock</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/KL05-Clock/m-p/348944#M11210</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a FRDM-KL05Z board and I noticed something peculiar that's bothering me.&lt;/P&gt;&lt;P&gt;The fastest crystal on the board 8.0 MHz.&lt;/P&gt;&lt;P&gt;Yet one of the LED blink projects (in Keil uVision, I think) uses a delay loop that simply increments a local variable. I doesn't use any system timer or interrupt.&lt;/P&gt;&lt;P&gt;The trouble is that given the numbers it is counting to, there is no way it should be able to do this in the time it actually takes. It seems like it is actually running at its max speed of 48Mhz.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a clock multiplier on chip or some other internal reference?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Jan 2015 22:02:42 GMT</pubDate>
    <dc:creator>danreltek</dc:creator>
    <dc:date>2015-01-15T22:02:42Z</dc:date>
    <item>
      <title>KL05 Clock</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/KL05-Clock/m-p/348944#M11210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a FRDM-KL05Z board and I noticed something peculiar that's bothering me.&lt;/P&gt;&lt;P&gt;The fastest crystal on the board 8.0 MHz.&lt;/P&gt;&lt;P&gt;Yet one of the LED blink projects (in Keil uVision, I think) uses a delay loop that simply increments a local variable. I doesn't use any system timer or interrupt.&lt;/P&gt;&lt;P&gt;The trouble is that given the numbers it is counting to, there is no way it should be able to do this in the time it actually takes. It seems like it is actually running at its max speed of 48Mhz.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a clock multiplier on chip or some other internal reference?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2015 22:02:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/KL05-Clock/m-p/348944#M11210</guid>
      <dc:creator>danreltek</dc:creator>
      <dc:date>2015-01-15T22:02:42Z</dc:date>
    </item>
    <item>
      <title>Re: KL05 Clock</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/KL05-Clock/m-p/348945#M11211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are not only one multiplier on the chip,&lt;/P&gt;&lt;P&gt;The selection and multiplexing of system clock sources is controlled and programmed via&lt;/P&gt;&lt;P&gt;the MCG module. The setting of clock dividers and module clock gating for the system&lt;/P&gt;&lt;P&gt;are programmed via the SIM module.&lt;/P&gt;&lt;P&gt;I suggest you firstly see the Clocking diagram(see screenshot below)(KL05RM-&amp;gt;p106).&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/49027i933C126C1AC200B1/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 we can choose clock source from these :&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/48980i32D1EC1F5482C188/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;Hope it helps&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jan 2015 05:19:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/KL05-Clock/m-p/348945#M11211</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2015-01-16T05:19:37Z</dc:date>
    </item>
    <item>
      <title>Re: KL05 Clock</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/KL05-Clock/m-p/348946#M11212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Alice,&lt;/P&gt;&lt;P&gt;So this seems to suggest that when I come to designing a purpose built PCB, I do not have to use any external crystal if I use the 4MHz IRC.&lt;/P&gt;&lt;P&gt;Is that true? If so, I like it a lot!&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jan 2015 23:28:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/KL05-Clock/m-p/348946#M11212</guid>
      <dc:creator>danreltek</dc:creator>
      <dc:date>2015-01-21T23:28:18Z</dc:date>
    </item>
    <item>
      <title>Re: KL05 Clock</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/KL05-Clock/m-p/348947#M11213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, you can calculate it according the clocking diagram above and check the Reference Manual ,&lt;/P&gt;&lt;P&gt;Check whether 4MHz can meet your need, if yes , you need not to use external crystal .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'inherit','serif'; color: #3d3d3d;"&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'inherit','serif'; color: #3d3d3d;"&gt;Alice&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'inherit','serif'; color: #3d3d3d;"&gt;------------------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'inherit','serif'; color: #3d3d3d;"&gt;If this post answers your question, please click the Correct Answer button. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;-----------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;If this post help your question, please click the helpful Answer button. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jan 2015 00:59:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/KL05-Clock/m-p/348947#M11213</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2015-01-22T00:59:31Z</dc:date>
    </item>
    <item>
      <title>Re: KL05 Clock</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/KL05-Clock/m-p/348948#M11214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great!&lt;/P&gt;&lt;P&gt;Thanks Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jan 2015 01:24:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/KL05-Clock/m-p/348948#M11214</guid>
      <dc:creator>danreltek</dc:creator>
      <dc:date>2015-01-23T01:24:21Z</dc:date>
    </item>
    <item>
      <title>Re: KL05 Clock</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/KL05-Clock/m-p/348949#M11215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are welcome ! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2015 02:10:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/KL05-Clock/m-p/348949#M11215</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2015-01-28T02:10:52Z</dc:date>
    </item>
  </channel>
</rss>

