<?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: EPHYCTL0 initialization in ColdFire/68K Microcontrollers and Processors</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/EPHYCTL0-initialization/m-p/126960#M352</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi Valentina&lt;BR /&gt;&lt;BR /&gt;The PHY clocks are disabled when set to '1' so I think that you can interpret this as 'disabled'.&lt;BR /&gt;&lt;BR /&gt;The PHYADD[4:0] and ANDIS are latched to the MII register when the EPHYEN is set, but this has nothing to do with the PHY clocks.&lt;BR /&gt;&lt;BR /&gt;Note also a 360us delay after setting EPHYEN before the MII registers can be configured via MDIO.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.uTasker.com" rel="nofollow" target="_blank"&gt;&lt;IMG src="http://www.uTasker.com/uTaskerLogoSS.jpg" /&gt;&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Mar 2007 18:42:46 GMT</pubDate>
    <dc:creator>mjbcswitzerland</dc:creator>
    <dc:date>2007-03-19T18:42:46Z</dc:date>
    <item>
      <title>EPHYCTL0 initialization</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/EPHYCTL0-initialization/m-p/126959#M351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hallo,&lt;/DIV&gt;&lt;DIV&gt;I've a question about EPHYCTL0 initialization:&lt;/DIV&gt;&lt;DIV&gt;in the Codewarrior sample code for M52235EVB mcf5223_sysinit.c, specifically in the routine mcf52235_gpio_init, I find the following lines:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;//Enable EPHY module with PHY clocks disabled&lt;BR /&gt;&amp;nbsp;//Do not turn on PHY clocks until both FEC and EPHY are completely setup (see Below)&lt;BR /&gt;&amp;nbsp;MCF_PHY_EPHYCTL0 = (uint8)(MCF_PHY_EPHYCTL0_DIS100 | MCF_PHY_EPHYCTL0_DIS10);&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;//Enable auto_neg at start-up&lt;BR /&gt;&amp;nbsp;MCF_PHY_EPHYCTL0 = (uint8)(MCF_PHY_EPHYCTL0 &amp;amp; (MCF_PHY_EPHYCTL0_ANDIS));&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;//Enable EPHY module&lt;BR /&gt;&amp;nbsp;MCF_PHY_EPHYCTL0 = (uint8)(MCF_PHY_EPHYCTL0_EPHYEN | MCF_PHY_EPHYCTL0);&lt;BR /&gt;&amp;nbsp;//Let PHY PLLs be determined by PHY&lt;BR /&gt;&amp;nbsp;MCF_PHY_EPHYCTL0 = (uint8)(MCF_PHY_EPHYCTL0&amp;nbsp; &amp;amp; ~(MCF_PHY_EPHYCTL0_DIS100 | MCF_PHY_EPHYCTL0_DIS10));&lt;BR /&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;In the Freescale MCF52235RM manual, it is recommended to&amp;nbsp;"clear" DIS100 and DIS10 bits before setting EPHYEN to 1.&lt;/DIV&gt;&lt;DIV&gt;1) What is intended by saying "clear": shall I set those bit to 0 (making EPHY determine&amp;nbsp;PLL states)?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;Why then the sample code puts those bit to 1 disabling PLLs?&lt;/DIV&gt;&lt;DIV&gt;2)&amp;nbsp;Is the state of DIS10 and DIS100 latched when EPHYEN is set to 1? If&amp;nbsp;it is, why in the sample code EPHYCTL0 is changed&amp;nbsp;AFTER EPHYEN has already been set?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thank you for any clarification.&lt;/DIV&gt;&lt;DIV&gt;Valentina&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2007 17:17:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/EPHYCTL0-initialization/m-p/126959#M351</guid>
      <dc:creator>vale</dc:creator>
      <dc:date>2007-03-19T17:17:49Z</dc:date>
    </item>
    <item>
      <title>Re: EPHYCTL0 initialization</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/EPHYCTL0-initialization/m-p/126960#M352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi Valentina&lt;BR /&gt;&lt;BR /&gt;The PHY clocks are disabled when set to '1' so I think that you can interpret this as 'disabled'.&lt;BR /&gt;&lt;BR /&gt;The PHYADD[4:0] and ANDIS are latched to the MII register when the EPHYEN is set, but this has nothing to do with the PHY clocks.&lt;BR /&gt;&lt;BR /&gt;Note also a 360us delay after setting EPHYEN before the MII registers can be configured via MDIO.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.uTasker.com" rel="nofollow" target="_blank"&gt;&lt;IMG src="http://www.uTasker.com/uTaskerLogoSS.jpg" /&gt;&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2007 18:42:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/EPHYCTL0-initialization/m-p/126960#M352</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2007-03-19T18:42:46Z</dc:date>
    </item>
  </channel>
</rss>

