Hi all,
I am using DP83822H in our designed board. The bootstrap pins (RX_D3, RX_D1, RX_D0, CRS_DV) are connected directly to the MCU without external pull-up or pull-down resistors. LED_0 Pin is connected to an external pull-up resistor(2.49K ohm). Others are left unconnected.
I would like to use it in the RMII master mode, so I set the register IOCTRL1(0x462) in value 0x4301, CR2(0x0A) in value 0x0104, RCSR(0x17) in value 0x0021.
Setting auto-negotiation ANAR(0x04) in value 0x01E1, BMCR(0x00) in value 0x3100, PHYCR(0x19) in value 0x8001.
We found the BMSR(0x01) auto-negotiation complete (bit 5) is always 0, and the link status (bit 2) is read as 0.
Here are the registers I read:
BMCR(0x00) 0x3100
BMSR(0x01) 0x7849
ANAR(0x04) 0x01E1
ANLPAR(0x05) 0x0000
CR1(0x09) 0x0000
PHYSTS(0x10) 0x0002
PHYSCR(0x11) 0x0108
MISR1(0x12) 0x0000
MISR2(0x13) 0x0800
RCSR(0x17) 0x0021
PHYCR(0x19) 0x8001
SOR1(0x467) 0x5FCF
SOR2(0x468) 0x0004
Why is the auto-negotiation process could not complete and link? Is there anything I miss or setting wrong?
Thanks.
Sandy