JAJSID0G december 2019 – july 2023 DP83826E , DP83826I
PRODUCTION DATA
The Serial Management Interface provides access to the DP83826 internal register space for status information and configuration. The SMI is compatible with IEEE 802.3 clause 22. The implemented register set consists of the registers required by the IEEE 802.3 plus several others to provide additional visibility and controllability of the DP83826.
The SMI includes the management clock (MDC) and the management input/output data pin (MDIO). MDC is sourced by the external management entity, also called Station (STA), and can run at a maximum clock rate of 24 MHz. MDC is not expected to be continuous, and can be turned off by the external management entity when the bus is idle.
MDIO is sourced by the external management entity and by the PHY. The data on the MDIO pin is latched on the rising edge of the MDC. MDIO pin requires a pullup resistor (2.2 KΩ or 1.5 KΩ are widely used values), which pulls MDIO high during IDLE and turnaround.
Up to 8 PHYs can share a common SMI bus. To distinguish between the PHYs, during power up or hardware reset, the DP83826 latches the Phy_Address[2:0] configuration pins to determine its address.
The management entity must not start an SMI transaction in the first cycle after power up or hardware reset. To maintain valid operation, the SMI bus must remain inactive at least until 50ms after power-up and at least until 2ms after reset is de-asserted (Refer to T4 in Power-up Timing and T2 in Reset Timing). In normal MDIO transactions, the register address is taken directly from the management-frame reg_addr field, thus allowing direct access to 32 16-bit registers (including those defined in IEEE 802.3 and vendor specific). The data field is used for both reading and writing. The Start code is indicated by a <01> pattern. This pattern makes sure that the MDIO line transitions from the default idle line state. Turnaround is defined as an idle bit time inserted between the Register Address field and the Data field. To avoid contention during a read transaction, no device may actively drive the MDIO signal during the first bit of turnaround. The addressed DP83826 drives the MDIO with a zero for the second bit of turnaround and follows this with the required data.
For write transactions, the station-management entity writes data to the addressed DP83826, thus eliminating the requirement for MDIO Turnaround. The turnaround time is filled by the management entity by inserting <10>.
SMI PROTOCOL | <idle><start><op code><PHY address><reg addr><turnaround><data><idle> |
---|---|
Read Operation | <idle><01><10><AAAAA><RRRRR><Z0><XXXX XXXX XXXX XXXX><idle> |
Write Operation | <idle><01><01><AAAAA><RRRRR><10><XXXX XXXX XXXX XXXX><idle> |