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.

TDA4VM: SGMII can't link up

Part Number: TDA4VM

CPSW0 port 5 used as SGMII, connect to another MAC chip, can't link up.
Init SGMII process: CpswMacPort_reset-->CpswMacPort_resetSgmiiPort-->config SGMII
Port5 config to ENET_MAC_SGMIIIMODE_SGMII_FORCELINK
Another MAC chip config to SGMII MAC, Force mode by tool.

I do some test.
1. repeat to read SGMII status register and delay 500ms before CpswMacPort_reset
SGMII status is 0x3C at first, and change to 0x38 after some seconds

2. repeat to read SGMII status register and delay 500ms between CpswMacPort_reset and CpswMacPort_resetSgmiiPort
SGMII status is 0x3C at first, and change to 0x38 after some seconds

3. repeat to read SGMII status register and delay 500ms after CpswMacPort_resetSgmiiPort
SGMII status is 0x3C at first, and change to 0x38 after some seconds

4. repeat to read SGMII status register and delay 500ms after config SGMII
SGMII status is 0x3C at first, and change to 0x38 after some seconds

It seems SGMII status is 0x3C at first, and change to 0x38 after some seconds no matter how to set registers