This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DP83867ERGZ-R-EVM: Far end loopback test

Part Number: DP83867ERGZ-R-EVM

Hello,

I have the DP83867ERGZ-R-EVM board and the referenced usb2mdio and MSP430.  All I am really wanting to do is run a BERT into the RJ-45 and loop it back to the bert through the PHY.   It seems like I should be able to do this with just modifying a couple of registers but can't seem to overcome this problem (no data comes back).  I have the following script that I run through usb2mdio but seem to be missing something.  Please help.

Craig

//A global software reset is accomplished by setting bit 15 of register CTRL (address 0x001F) to 1. This bit resets
//all the internal circuits in the PHY including IEEE-defined registers and all the extended registers.
001F 8000 // bit 15 software reset; bit 14 software restart
001F
//An IEEE registers software reset is accomplished by setting the reset bit (bit 15) of the BMCR register (address
//0x0000). This bit resets the IEEE-defined standard registers. Didn't do this
0000 5100 // 1 bit 12 = auto negotiate; 1 bit 8 = full duplex; 1 bit 14 = loopback
0000
//0 = Normal operation on register 0000
0010 5028 // 5008 - mdi , 5028 - mdix //not sure necessary
0010
0016 0000
0016
0016 0020 // enable reverse loopback via BISCR register
0016
//When configuring loopback modes, the Loopback Configuration Register (LOOPCR), address 0x00FE, should be
//set to 0xE720
00FE E720
00FE
001F 4000 // bit 15 software reset; bit 14 software restart
//A global software restart is accomplished by setting bit 14 of register CTRL (0x001F) to 1. This action resets all
//the PHY circuits except the registers in the Register File.
001F