<?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: MCF5208(possibly other V2 devices) Clock Module reconfiguration when RCON not asserted during Re in ColdFire/68K Microcontrollers and Processors</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF5208-possibly-other-V2-devices-Clock-Module-reconfiguration/m-p/193398#M8497</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;Hi&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The problem is resolved!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;It was due to incorrect register address definitions in MCF5208_PLL.H file originally supplied with the MCF5208EVB.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The&amp;nbsp;definition file&amp;nbsp;used addresses&lt;/P&gt;&lt;P&gt;0xFC09000, 0xFC09001, 0xFC09002, 0xFC09003&lt;/P&gt;&lt;P&gt;but should have used&lt;/P&gt;&lt;P&gt;0xFC09000, 0xFC09002, 0xFC09004, 0xFC09006&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The result was that we never actually wrote correctly to the registers.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Hope this might help someone in the future.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Dave&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Apr 2010 18:00:12 GMT</pubDate>
    <dc:creator>DaveSt</dc:creator>
    <dc:date>2010-04-22T18:00:12Z</dc:date>
    <item>
      <title>MCF5208(possibly other V2 devices) Clock Module reconfiguration when RCON not asserted during Reset</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF5208-possibly-other-V2-devices-Clock-Module-reconfiguration/m-p/193397#M8496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have a successful design that uses RCON asserted and *RSTOUT gated configuration which works perfectly.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Due to space limitations I am&amp;nbsp;trying to remove the gated configuration devices (resistor, capacitor and '573 TTL device) since we conform to the "default" reset configuration.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;With RCON pulled high the 5208 start as expected and executes from&amp;nbsp;our&amp;nbsp;16&amp;nbsp;bit flash but runs at the lower speed (as expected from the default reset configuration with RCON high).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I then try to reconfigure the Clock Module to&amp;nbsp;achieve our&amp;nbsp;required&amp;nbsp;166/83Mhz&amp;nbsp;(core/bus) speed but cannot achieve this&amp;nbsp;with the setting of the PORD and PFDR registers (see following code), w&lt;/SPAN&gt;&lt;SPAN&gt;e have a 16MHz crystal reference.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;void config_init(void)&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;//Enter Limp mode, change clock, back into normal mode and wait for a PLL lock.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;MCF_PMM_MISCCR=MCF_PMM_MISCCR_LIMP;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;MCF_PLL_PODR=0x36;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;MCF_PLL_PFDR=125;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;MCF_PMM_MISCCR=0;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;while ((MCF_PMM_MISCCR&amp;amp;MCF_PMM_MISCCR_PLL_LOCK)==0);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Changing the PODR and PFDR registers do have an effect on the operation be not what we expect.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;All other operation seems perfect and we have used this device with "asserted RCON+gated configuration"&amp;nbsp;and it works correctly.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Dave&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Apr 2010 17:02:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF5208-possibly-other-V2-devices-Clock-Module-reconfiguration/m-p/193397#M8496</guid>
      <dc:creator>DaveSt</dc:creator>
      <dc:date>2010-04-20T17:02:25Z</dc:date>
    </item>
    <item>
      <title>Re: MCF5208(possibly other V2 devices) Clock Module reconfiguration when RCON not asserted during Re</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF5208-possibly-other-V2-devices-Clock-Module-reconfiguration/m-p/193398#M8497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;Hi&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The problem is resolved!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;It was due to incorrect register address definitions in MCF5208_PLL.H file originally supplied with the MCF5208EVB.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The&amp;nbsp;definition file&amp;nbsp;used addresses&lt;/P&gt;&lt;P&gt;0xFC09000, 0xFC09001, 0xFC09002, 0xFC09003&lt;/P&gt;&lt;P&gt;but should have used&lt;/P&gt;&lt;P&gt;0xFC09000, 0xFC09002, 0xFC09004, 0xFC09006&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The result was that we never actually wrote correctly to the registers.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Hope this might help someone in the future.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Dave&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Apr 2010 18:00:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF5208-possibly-other-V2-devices-Clock-Module-reconfiguration/m-p/193398#M8497</guid>
      <dc:creator>DaveSt</dc:creator>
      <dc:date>2010-04-22T18:00:12Z</dc:date>
    </item>
  </channel>
</rss>

