Other Parts Discussed in Thread: DP83869
Hi,
I’m trying to use the DP83869HM in RGMII to 1000BASE-X mode. When placing a SFP-Copper module, a valid link and data transfer is possible.
When placing a 1000Mbit fiber module, the switch states link-down, but the PHY gives a link-up (reg 0xC01). No data is received.
When placing a fiber-loopback, the PHY gives a link-up (reg 0xC01). The RXdata LED is flash (I cannot verify the data).
I've read and implemented SNLA305 1000Base-X Link Detection
The ID (reg 0x02 + 0x03) is 0x2000A0F3
The initialization routine is:
phyWriteRegister(mdioEthId, deviceAddress, 0x01DF, 0x41);
phyWriteRegister(mdioEthId, deviceAddress, 0x0, 0x1140);
phyWriteRegister(mdioEthId, deviceAddress, 0xC00, 0x1140);
// restart
phyWriteRegister(mdioEthId, deviceAddress, 0x1F, 0x4000);
for (uint16_t i = 1; i != 0; i++); // small sleep
phyWriteRegister(mdioEthId, deviceAddress, MDIO_REG_LEDS_CFG1, 0xCC32);
phyWriteRegister(mdioEthId, deviceAddress, MDIO_REG_RGMII_CTRL, 0x00D0);
phyWriteRegister(mdioEthId, deviceAddress, 0xC00, 0x0340); // Start Auto neg.
Anny suggestions?
Thanks in advance,
Jacob