<?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: MKM34256 cannot pass oscillator initialization in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKM34256-cannot-pass-oscillator-initialization/m-p/1317051#M61124</link>
    <description>&lt;P&gt;Hello Diego,&lt;/P&gt;&lt;P&gt;Thank for your reply and this is very helpful.&lt;/P&gt;&lt;P&gt;Following is the crystal circuit.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="martinzhang_0-1627969156105.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/151615i2DDB2301FBF9441D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="martinzhang_0-1627969156105.png" alt="martinzhang_0-1627969156105.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now, all the devices work well and I will check it when this issue come again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 03 Aug 2021 05:43:36 GMT</pubDate>
    <dc:creator>martinzhang</dc:creator>
    <dc:date>2021-08-03T05:43:36Z</dc:date>
    <item>
      <title>MKM34256 cannot pass oscillator initialization</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKM34256-cannot-pass-oscillator-initialization/m-p/1314958#M61097</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;There is a batch of MKM34256 work well for a long time, but few of them got a problem which the oscillator cannot be initialized correctly sometime. The code is stuck in following line:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;if (MCG_C2 &amp;amp; MCG_C2_EREFS0_MASK) { WAIT_FOR_FLAG (MCG_C2, EREFS0, OSCINIT0); }&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please let me know if you know the reason of this issue.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you very much!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jul 2021 03:15:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKM34256-cannot-pass-oscillator-initialization/m-p/1314958#M61097</guid>
      <dc:creator>martinzhang</dc:creator>
      <dc:date>2021-07-29T03:15:06Z</dc:date>
    </item>
    <item>
      <title>Re: MKM34256 cannot pass oscillator initialization</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKM34256-cannot-pass-oscillator-initialization/m-p/1317030#M61122</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/104462"&gt;@martinzhang&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope you are doing well!&lt;/P&gt;
&lt;P&gt;From the description,&amp;nbsp; it seems that the external crystal/resonator&amp;nbsp; is not being able to get the sufficient stability or number of clock cycles in certain units. See this section below.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="diego_charles_0-1627963754938.png" style="width: 545px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/151609i6343B990C1ECB37D/image-dimensions/545x177?v=v2" width="545" height="177" role="button" title="diego_charles_0-1627963754938.png" alt="diego_charles_0-1627963754938.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I am thinking in the following things:&lt;/P&gt;
&lt;P&gt;What is the frequency of your external crystal or resonator? This to will also give us opportunity to review the oscillator circuitry according to Table 36-2&amp;nbsp; of the RM.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;When the MCU gets stop at oscillator initialization ,&amp;nbsp; did it have&amp;nbsp; low power mode setting/transition ; transition of MCG mode ; or was coming out of a&amp;nbsp; Power on cycle?&lt;/P&gt;
&lt;P&gt;This app note&lt;A href="https://www.nxp.com/docs/en/application-note/AN3208.pdf" target="_self"&gt;&amp;nbsp;Crystal Oscillator Troubleshooting Guide&amp;nbsp;&lt;/A&gt;&amp;nbsp;could also be worthy for our trouble shooting task&amp;nbsp; . Here is an excerpt , that is related to the hypothesis that I mentioned above.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="diego_charles_1-1627964939299.png" style="width: 565px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/151610i863A51870B364F98/image-dimensions/565x132?v=v2" width="565" height="132" role="button" title="diego_charles_1-1627964939299.png" alt="diego_charles_1-1627964939299.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Please accept my apologies for the delay&lt;/P&gt;
&lt;P&gt;Diego.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Aug 2021 04:31:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKM34256-cannot-pass-oscillator-initialization/m-p/1317030#M61122</guid>
      <dc:creator>diego_charles</dc:creator>
      <dc:date>2021-08-03T04:31:11Z</dc:date>
    </item>
    <item>
      <title>Re: MKM34256 cannot pass oscillator initialization</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKM34256-cannot-pass-oscillator-initialization/m-p/1317051#M61124</link>
      <description>&lt;P&gt;Hello Diego,&lt;/P&gt;&lt;P&gt;Thank for your reply and this is very helpful.&lt;/P&gt;&lt;P&gt;Following is the crystal circuit.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="martinzhang_0-1627969156105.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/151615i2DDB2301FBF9441D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="martinzhang_0-1627969156105.png" alt="martinzhang_0-1627969156105.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now, all the devices work well and I will check it when this issue come again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Aug 2021 05:43:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKM34256-cannot-pass-oscillator-initialization/m-p/1317051#M61124</guid>
      <dc:creator>martinzhang</dc:creator>
      <dc:date>2021-08-03T05:43:36Z</dc:date>
    </item>
    <item>
      <title>Re: MKM34256 cannot pass oscillator initialization</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKM34256-cannot-pass-oscillator-initialization/m-p/1317331#M61127</link>
      <description>&lt;P&gt;If the 22 pF capacitors and all the layout parasitics balance out perfectly such a circuit will not start, the 1M resistor is there to fix this.&lt;BR /&gt;The odds of this are small, except for Murphy's Law saying otherwise.&lt;BR /&gt;&lt;BR /&gt;If it continues to be a problem replace one of the caps with one of a slightly different value.&lt;BR /&gt;Some chips have internal caps that can be enabled.&amp;nbsp; Don't enable those at the same time as external ones.&lt;BR /&gt;&lt;BR /&gt;The caps should match the loading specified by the crystal manufacture.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Aug 2021 12:10:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKM34256-cannot-pass-oscillator-initialization/m-p/1317331#M61127</guid>
      <dc:creator>bobpaddock</dc:creator>
      <dc:date>2021-08-03T12:10:15Z</dc:date>
    </item>
  </channel>
</rss>

