<?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: How to configure MPC5643L without using external crystal? in MPC5xxx</title>
    <link>https://community.nxp.com/t5/MPC5xxx/How-to-configure-MPC5643L-without-using-external-crystal/m-p/703245#M8933</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have tried it and it seems it is possible to run the whole system from IRC but XOSC still must run otherwise PLL does not stabilize. I am not sure why it is so. I am investigating.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Sep 2017 09:21:57 GMT</pubDate>
    <dc:creator>davidtosenovjan</dc:creator>
    <dc:date>2017-09-19T09:21:57Z</dc:date>
    <item>
      <title>How to configure MPC5643L without using external crystal?</title>
      <link>https://community.nxp.com/t5/MPC5xxx/How-to-configure-MPC5643L-without-using-external-crystal/m-p/703242#M8930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to configure MPC5643L by running with internal RC oscillator only.&amp;nbsp;&amp;nbsp; I'm currently running on a 16 MHz external crystal. The most likely way is to&amp;nbsp;configure FMPLL0 and FMPLL1 to use internal RC oscillator.&amp;nbsp;Right now, all clocks are driven by PLL0 and PLL1. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me to do so.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Sep 2017 18:44:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/How-to-configure-MPC5643L-without-using-external-crystal/m-p/703242#M8930</guid>
      <dc:creator>ningliu</dc:creator>
      <dc:date>2017-09-14T18:44:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure MPC5643L without using external crystal?</title>
      <link>https://community.nxp.com/t5/MPC5xxx/How-to-configure-MPC5643L-without-using-external-crystal/m-p/703243#M8931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Such configuration is possible by configuration of AUX Clock Selector, but internal RC oscillator is imprecise clock thus it is not being used too often.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/30880i4B799B509E079045/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/30834i558A2E174210D703/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Sep 2017 13:09:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/How-to-configure-MPC5643L-without-using-external-crystal/m-p/703243#M8931</guid>
      <dc:creator>davidtosenovjan</dc:creator>
      <dc:date>2017-09-15T13:09:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure MPC5643L without using external crystal?</title>
      <link>https://community.nxp.com/t5/MPC5xxx/How-to-configure-MPC5643L-without-using-external-crystal/m-p/703244#M8932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That’s what I did by configuring:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)      CGM_AC3_SC register to select 16 MHz RC osc for PLL0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2)      CGM_AC4_SC register to select 16 MHz RC osc for PLL1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, the configuration was never successful. The program execution stuck at the while loop, waiting for PLL to lock.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By further reading MPC5643L user manual, chapter 27,  Frequency-Modulated Phase-Locked Loop (FMPLL),&lt;/P&gt;&lt;P&gt;It never mentioned inter RC oscillator can be used as the colock source for PLL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have sample code I can try?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ning&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//////////////////////// The following are the code I used ////////////////////////////////////////////&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   /* Oscillator Output is Disabled as rootclock    */&lt;/P&gt;&lt;P&gt;    /* The End of Count Value for XOSC = 0x80    */&lt;/P&gt;&lt;P&gt;    /* The XOSC Clock Interrupt: Disabled    */&lt;/P&gt;&lt;P&gt;    CGM.AC3_SC.B.SELCTL = 0;                                                                  /* Select 16 MHz RC osc for PLL0 */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    /* PLL0 reference clock source : 16MHz IRC */&lt;/P&gt;&lt;P&gt;CGM.AC4_SC.B.SELCTL = 0;                                                                  /* Select 16 MHz RC osc for PLL1 */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    /* PLL1 reference clock source : 16MHz IRC*/&lt;/P&gt;&lt;P&gt;    CGM.FMPLL[0].CR.R = PLL_VALUE_0 | (0x01 &amp;lt;&amp;lt; 8);&lt;/P&gt;&lt;P&gt;    CGM.FMPLL[0].MR.R = 0x00000000;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    /* The selected Spread Type: Down Spread    */&lt;/P&gt;&lt;P&gt;    /* The Modulation Period for FMPLL0: 0    */&lt;/P&gt;&lt;P&gt;    /* Frequency modulation for PLL: Disabled    */&lt;/P&gt;&lt;P&gt;    /* The Increment Step for FMPLL0: 0    */&lt;/P&gt;&lt;P&gt;CGM.FMPLL[1].CR.R = PLL_VALUE_1 | (0x01 &amp;lt;&amp;lt; 8);&lt;/P&gt;&lt;P&gt;    CGM.FMPLL[1].MR.R = 0x00000000;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    /* The selected Spread Type: Down Spread    */&lt;/P&gt;&lt;P&gt;    /* The Modulation Period for FMPLL1: 0    */&lt;/P&gt;&lt;P&gt;    /* Frequency modulation for PLL: Disabled    */&lt;/P&gt;&lt;P&gt;    /* The Increment Step for FMPLL1: 0    */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    /*&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Sep 2017 13:21:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/How-to-configure-MPC5643L-without-using-external-crystal/m-p/703244#M8932</guid>
      <dc:creator>ningliu</dc:creator>
      <dc:date>2017-09-15T13:21:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure MPC5643L without using external crystal?</title>
      <link>https://community.nxp.com/t5/MPC5xxx/How-to-configure-MPC5643L-without-using-external-crystal/m-p/703245#M8933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have tried it and it seems it is possible to run the whole system from IRC but XOSC still must run otherwise PLL does not stabilize. I am not sure why it is so. I am investigating.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Sep 2017 09:21:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/How-to-configure-MPC5643L-without-using-external-crystal/m-p/703245#M8933</guid>
      <dc:creator>davidtosenovjan</dc:creator>
      <dc:date>2017-09-19T09:21:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure MPC5643L without using external crystal?</title>
      <link>https://community.nxp.com/t5/MPC5xxx/How-to-configure-MPC5643L-without-using-external-crystal/m-p/703246#M8934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Founded. The system cannot run without XOSC, otherwise PLL does not lock (even it is supposed to lock to IRC clock).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/31016iF4D5178746639E74/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case I don't see any benefit to clock the system only by IRC clock as external oscillator must run anyway.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Sep 2017 09:53:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/How-to-configure-MPC5643L-without-using-external-crystal/m-p/703246#M8934</guid>
      <dc:creator>davidtosenovjan</dc:creator>
      <dc:date>2017-09-19T09:53:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure MPC5643L without using external crystal?</title>
      <link>https://community.nxp.com/t5/MPC5xxx/How-to-configure-MPC5643L-without-using-external-crystal/m-p/703247#M8935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!  It’s Ok if the system is not stable.   I’m doing this for MEI purpose.  We have problem om EMI and hoping internal clock would reduce MEI issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ning&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Sep 2017 12:40:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/How-to-configure-MPC5643L-without-using-external-crystal/m-p/703247#M8935</guid>
      <dc:creator>ningliu</dc:creator>
      <dc:date>2017-09-19T12:40:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure MPC5643L without using external crystal?</title>
      <link>https://community.nxp.com/t5/MPC5xxx/How-to-configure-MPC5643L-without-using-external-crystal/m-p/703248#M8936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This agrees with my tests.   Even I can configure PLL0/PLL1 using internal RC,  the PLL does not lock.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I’ve made two versions of board:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)      a circuit has external crystal, but configured PLL0/PLL1 using internal crystal RC:  it worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2)      A circuit has external crystal removed, PLL can not lock.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your kind help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ning&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Sep 2017 13:06:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/How-to-configure-MPC5643L-without-using-external-crystal/m-p/703248#M8936</guid>
      <dc:creator>ningliu</dc:creator>
      <dc:date>2017-09-19T13:06:51Z</dc:date>
    </item>
  </channel>
</rss>

