Jump to content
  • 0

Arty Board unable to receive response from Ethernet PHY


sreehari

Question

Hi,

 I am able to run ethernetlite example code (internal loopback) available in Xilinx SDK. Hardware platform I used was echo server one.

I tried to do a simple mdio read to read the PHY registers using following function 

XEmacLite_PhyRead () , Physical address set as 1... Using scope i probed mdio line (R173) and i could see activity for the initial write but when the read section line remains high....Thus returning 0xffffh.... 

PHY reset is held high (R183)

I tried scanning the entire address range available for PHY but no response. Every time the register content is the same  0xffffh.

/****

for(reg_count=0;reg_count<32;reg_count++)
{
    Status=XEmacLite_PhyRead (EmacLiteInstPtr,reg_count,3,&RegContent);
    if (Status != XST_SUCCESS) {
        return XST_FAILURE;
    }
    if(RegContent!=0xffff)
    {
        break;
    }

******/

Why does my PHY not respond to MDIO commands??.... Am I missing something...please Help

 

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...