Mdi Register Access; Operational Characteristics - Broadcom NetXtreme/NetLink BCM5718 Series Programmer's Manual

Table of Contents

Advertisement

BCM5718 Programmer's Guide
// Reset PHY
// Enable auto-MDIX
// Set link speed to 1000Mb
bmcr = (1 << 6) | (0 << 13);
// Select full-duplex operation
gig = (1 << 9);
// Force loopback
// Disable 10/100 autoneg advertisement
phy_write(0x04, (00001b << 0));
// Advertise full-duplex operation
phy_write(0x09, gig);
// Enable and restart autonoegotiation
phy_write(0x00, (bmcr | (1 << 12) | (1 << 9)));

MDI Register Access

Configuring physical devices and querying the status of physical devices are done via the MDIO interface (MDC
and MDIO).
Note: This procedure is PHY-independent. The MAC access to the PHY is the same for the entire
NetXtreme family.
There are two modes in which the internal MII Management interface signals (MDC/MDIO) can be controlled for
communication with the internal transceiver registers. These modes are as follows:
Autopolling mode. Enabled by setting the Enable bit in the MAC Ethernet MI Mode register. The device will
poll for the link status bit in the transceiver.
Command Control. Writing to the MI Communications register directly to either read or write the transceiver
registers.
Autopolling mode has the lower priority and it will be stalled any time there is an active operation through the MI
Communications register.

Operational Characteristics

The interface between the MAC and physical devices is with the two signals of:
MDIO clock (MDC)
Bidirectional serial data (MDIO)
The details of the MDIO interface can be found in the IEEE 802.3 specification.
Broadcom
®
January 29, 2016 • 5718-PG108-R
MDI Register Access
Page 210

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the NetXtreme/NetLink BCM5718 Series and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Netxtreme/netlink bcm5717Netxtreme/netlink bcm5718Netxtreme/netlink bcm5719Netxtreme/netlink bcm5720

Table of Contents