The DP83TC813S-Q1 SMI function
supports read and write access to the extended register set using registers REGCR (0xD) and
ADDAR (0xE) and the MDIO Manageable Device (MMD) indirect method defined in IEEE 802.3ah
Draft for Clause 22 for accessing the Clause 45 extended register set.
REGCR (0xD) is the MDIO Manageable MMD access control. In general, register REGCR[4:0] is the device address DEVAD that directs any accesses of ADDAR (0xE) register to the appropriate MMD.
The DP83TC813S-Q1 supports 3 MMD
device addresses:
- DEVAD[4:0] = 11111 is used for general
MMD register accesses for IEEE defined registers as well as vendor defined
registers.
- DEVAD[4:0] = 00001 is used for
100BASE-T1 PMA MMD register accesses. Register names for registers accessible at this
device address are preceded by MMD1.
- DEVAD[4:0] = 00011 is used for vendor
specific registers. This registers space is called MMD3.
All accesses through register REGCR and ADDAR must use the correct DEVAD. Transactions with other DEVADs are ignored. REGCR[15:14] holds the access function: address (00), data with no post increment (01), data with post increment on read and writes (10) and data with post increment on writes only (11).
- ADDAR is the address and data MMD register. ADDAR is used in conjunction with
REGCR to provide the access to the extended register set. If register REGCR[15:14] is
(00), then ADDAR holds the address of the extended address space register. Otherwise,
ADDAR holds the data as indicated by the contents of its address register. When
REGCR[15:14] is set to (00), accesses to register ADDAR modify the extended register set
address register. This address register must always be initialized to access any of the
registers within the extended register set.
- When REGCR[15:14] is set to (01), accesses to register ADDAR access the register within the extended register set selected by the value in the address register.
- When REGCR[15:14] is set to (10), access to register ADDAR access the register within the extended register set selected by the value in the address register. After that access is complete, for both reads and writes, the value in the address register is incremented.
- When REGCR[15:14] is set to (11), access to register ADDAR access the register within the extended register set selected by the value in the address register. After that access is complete, for write access only, the value in the address register is incremented. For read accesses, the value of the address register remains unchanged.
The following sections describe how to perform operations on the extended register set using register REGCR and ADDAR.