<?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>Other NXP ProductsのトピックRe: PPC5606 external clock problems</title>
    <link>https://community.nxp.com/t5/Other-NXP-Products/PPC5606-external-clock-problems/m-p/210586#M2328</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Problem solved, well sort of. The code was okay, everything works fine with an external oscillator.&lt;P&gt;The problem was getting the oscillator to run. I tried two different 8 MHz and 16 MHz crystals - both refused to start up, the capacitor selection must be critical. So I did myself a favor and designed a crystal osc can into my design, and now it's working reliably.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Mar 2012 19:36:08 GMT</pubDate>
    <dc:creator>Oliver</dc:creator>
    <dc:date>2012-03-15T19:36:08Z</dc:date>
    <item>
      <title>PPC5606 external clock problems</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/PPC5606-external-clock-problems/m-p/210585#M2327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone, I am having trouble switching a PPC5606 to external clock.&lt;/P&gt;&lt;P&gt;I'm basically trying to run the demo code CW_FTF_V3 from "Demo code to test functionality of Spectrum Cluster Board". Now, the demo code is 3 years old, and my CPU has mask set 1M25V, maybe there has been some change in the clock module? I checked the code against the MPC5606RM, and I haven't found what may be the problem. Anyway, here's the code:&lt;/P&gt;&lt;PRE&gt;// disable watchdog SWT.SR.R = 0x0000c520; /* key */ SWT.SR.R = 0x0000d928; /* key */ SWT.CR.R = 0x8000010A; /* disable WEN */ /* Enbable all peripheral clocks */ CGM.SCDC.R = 0x80808080; /* Setting RUN Configuration Register ME_RUN_PC[0] */ ME.RUNPC[0].R=0x000000FE; /* Peripheral ON in every mode */ CGM.OCDSSC.B.SELCTL=1; //Select Fast IRC (16 MHz) as clock output /* Re-enter in DRUN mode to update */ ME.MCTL.R = 0x30005AF0; /* Mode &amp;amp; Key */ ME.MCTL.R = 0x3000A50F; /* Mode &amp;amp; Key */ ME.DRUN.B.XOSC0ON=1; /* Switch on external osc */ ME.DRUN.B.SYSCLK=3; /* Select external osc */ /* RE enter the drun mode, to update the configuration */ ME.MCTL.R = 0x30005AF0; /* Mode &amp;amp; Key */ ME.MCTL.R = 0x3000A50F; /* Mode &amp;amp; Key inverted */ while(ME.GS.B.S_OSC==0) ; /* Wait for external osc to stabilize */      ;&lt;/PRE&gt;&lt;P&gt;...and this is where it hangs. External osc never comes up. However, it's a simple 8 MHz crystal with a pair of 20p caps to ground, about 5mm from the CPU pins. I don't see why it wouldn't oscillate. Am I missing something? Is there some sort of external requirement to switch the osc on? Or is there a bit that needs to be set somewhere to enable it?&lt;/P&gt;&lt;P&gt;Any help would be appreciated!&lt;/P&gt;&lt;P&gt;Best regards, Oliver&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Feb 2012 03:25:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/PPC5606-external-clock-problems/m-p/210585#M2327</guid>
      <dc:creator>Oliver</dc:creator>
      <dc:date>2012-02-27T03:25:32Z</dc:date>
    </item>
    <item>
      <title>Re: PPC5606 external clock problems</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/PPC5606-external-clock-problems/m-p/210586#M2328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Problem solved, well sort of. The code was okay, everything works fine with an external oscillator.&lt;P&gt;The problem was getting the oscillator to run. I tried two different 8 MHz and 16 MHz crystals - both refused to start up, the capacitor selection must be critical. So I did myself a favor and designed a crystal osc can into my design, and now it's working reliably.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2012 19:36:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/PPC5606-external-clock-problems/m-p/210586#M2328</guid>
      <dc:creator>Oliver</dc:creator>
      <dc:date>2012-03-15T19:36:08Z</dc:date>
    </item>
  </channel>
</rss>

