Hi,
I am having trouble establishing a 100BASE-TX link on the DP83867ERGZ PHY. The network side is connected using two pairs A and B for 100BASE-TX mode. The SGMII is connected to an embedded network switch. The SGMII link is up and traffic on the switch port causes the activity LED to blink. The MDIO bus is accessible and shows that the link is down.
I have set the speed select bits to 100Mbps and duplex to full duplex in the BMCR register. The 1000BASE-T half and full duplex advertisement is disabled in the CFG1 register. SGMII is enabled in the PHYCR register. SGMII auto-negotiation is disabled in the CFG2 register.
All strap settings are mode 1 except for RXCTRL and LED0 which are mode 2.
I have also tried experimenting with the DP83867ERGZ-S-EVM board and see that the ethernet link comes up with four pairs but not with two. I would assume that the PHY would automatically negotiate down to 100BASE-TX when two pairs are connected. If you have the MDIO writes to configure this board to 100BASE-TX I can give that a try.
Any help would be greatly appreciated.
Here's a read out of the MDIO registers:
0x0: 0x2100
0x1: 0x7949
0x2: 0x2000
0x3: 0xA231
0x4: 0x1E1
0x9: 0x0
0xA: 0x0
0x10: 0x5C48
0x11: 0x6B02
0x14: 0x2947
0x18: 0x6150
0x31: 0x10B0
0x37: 0x2
0x43: 0x7A0
0x6E: 0x880
0x6F: 0x5
Thanks,
Farhan