Management Data Input/Output
Management Data Input/Output (MDIO), also known as Serial Management Interface (SMI) or Media Independent Interface Management (MIIM), is a serial bus defined for the Ethernet family of IEEE 802.3 standards for the Media Independent Interface, or MII.[src] The MII connects media access control (MAC) devices with Ethernet physical layer (PHY) circuits.[src] The MAC device controlling the MDIO is called the Station Management Entity (SME).[src]
Management Data Input/Output (MDIO), also known as Serial Management Interface (SMI) or Media Independent Interface Management (MIIM), is a serial bus defined for the Ethernet family of IEEE 802.3 standards for the Media Independent Interface, or MII.[src] The MII connects media access control (MAC) devices with Ethernet physical layer (PHY) circuits.[src] The MAC device controlling the MDIO is called the Station Management Entity (SME).[src] == Bus timing (clause 22)== Before a register access, PHY devices generally require a preamble of 32 ones to be sent by the MAC on the MDIO line.[src] The access consists of 16 control bits, followed by 16 data bits.[src] The control bits consist of 2 start bits, 2 access type bits (read or write), the PHY address (5 bits), the register address (5 bits), and 2 "turnaround" bits.[src] During a write command, the MAC provides address and data.[src] For a read command, the PHY takes over the MDIO line during the turnaround bit times, supplies the MAC with the register data requested, then releases the MDIO line.[src] When the MAC drives the MDIO line, it has to guarantee a stable value 10 ns (setup time) before the rising edge of the clock MDC.[src] Further, MDIO has to remain stable 10 ns (hold time) after the rising edge of MDC.[src] When the PHY drives the MDIO line, the PHY has to provide the MDIO signal between 0 and 300 ns after the rising edge of the clock.[src] Hence, with a minimum clock period of 400 ns (2.5 MHz maximum clock rate) the MAC can safely sample MDIO during the second half of the low cycle of the clock.[src] ==MDIO Packet Format (clause 22)== PRE_32 The first field in the MDIO header is the Preamble.[src] During the preamble, the MAC sends 32 bits, all '1', on the MDIO line.[src] ST The Start field consists of 2 bits and always contains the combination '01'.[src] OP The Opcode consists of 2 bits.[src] There are two possible opcodes, read '10' or write '01'.[src] PA5 5 bits, PHY address.[src] RA5 The Register Address field indicates the register to be written to or read from.[src] It is 5 bits long.[src] TA The turn-around field is 2 bits long.[src] When data is being written to the PHY, the MAC writes '10' to the MDIO line.[src] When data is being read, the MAC releases the MDIO line.[src] D16 16 bits, data.[src] This can be sent by either the SME or the PHY, depending on the value of the OP field.[src] Z Tristate MDIO.[src] ==References== ==External links== Clause 22 Access to Clause 45 Registers[src]
30 sentences · 30 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Management Data Input/Output." encyclopegia.org, 2025, https://encyclopegia.org/wiki/management-data-input-output. Accessed 04 December 2026.
Chicago
"Management Data Input/Output." encyclopegia.org. Accessed December 4, 2026. https://encyclopegia.org/wiki/management-data-input-output.
APA
encyclopegia.org. (2025). Management Data Input/Output. Retrieved December 4, 2026, from https://encyclopegia.org/wiki/management-data-input-output
Accessed December 4, 2026 · CC BY-SA 4.0 · citation page · JSON