07-30-2014 09:43 PM
From PG047 <1000BASE-X PCS/PMA or SGMII v14.1> P239,
when switch1000base mode to SGMII mode, if need write register 17 with "1"?
BTW, I connect basex_or_sgmii with value "1'b0"
and use mdio to write or read core's registers.
07-31-2014 12:26 AM
Yes you need to configure the bit 0 of register 17 to select between SGMII and BASEX modes.
0:BASEX mode and 1:SGMII mode.
07-31-2014 12:32 AM
Thanks for your help.
When switch to SGMII mode, I did such action:
1) REG17 write "1"
2) REG0 write "0200"
If I missed something else?
After it, the status_vector : PHY Link Status always be low.
07-31-2014 03:41 AM
As you are writing REG0 with "0200" i.e disabling Autonegotiation.
The PHY Link Status can be ignored.
Below is the description from PG047
When operating in SGMII mode, this bit represents the link status of the external PHY device attached to the other end of the SGMII link.
However, this bit is only valid after successful completion of auto-negotiation across the SGMII link
. If SGMII auto-negotiation is disabled, then the status of this bit should be ignored.