1
\$\begingroup\$

I was reading the SGMII specification and the documentation of a Gigabit MII to SGMII converter (see MAX24287). I do not see a MDIO to control the registers of the PHY (Basic Mode Status Register, Basic Mode Control Register, ...) in the SGMII specification. Thus, I suppose SGMII is using the tx_config_reg to configure EVERY REGISTER (in the document, they only speak about the auto negociation process and how to exchange link patner abilities, not every registers).

In the MAX24287, there is also a figure that shows a MDIO link between the MAC, MAX24287 and PHY. So I am a bit confused : Does SGMII allows to configure EVERY REGISTERS? Or only for the auto negociation?

Thank you

\$\endgroup\$
  • \$\begingroup\$ SGMII cannot be used for configuring the MDIO accessible registers. Besides, SGMII/1000BASE-T is often used with SFP pluggable transceivers which have an I2C interface instead of MDIO for management registers access. \$\endgroup\$ – TEMLIB May 31 '17 at 17:09
1
\$\begingroup\$

If your connecting the MAX24287 to a processor, then you need to connect the MDIO to both the MAX24287 and the phy as shown below and configure the registers on both

If your using a switch chip, it configures the AN_ADV register to match the MAC mode. The auto negotiation will be handled by the link partners:

In 1000BASE-X auto-negotiation, two link partners send their specific capabilities to each other. Each link partner compares the capabilities that it advertises in its AN_ADV register against its link partner's advertised abilities, which are stored in the AN_RX register when received. Each link partner uses the same arbitration algorithm specified in IEEE 802.3 clause 37.2 to determine how it should configure its hardware, and, therefore, the two link partners' configurations should match. However, if there is no overlap of capabilities between the link partners, the RF bits (Remote Fault, see Table 6-14) are set to 11, and the auto-negotiation process is started again. An external processor configures the advertised abilities, reads the link partner’s abilities, performs the arbitration algorithm, and sets the RF bits as needed.

enter image description here

\$\endgroup\$
  • \$\begingroup\$ Thank you for your answer. Actually, I found that the is usually a MDIO between MAC and PHY with SGMII, the operation of MAX2487 is specific to this kind of product. \$\endgroup\$ – pierre123 Jun 2 '17 at 12:38
  • \$\begingroup\$ If you like the answer upvote \$\endgroup\$ – Voltage Spike Jun 2 '17 at 14:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.