<?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: ACCESS PHY REGISTERS THROUGH MDIO in CodeWarrior Development Tools</title>
    <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/ACCESS-PHY-REGISTERS-THROUGH-MDIO/m-p/648573#M5665</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aditya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you tell us which MCU and IDE version are you using?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;BR /&gt;Carlos Mendoza&lt;BR /&gt;Technical Support Engineer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 31 Jan 2017 16:49:47 GMT</pubDate>
    <dc:creator>Carlos_Mendoza</dc:creator>
    <dc:date>2017-01-31T16:49:47Z</dc:date>
    <item>
      <title>ACCESS PHY REGISTERS THROUGH MDIO</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/ACCESS-PHY-REGISTERS-THROUGH-MDIO/m-p/648572#M5664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How can we access PHY Registers using MDIO?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone help please.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Aditya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jan 2017 15:24:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/ACCESS-PHY-REGISTERS-THROUGH-MDIO/m-p/648572#M5664</guid>
      <dc:creator>adityamehta</dc:creator>
      <dc:date>2017-01-26T15:24:04Z</dc:date>
    </item>
    <item>
      <title>Re: ACCESS PHY REGISTERS THROUGH MDIO</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/ACCESS-PHY-REGISTERS-THROUGH-MDIO/m-p/648573#M5665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aditya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you tell us which MCU and IDE version are you using?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;BR /&gt;Carlos Mendoza&lt;BR /&gt;Technical Support Engineer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jan 2017 16:49:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/ACCESS-PHY-REGISTERS-THROUGH-MDIO/m-p/648573#M5665</guid>
      <dc:creator>Carlos_Mendoza</dc:creator>
      <dc:date>2017-01-31T16:49:47Z</dc:date>
    </item>
    <item>
      <title>Re: ACCESS PHY REGISTERS THROUGH MDIO</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/ACCESS-PHY-REGISTERS-THROUGH-MDIO/m-p/648574#M5666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Carlos,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using Mravell 88E6095. I am using ARM9 processor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have found a way to access PHY Registers through MDIO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, in that i need to Page register 800.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And i do not understand how do i do that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you please help if you know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Aditya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jan 2017 16:58:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/ACCESS-PHY-REGISTERS-THROUGH-MDIO/m-p/648574#M5666</guid>
      <dc:creator>adityamehta</dc:creator>
      <dc:date>2017-01-31T16:58:49Z</dc:date>
    </item>
    <item>
      <title>Re: ACCESS PHY REGISTERS THROUGH MDIO</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/ACCESS-PHY-REGISTERS-THROUGH-MDIO/m-p/648575#M5667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV class=""&gt;&lt;P&gt;Hi Aditya,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your response. Are you using CodeWarrior as development platform? Could you tell us the part number of your ARM9 processor?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;BR /&gt;Carlos Mendoza&lt;BR /&gt;Technical Support Engineer&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jan 2017 22:53:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/ACCESS-PHY-REGISTERS-THROUGH-MDIO/m-p/648575#M5667</guid>
      <dc:creator>Carlos_Mendoza</dc:creator>
      <dc:date>2017-01-31T22:53:24Z</dc:date>
    </item>
    <item>
      <title>Re: ACCESS PHY REGISTERS THROUGH MDIO</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/ACCESS-PHY-REGISTERS-THROUGH-MDIO/m-p/648576#M5668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Carlos,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No I am not using code warrior.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I came to know new thing that is, I need to set the Page 3 using port 22.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And then change the phy register 16 bit 7:4 to 0000&lt;/P&gt;&lt;P&gt;and bit 3:0 to 0001&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i dont know how should i do that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Aditya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2017 15:31:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/ACCESS-PHY-REGISTERS-THROUGH-MDIO/m-p/648576#M5668</guid>
      <dc:creator>adityamehta</dc:creator>
      <dc:date>2017-02-01T15:31:41Z</dc:date>
    </item>
    <item>
      <title>Re: ACCESS PHY REGISTERS THROUGH MDIO</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/ACCESS-PHY-REGISTERS-THROUGH-MDIO/m-p/648577#M5669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;Hi Aditya,&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm not sure this is the correct forum for your question...&lt;/P&gt;&amp;nbsp;&lt;P&gt;Best Regards,&lt;BR /&gt;Carlos Mendoza&lt;BR /&gt;Technical Support Engineer&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2017 15:54:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/ACCESS-PHY-REGISTERS-THROUGH-MDIO/m-p/648577#M5669</guid>
      <dc:creator>Carlos_Mendoza</dc:creator>
      <dc:date>2017-02-01T15:54:52Z</dc:date>
    </item>
    <item>
      <title>Re: ACCESS PHY REGISTERS THROUGH MDIO</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/ACCESS-PHY-REGISTERS-THROUGH-MDIO/m-p/648578#M5670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Carlos,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My aim is to turn on the Gigabit Led.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The link status for that port is on, But Led does not come on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the only way i can change it, is through PHY registers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am new to this and i know i am not to my best knowlledge.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So please help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2017 16:38:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/ACCESS-PHY-REGISTERS-THROUGH-MDIO/m-p/648578#M5670</guid>
      <dc:creator>adityamehta</dc:creator>
      <dc:date>2017-02-01T16:38:09Z</dc:date>
    </item>
    <item>
      <title>Re: ACCESS PHY REGISTERS THROUGH MDIO</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/ACCESS-PHY-REGISTERS-THROUGH-MDIO/m-p/648579#M5671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;Hi Aditya,&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would recommend you to contact this part manufacturer and/or your distributor for details on it's initialization and operation.&lt;/P&gt;&amp;nbsp;&lt;P&gt;Best Regards,&lt;BR /&gt;Carlos Mendoza&lt;BR /&gt;Technical Support Engineer&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2017 17:17:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/ACCESS-PHY-REGISTERS-THROUGH-MDIO/m-p/648579#M5671</guid>
      <dc:creator>Carlos_Mendoza</dc:creator>
      <dc:date>2017-02-01T17:17:06Z</dc:date>
    </item>
    <item>
      <title>Re: ACCESS PHY REGISTERS THROUGH MDIO</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/ACCESS-PHY-REGISTERS-THROUGH-MDIO/m-p/648580#M5672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Carlos,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you it really helped me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One and last thing now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;static int proc_phy_registers_show(struct seq_file *seq, void *offset){&lt;BR /&gt; struct mv88e6131_port_proc_data *proc_data;&lt;BR /&gt; struct dsa_switch *ds;&lt;BR /&gt; u8 port;&lt;BR /&gt; int i;&lt;BR /&gt; u16 reg;&lt;/P&gt;&lt;P&gt;JBXSW_TRC("proc_phy_registers_show\n");&lt;BR /&gt; proc_data = seq-&amp;gt;private;&lt;BR /&gt; ds = proc_data-&amp;gt;ds;&lt;BR /&gt; port = proc_data-&amp;gt;port;&lt;/P&gt;&lt;P&gt;JBXSW_DBG("Dumping Phy Registers for port %d\n", port);&lt;BR /&gt; REG_WRITE(REG_GLOBAL, 0x04, 0x0000);&lt;BR /&gt;if(port &amp;lt; 8){&lt;BR /&gt; for(i=0; i&amp;lt;0x1f; i++){&lt;BR /&gt; reg = REG_READ(port, i);&lt;BR /&gt; seq_printf(seq, "Reg %2.2x: %4.4x\n", i, reg);&lt;BR /&gt; }&lt;BR /&gt;}else{&lt;BR /&gt; &lt;STRONG&gt;int j;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; for(j=0; j &amp;lt; 3; j++){&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; REG_WRITE(port, 22, j);&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; reg = REG_READ(port, 22);&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; seq_printf(seq, "Page: %d\n", reg);&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; for(i=0; i&amp;lt;0x10; i++){&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; reg = REG_READ(port, i);&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; seq_printf(seq, "\tReg %2.2x: %4.4x\n", i, reg);&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; if(j == 1 &amp;amp;&amp;amp; i == 8)&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; break;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; if(j == 2 &amp;amp;&amp;amp; i == 0)&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; break;&lt;/STRONG&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;STRONG&gt; }&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; }&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;REG_WRITE(port, 22, 2);&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; reg = REG_READ(port, 22);&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; seq_printf(seq, "Page: %d\n", reg);&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; reg = REG_READ(port, 16);&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; seq_printf(seq, "\tReg %2.2x: %4.4x\n", 22, reg);&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;}&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; REG_WRITE(REG_GLOBAL, 0x04, 0x4400);&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; return 0;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This the part i need to change.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Port 22 is in decimal, if you convert to hexadecimal it is 0x16.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thats is the phy register i need to modify.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of page 2 i need to access page 3 and write 0x80ff to register 16.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would you be able to help me here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Aditya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Feb 2017 16:20:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/ACCESS-PHY-REGISTERS-THROUGH-MDIO/m-p/648580#M5672</guid>
      <dc:creator>adityamehta</dc:creator>
      <dc:date>2017-02-02T16:20:38Z</dc:date>
    </item>
    <item>
      <title>Re: ACCESS PHY REGISTERS THROUGH MDIO</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/ACCESS-PHY-REGISTERS-THROUGH-MDIO/m-p/648581#M5673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Aditya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I agree with the suggestion from Carlos.&lt;/P&gt;&lt;P&gt;You use Mravell 88E6095 which is not NXP product, nor SW from NXP either. Thus we are afraid we can't provide you professional support. I suggest you contact Marvell instead:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://www.marvell.com/" title="http://www.marvell.com/"&gt;Marvell Technology Group Ltd.&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you use any question on NXP product, please feel free to contact us, we will try whatever we can to assist you.&lt;/P&gt;&lt;P&gt;Thanks for your understanding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jennie Zhang&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Feb 2017 06:29:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/ACCESS-PHY-REGISTERS-THROUGH-MDIO/m-p/648581#M5673</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2017-02-04T06:29:54Z</dc:date>
    </item>
  </channel>
</rss>

