<?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: MK60 MCG initialization Issue in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK60-MCG-initialization-Issue/m-p/1226600#M59536</link>
    <description>&lt;P&gt;I suggest you to use the function "CLOCK_SetPbeMode()" after this function you could add these lines to change to use the PLL clock:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; MCG-&amp;gt;C1 = (MCG-&amp;gt;C1 &amp;amp; ~MCG_C1_CLKS_MASK) | MCG_C1_CLKS(kMCG_ClkOutSrcOut);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; while (MCG_S_CLKST_VAL != kMCG_ClkOutStatPll)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; {&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;
&lt;P&gt;The function I mentioned contains the necessary methods to configure the PLL and can be found at the SDK.&lt;/P&gt;
&lt;P&gt;Let me know if this is helpful, if you have more questions do not hesitate to ask me.&lt;BR /&gt;Best regards,&lt;BR /&gt;Omar&lt;/P&gt;</description>
    <pubDate>Thu, 04 Feb 2021 19:53:05 GMT</pubDate>
    <dc:creator>Omar_Anguiano</dc:creator>
    <dc:date>2021-02-04T19:53:05Z</dc:date>
    <item>
      <title>MK60 MCG initialization Issue</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK60-MCG-initialization-Issue/m-p/1221669#M59450</link>
      <description>&lt;P&gt;Dears:&lt;/P&gt;&lt;P class="tgt"&gt;&lt;SPAN class="tgt highlight"&gt;In the MK60 power on, power off test, the program will be stuck in the PLL status bit judgment.&lt;/SPAN&gt;&lt;SPAN class="tgt"&gt;Please help to see if there is any solution.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="tgt"&gt;&lt;SPAN class="tgt"&gt;Test conditions: power off for 5 seconds, power on for 30 seconds, there will be a certain probability of MK60 can not start normally.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="tgt"&gt;&lt;SPAN class="tgt"&gt;Test PN: MK60DN512ZVLQ10&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="tgt"&gt;&lt;SPAN class="tgt"&gt;Problem tracking: through software positioning, found that the chip will be stuck at the clock module initialization, the specific location:&lt;/SPAN&gt;&lt;SPAN class="tgt"&gt;Unable to switch from FLL to PLL at PLLST determination.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="tgt"&gt;&lt;SPAN class="tgt"&gt;Additional tests:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="tgt"&gt;&lt;SPAN class="tgt"&gt;Remove the repeated SystermInit () driver called in boot and APP. only run SystermInit ()&amp;nbsp; once&amp;nbsp;at main()&amp;nbsp; in boot code. And tested on different project boards.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="tgt"&gt;&lt;SPAN class="tgt"&gt;1: After SystermInit () is completed, reset the MCU by software and repeat the test several times.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="tgt"&gt;&lt;SPAN class="tgt"&gt;2: Repeat SystermInit () using the While (1) loop in main().&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="tgt"&gt;&lt;SPAN class="tgt"&gt;Both tests fail to start properly and are stuck at&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="tgt"&gt;PLLST judgment.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="tgt"&gt;&lt;SPAN class="tgt"&gt;Other tests: Power supply is stable, external crystal oscillator 50M is normal.&amp;nbsp; And enabled&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="tgt"&gt;LOCRE0 function , but the problem remains.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="tgt"&gt;&lt;SPAN class="tgt"&gt;&lt;SPAN&gt;Looking forward to your reply! Thanks&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="tgt"&gt;&lt;SPAN class="tgt"&gt;&lt;SPAN&gt;Ziv&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jan 2021 05:51:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK60-MCG-initialization-Issue/m-p/1221669#M59450</guid>
      <dc:creator>Makabaka</dc:creator>
      <dc:date>2021-01-27T05:51:33Z</dc:date>
    </item>
    <item>
      <title>Re: MK60 MCG initialization Issue</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK60-MCG-initialization-Issue/m-p/1222848#M59466</link>
      <description>&lt;P&gt;Hello &lt;SPAN class="UserName lia-user-name lia-user-rank-Contributor-I lia-component-message-view-widget-author-username"&gt;&lt;A id="link_12" class="lia-link-navigation lia-page-link lia-user-name-link" style="color: #333f48;" href="https://community.nxp.com/t5/user/viewprofilepage/user-id/181704" target="_self"&gt;&lt;SPAN class=""&gt;Ziv5&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your interest in NXP Semiconductor products and the opportunity to serve you. My name is Omar and I will gladly help you with this.&lt;BR /&gt;I suggest you to use the SDK to initialize the MCG, there you can find examples. Also the Config tool might be useful.&lt;/P&gt;
&lt;P&gt;This figure shows the permitted transitions between the MCG states:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nxf54944_0-1611862558389.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/136022i41C6AC660FAF9ACA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="nxf54944_0-1611862558389.png" alt="nxf54944_0-1611862558389.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Let me know if this is helpful, if you have more questions do not hesitate to ask me.&lt;BR /&gt;Best regards,&lt;BR /&gt;Omar&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2021 19:36:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK60-MCG-initialization-Issue/m-p/1222848#M59466</guid>
      <dc:creator>Omar_Anguiano</dc:creator>
      <dc:date>2021-01-28T19:36:50Z</dc:date>
    </item>
    <item>
      <title>Re: MK60 MCG initialization Issue</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK60-MCG-initialization-Issue/m-p/1223603#M59476</link>
      <description>Hi Omar: The MCG mode conversion satisfies this figure. Now our problem is that after setting the PLLS bit of the MCG_C6 register to 1 in the MCG initialization, the PLLST bit of the MCG_S is not set to 1.As a result, our program is stuck at the judgment PLLST==1. The probability of this problem is very low, about a few times in thousand , and not fixed. And It doesn't happen every time when reset. Please give some suggestions,.Thanks</description>
      <pubDate>Sun, 31 Jan 2021 13:37:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK60-MCG-initialization-Issue/m-p/1223603#M59476</guid>
      <dc:creator>Makabaka</dc:creator>
      <dc:date>2021-01-31T13:37:19Z</dc:date>
    </item>
    <item>
      <title>Re: MK60 MCG initialization Issue</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK60-MCG-initialization-Issue/m-p/1226600#M59536</link>
      <description>&lt;P&gt;I suggest you to use the function "CLOCK_SetPbeMode()" after this function you could add these lines to change to use the PLL clock:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; MCG-&amp;gt;C1 = (MCG-&amp;gt;C1 &amp;amp; ~MCG_C1_CLKS_MASK) | MCG_C1_CLKS(kMCG_ClkOutSrcOut);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; while (MCG_S_CLKST_VAL != kMCG_ClkOutStatPll)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; {&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;
&lt;P&gt;The function I mentioned contains the necessary methods to configure the PLL and can be found at the SDK.&lt;/P&gt;
&lt;P&gt;Let me know if this is helpful, if you have more questions do not hesitate to ask me.&lt;BR /&gt;Best regards,&lt;BR /&gt;Omar&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2021 19:53:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK60-MCG-initialization-Issue/m-p/1226600#M59536</guid>
      <dc:creator>Omar_Anguiano</dc:creator>
      <dc:date>2021-02-04T19:53:05Z</dc:date>
    </item>
    <item>
      <title>Re: MK60 MCG initialization Issue</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK60-MCG-initialization-Issue/m-p/1227264#M59542</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/181704"&gt;@Makabaka&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could I suggest that you use the MCUXpresso Clock Wizard rather than try to generate your own clock initialization files?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know it's somewhat cranky, but if you can get your configuration with your crystal/clock options the desired clock speeds without any errors then it will generate the correct clock initialization files.&amp;nbsp;&lt;/P&gt;&lt;P&gt;myke&lt;/P&gt;</description>
      <pubDate>Fri, 05 Feb 2021 16:50:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK60-MCG-initialization-Issue/m-p/1227264#M59542</guid>
      <dc:creator>myke_predko</dc:creator>
      <dc:date>2021-02-05T16:50:31Z</dc:date>
    </item>
  </channel>
</rss>

