<?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: Does it work to use only OSC1 for K70? in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Does-it-work-to-use-only-OSC1-for-K70/m-p/308593#M13191</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Mark:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to the reference manual, seems that you can use MCGPLL0CLK or MCGPLL1CLK to provide clock to the LCD module, but not MCGFLLCLK. Check the clocking options:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="LCD_clocks.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/43500i07A593ED037A9BFA/image-size/large?v=v2&amp;amp;px=999" role="button" title="LCD_clocks.png" alt="LCD_clocks.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;Jorge Gonzalez&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>Sat, 05 Apr 2014 00:32:53 GMT</pubDate>
    <dc:creator>Jorge_Gonzalez</dc:creator>
    <dc:date>2014-04-05T00:32:53Z</dc:date>
    <item>
      <title>Does it work to use only OSC1 for K70?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Does-it-work-to-use-only-OSC1-for-K70/m-p/308590#M13188</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;&amp;nbsp; My hardware has only OSC1 as external clock source.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; I want to use this OSC1 as external clock source to driver PLL0/PLL1 for&amp;nbsp; MCG module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; My questions are,&lt;/P&gt;&lt;P&gt;&amp;nbsp; 1. Does it work? Per some discussions here I know some restrictions on using OSC1 to drive MCGOUT.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; So, if my hardware has only OSC1(no OSC0 and RTC), this system can work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; 2. If this system can work, where I can find sample code ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I use CW 10.5, project is base on KINETIS_120MHZ_SC.zip.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Apr 2014 09:06:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Does-it-work-to-use-only-OSC1-for-K70/m-p/308590#M13188</guid>
      <dc:creator>applefly</dc:creator>
      <dc:date>2014-04-02T09:06:12Z</dc:date>
    </item>
    <item>
      <title>Re: Does it work to use only OSC1 for K70?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Does-it-work-to-use-only-OSC1-for-K70/m-p/308591#M13189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Mark:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately the answer is no, you cannot use OSC1 alone. At least you have to temporarily run MCGOUT from OSC0 *or* RTC and then switch over to OSC1 to work in PEE mode. The restriction here is that you need to pass through FBE and PBE clock modes, and such modes require an external reference clock, which can be either of OSC0 or RTC, but never OSC1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The next picture shows my point. In red are the clock path and modes that need OSC0 or RTC, while in blue is the only mode that supports using OSC1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the other hand, you can notice that the system could work using only OSC0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Clock_options.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/43440iCB8808052BF3605D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Clock_options.png" alt="Clock_options.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps to clarify.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;Jorge Gonzalez&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>Wed, 02 Apr 2014 13:37:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Does-it-work-to-use-only-OSC1-for-K70/m-p/308591#M13189</guid>
      <dc:creator>Jorge_Gonzalez</dc:creator>
      <dc:date>2014-04-02T13:37:27Z</dc:date>
    </item>
    <item>
      <title>Re: Does it work to use only OSC1 for K70?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Does-it-work-to-use-only-OSC1-for-K70/m-p/308592#M13190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me clarify my position...&lt;/P&gt;&lt;P&gt;OK, from the picture in your answer the MCGOUTCLK doesn't work.&lt;/P&gt;&lt;P&gt;How about the MCGFLLCLK, MCGPLL0CLK and MCGPLL1CLK?&lt;/P&gt;&lt;P&gt;Use the hardware with OSC1 alone, may I enable the LCD control to active a TFT panel ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Apr 2014 08:55:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Does-it-work-to-use-only-OSC1-for-K70/m-p/308592#M13190</guid>
      <dc:creator>applefly</dc:creator>
      <dc:date>2014-04-03T08:55:03Z</dc:date>
    </item>
    <item>
      <title>Re: Does it work to use only OSC1 for K70?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Does-it-work-to-use-only-OSC1-for-K70/m-p/308593#M13191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Mark:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to the reference manual, seems that you can use MCGPLL0CLK or MCGPLL1CLK to provide clock to the LCD module, but not MCGFLLCLK. Check the clocking options:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="LCD_clocks.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/43500i07A593ED037A9BFA/image-size/large?v=v2&amp;amp;px=999" role="button" title="LCD_clocks.png" alt="LCD_clocks.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;Jorge Gonzalez&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>Sat, 05 Apr 2014 00:32:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Does-it-work-to-use-only-OSC1-for-K70/m-p/308593#M13191</guid>
      <dc:creator>Jorge_Gonzalez</dc:creator>
      <dc:date>2014-04-05T00:32:53Z</dc:date>
    </item>
    <item>
      <title>Re: Does it work to use only OSC1 for K70?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Does-it-work-to-use-only-OSC1-for-K70/m-p/308594#M13192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jorge,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I faced the same problem as am trying to use OSC1 as external reference for MCGOUT. As you said that after entering into PEE mode, what is the configuration settings to switch back to OSC1 from OSC0 and such that both PLLs are having external reference from OSC1 only&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jan 2016 05:54:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Does-it-work-to-use-only-OSC1-for-K70/m-p/308594#M13192</guid>
      <dc:creator>rameshgoud</dc:creator>
      <dc:date>2016-01-20T05:54:51Z</dc:date>
    </item>
    <item>
      <title>Re: Does it work to use only OSC1 for K70?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Does-it-work-to-use-only-OSC1-for-K70/m-p/308595#M13193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is the code that i am using for MCG initialization. I am using K20 controller. I have only attached OSC1 still my code is working properly&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MCG-&amp;gt;C2 = (uint8_t)0x1Cu;&lt;/P&gt;&lt;P&gt;MCG-&amp;gt;C10 = (uint8_t)0x1Cu;&lt;/P&gt;&lt;P&gt;MCG-&amp;gt;C1 = (uint8_t)0xA0u;&lt;/P&gt;&lt;P&gt;MCG-&amp;gt;C5 = (uint8_t)0x80u; &lt;/P&gt;&lt;P&gt;MCG-&amp;gt;C6 = (uint8_t)0x00u;&lt;/P&gt;&lt;P&gt;MCG-&amp;gt;C6 = (uint8_t)0x40u;&lt;/P&gt;&lt;P&gt;while((MCG-&amp;gt;S &amp;amp; MCG_S_PLLST_MASK) == 0u);&lt;/P&gt;&lt;P&gt;while((MCG-&amp;gt;S &amp;amp; MCG_S_LOCK0_MASK) == 0u);&lt;/P&gt;&lt;P&gt;MCG-&amp;gt;C1 = (uint8_t)0x20u;&lt;/P&gt;&lt;P&gt;while((MCG-&amp;gt;S &amp;amp; 0x0Cu) != 0x0Cu);&lt;/P&gt;&lt;P&gt;while((MCG-&amp;gt;S &amp;amp; MCG_S_LOCK0_MASK) == 0u);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Apr 2016 08:41:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Does-it-work-to-use-only-OSC1-for-K70/m-p/308595#M13193</guid>
      <dc:creator>waqasbutt</dc:creator>
      <dc:date>2016-04-13T08:41:42Z</dc:date>
    </item>
  </channel>
</rss>

