<?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>ColdFire/68K Microcontrollers and ProcessorsのトピックRe: MCF5329RM - cpu clock frequency</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF5329RM-cpu-clock-frequency/m-p/188093#M8029</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The code I'm working on does this. The CPU starts up at 180/60MHz (core peripheral).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Very early in our startup/boot we have code that ***&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1 - CHECKS to see what the core is currently running at by looking at the divider,&lt;/P&gt;&lt;P&gt;2 - If it isn't ALREADY at 240/80MHz it then:&lt;/P&gt;&lt;P&gt;3 - Changes to "limp" mode,&lt;/P&gt;&lt;P&gt;4 - Reprograms the clock dividers,&lt;/P&gt;&lt;P&gt;5 - Changes back out of limp mode&lt;/P&gt;&lt;P&gt;6 - Waits for PLL lock (not sure this is needed).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There's sample code around that does the above, but don't ask me where.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So by now you should be asking "if the CPU runs at 180/60 out of reset, why are you checking to see if it is ALREADY at 240/80"?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Because, in spite of what the Reference Manual, CPU Reset does not always reset the PLL. Power-on reset does. The Watchdog reset doesn't. The software-initiated preset probably doesn't either. The external hardware reset probably does.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Good luck.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Apr 2010 18:54:44 GMT</pubDate>
    <dc:creator>TomE</dc:creator>
    <dc:date>2010-04-02T18:54:44Z</dc:date>
    <item>
      <title>MCF5329RM - cpu clock frequency</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF5329RM-cpu-clock-frequency/m-p/188092#M8028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Has anyone working with PLL and changing frequency of core ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am regarding to all kind od experiences and suggestions how to do it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot for any kind of suggestions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;UL&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Apr 2010 18:27:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF5329RM-cpu-clock-frequency/m-p/188092#M8028</guid>
      <dc:creator>unixer</dc:creator>
      <dc:date>2010-04-02T18:27:57Z</dc:date>
    </item>
    <item>
      <title>Re: MCF5329RM - cpu clock frequency</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF5329RM-cpu-clock-frequency/m-p/188093#M8029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The code I'm working on does this. The CPU starts up at 180/60MHz (core peripheral).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Very early in our startup/boot we have code that ***&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1 - CHECKS to see what the core is currently running at by looking at the divider,&lt;/P&gt;&lt;P&gt;2 - If it isn't ALREADY at 240/80MHz it then:&lt;/P&gt;&lt;P&gt;3 - Changes to "limp" mode,&lt;/P&gt;&lt;P&gt;4 - Reprograms the clock dividers,&lt;/P&gt;&lt;P&gt;5 - Changes back out of limp mode&lt;/P&gt;&lt;P&gt;6 - Waits for PLL lock (not sure this is needed).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There's sample code around that does the above, but don't ask me where.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So by now you should be asking "if the CPU runs at 180/60 out of reset, why are you checking to see if it is ALREADY at 240/80"?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Because, in spite of what the Reference Manual, CPU Reset does not always reset the PLL. Power-on reset does. The Watchdog reset doesn't. The software-initiated preset probably doesn't either. The external hardware reset probably does.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Good luck.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Apr 2010 18:54:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF5329RM-cpu-clock-frequency/m-p/188093#M8029</guid>
      <dc:creator>TomE</dc:creator>
      <dc:date>2010-04-02T18:54:44Z</dc:date>
    </item>
  </channel>
</rss>

