SNLA431 January 2024 DP83TC812R-Q1 , DP83TC812S-Q1
Read each of the below registers and verify the values shown. Note that the initial values of some registers can vary based on strap options. Comparing a register dump to the one shown helps to highlight any values different from the expected.
The below register dump shows the expected values when link is up and the PHY is in RGMII mode, MDI slave, with PHY address 0xA.
REGISTER ADDRESS | REGISTER NAME | REGISTER VALUE | DESCRIPTIONS |
---|---|---|---|
0x0000 | BMCR | 0x2100 | |
0x0001 | BMSR | 0x0065 | Bit[2] shows that link is up |
0x0002 | PHYIDR1 | 0x2000 | |
0x0003 | PHYIDR2 | 0xA271 | 0xA271 is the unique identifier for the DP83TC812 PHY. A value other than this indicates a different PHY is connected. |
0x0010 | PHYSTS | 0x0005 | |
0x0011 | PHYSCR | 0x010B | |
0x0012 | MISR1 | 0xE400 | Indicates the presence of any interrupts |
0x0013 | MISR2 | 0x0000 | Indicates the presence of any interrupts |
0x0015 | RECR | 0x0000 | Receive error counter |
0x0016 | BISCR | 0x0100 | |
0x0018 | MISR3 | 0x5825 | Indicates the presence of any interrupts |
0x0019 | REG_19 | 0x0C0A | Bits 4-0 is the decoded PHY address from strap |
0x001B | TC10_ABORT_REG | 0x0000 | |
0x001E | CDCR | 0x0000 | |
0x018B(1) | LPS_CFG2 | 0x1C0B | Bit[6] indicates autonomous or managed mode. Note the PHY will not automatically link up if this bit is 0. |
0x045D(1) | CHIP_SOR_1 | 0x408C | Sampled PHY Strap configurations after power up or reset. Verify with strap tool in the schematic checklist for specific configurations. |
0x0600(1) | RGMII_CTRL | 0x0038 | Bit[3] indicates that RGMII mode is enabled |
0x0608(1) | SGMII_CTRL_1 | 0x007B | Bit[9] indicates that SGMII mode is disabled |
0x0648(1) | RMII_CTRL_1 | 0x0120 | Bit[6] indicates that RMII mode is disabled |
0x1834(1) | MMD1_PMA_CTRL_2 | 0x8000 | PHY Master/Slave configuration. Value will read 0xC000 in master mode and 0x8000 in slave mode |
Registers above 0x1F are extended registers and must be accessed using the extended register access procedure.