<?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: Need help setting up MCG on K60 With Ext Osc1 in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Need-help-setting-up-MCG-on-K60-With-Ext-Osc1/m-p/250453#M7047</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Akash,&lt;/P&gt;&lt;P&gt;Using OSC1 only is not as straightforward as moving the crystal.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: TimesLTStd-Roman; font-size: 10pt;"&gt;A second oscillator has also been added (OSC1). OSC1 can be used as the reference clock source for one or both of the&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: TimesLTStd-Roman; font-size: 10pt;"&gt;PLLs, but there are some restrictions on its use. The following items should be taken into account if you are considering&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: TimesLTStd-Roman; font-size: 10pt;"&gt;using OSC1 as the main clock input on your board:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: TimesLTStd-Roman; font-size: 10pt;"&gt;• Either OSC0 or OSC1 can be used as the reference clock source for the PLL being used as MCGCLKOUT.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: TimesLTStd-Roman; font-size: 10pt;"&gt;• Only OSC0 or the RTC OSC can be used as the FLL reference clock so one of those clock sources MUST be available&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: TimesLTStd-Roman; font-size: 10pt;"&gt;to the MCG if using FEE, FBE, or BLPE clock modes or when transitioning from the reset default FEI mode to PBE&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: TimesLTStd-Roman; font-size: 10pt;"&gt;mode (or any “external” clocked MCG mode). You must transition through FBE mode to enter PEE mode and use the&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: TimesLTStd-Roman; font-size: 10pt;"&gt;PLL as the MCGCLKOUT source.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: TimesLTStd-Roman; font-size: 10pt;"&gt;• If OSC1 is to be used it must be configured in MCG_C10 and enabled in OSC1_CR.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: TimesLTStd-Roman; font-size: 10pt;"&gt;• If OSC1 is the only external clock source then the only MCG clock modes available are FEI, FBI and BLPI.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;David &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Feb 2013 20:12:10 GMT</pubDate>
    <dc:creator>DavidS</dc:creator>
    <dc:date>2013-02-11T20:12:10Z</dc:date>
    <item>
      <title>Need help setting up MCG on K60 With Ext Osc1</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Need-help-setting-up-MCG-on-K60-With-Ext-Osc1/m-p/250452#M7046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #ffffff;"&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff;"&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;I am using MK60FN1M0VLQ12 processor. Earlier I have connected 8 MHz crystal to &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;EXTAL0/XTAL0 (Ext Osc 0). I have successfully &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;run K60 at 120 MHz.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;The program is attached in ExtOsc0.c&lt;/P&gt;&lt;P style="background-color: #ffffff;"&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;The Clock_Init() initializes K60 clock. The pll_init() function initializes MCG and PLL.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff;"&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Now due to some modification in circuit , &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;I want to run a K60 at 120 MHz using a 8 MHz crystal connected to EXTAL1/XTAL1(Ext Osc 1). &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Nothing connected to Ext Osc 0.But I am not able to initialize the MCG. The program is attached in ExtOsc1.c&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff;"&gt;&lt;SPAN style=": ; background-color: #ffffff; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;I am not working in Code-warrior platform.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px; background-color: #ffffff;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff;"&gt;Thank you in advance.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px; background-color: #ffffff;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff;"&gt;&lt;SPAN style="font-family: inherit; font-size: 10pt; font-style: inherit; line-height: 1.5em;"&gt;Please advise.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-337644"&gt;ExtOsc0.c.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-337644"&gt;ExtOsc1.c.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2013 14:04:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Need-help-setting-up-MCG-on-K60-With-Ext-Osc1/m-p/250452#M7046</guid>
      <dc:creator>akashdeshmukh</dc:creator>
      <dc:date>2013-02-07T14:04:42Z</dc:date>
    </item>
    <item>
      <title>Re: Need help setting up MCG on K60 With Ext Osc1</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Need-help-setting-up-MCG-on-K60-With-Ext-Osc1/m-p/250453#M7047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Akash,&lt;/P&gt;&lt;P&gt;Using OSC1 only is not as straightforward as moving the crystal.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: TimesLTStd-Roman; font-size: 10pt;"&gt;A second oscillator has also been added (OSC1). OSC1 can be used as the reference clock source for one or both of the&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: TimesLTStd-Roman; font-size: 10pt;"&gt;PLLs, but there are some restrictions on its use. The following items should be taken into account if you are considering&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: TimesLTStd-Roman; font-size: 10pt;"&gt;using OSC1 as the main clock input on your board:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: TimesLTStd-Roman; font-size: 10pt;"&gt;• Either OSC0 or OSC1 can be used as the reference clock source for the PLL being used as MCGCLKOUT.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: TimesLTStd-Roman; font-size: 10pt;"&gt;• Only OSC0 or the RTC OSC can be used as the FLL reference clock so one of those clock sources MUST be available&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: TimesLTStd-Roman; font-size: 10pt;"&gt;to the MCG if using FEE, FBE, or BLPE clock modes or when transitioning from the reset default FEI mode to PBE&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: TimesLTStd-Roman; font-size: 10pt;"&gt;mode (or any “external” clocked MCG mode). You must transition through FBE mode to enter PEE mode and use the&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: TimesLTStd-Roman; font-size: 10pt;"&gt;PLL as the MCGCLKOUT source.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: TimesLTStd-Roman; font-size: 10pt;"&gt;• If OSC1 is to be used it must be configured in MCG_C10 and enabled in OSC1_CR.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: TimesLTStd-Roman; font-size: 10pt;"&gt;• If OSC1 is the only external clock source then the only MCG clock modes available are FEI, FBI and BLPI.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;David &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Feb 2013 20:12:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Need-help-setting-up-MCG-on-K60-With-Ext-Osc1/m-p/250453#M7047</guid>
      <dc:creator>DavidS</dc:creator>
      <dc:date>2013-02-11T20:12:10Z</dc:date>
    </item>
  </channel>
</rss>

