SNLA473 November   2024 DP83867CS , DP83867E , DP83867IS , DP83869HM , DP83TC811S-Q1 , DP83TC812S-Q1 , DP83TC813S-Q1 , DP83TC814S-Q1 , DP83TC817S-Q1 , DP83TC818S-Q1 , DP83TG720S-Q1 , DP83TG721S-Q1

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1Troubleshooting the MAC Interface - SGMII
    1. 1.1 Verify Bootstrap Configurations
      1. 1.1.1 SGMII Bootstrap Configuration for DP83TG720S-Q1
    2. 1.2 Read and Check Register Values
    3. 1.3 Auto-Negotiation
    4. 1.4 Throughput and Loopback Testing
      1. 1.4.1 Bidirectional Throughput Testing
      2. 1.4.2 RX and TX Throughput Testing
      3. 1.4.3 RX and TX Throughput Testing with Fixed Number of Packets
      4. 1.4.4 Loopback Testing
        1. 1.4.4.1 MII Loopback
        2. 1.4.4.2 Reverse Loopback
    5. 1.5 Check the Clock Signal
    6. 1.6 Measure the SGMII Eye
      1. 1.6.1 SGMII Eye Mask Requirements
    7. 1.7 SGMII Layout
  5. 2Summary
  6. 3References

Auto-Negotiation

Ethernet and SGMII both have an auto-negotiation process that are independent of each other. Ethernet auto-negotiation occurs between an Ethernet PHY and the PHY link partner over the MDI lines. During this process, the two devices exchange information about speed, duplex mode, and flow control and link up at the maximum capability advertised by both link partners.

SGMII auto-negotiation is a process where the PHY sends updated control information to the MAC. This control information is specified in the Cisco SGMII Standard. When the MAC receives this information, the MAC acknowledges reception of the updated control information by asserting an acknowledge bit. In TI Ethernet PHY, this acknowledge bit is associated with the register bit SGMII Page Received. In SGMII auto-negotiation, there is no maximization of capabilities, just information exchange between PHY and MAC.

If SGMII link-up issues occur, check that auto negotiation is either disabled in both PHY and MAC or enabled in both PHY and MAC. In either case, the PHY and MAC must support the same communication speeds.

If the PHY comes up before the MAC, a SGMII restart can be required for the MAC to receive control information for successful link up.

If SGMII link up is still unsuccessful, the auto-negotiation timer can also be adjusted for some TI Ethernet PHYs so that the entire auto negotiation cycle is slower or faster on the PHY side. To adjust the timer, set the sgmii_autoneg_timer bit field described in the device data sheet and then restart SGMII auto negotiation or reset the PHY by writing 0x1F=0x4000.