Hi Team, We are using the ‘DP83822HRHBR’ Phy chip which is interfaced with MPC5777C controller. The Phy Link is not up. We tried setting the Phy to 100MBPS in Full Duplex Mode.
|
Signal Name |
Reading (Oscilloscope) |
Remarks |
|
RX_CLK |
12.5MHz |
For 100 Mbps it should be 25MHz as per Phy data sheet and 2.5MHz for 10 MBPS speed. Note: We are reading 1.25 MHz when we configure the phy to 10Mbps |
|
FEC_MDC |
2.5MHz |
|
|
TX_CLK |
12.5MHz |
For 100 Mbps it should be 25MHz as per Phy data sheet and 2.5MHz for 10 MBPS speed. Note: We are reading 1.25 MHz when we configure the phy to 10Mbps |
|
XI |
25 MHz |
|
We checked the frequency for the signals and the below table has the findings: Signal Name Reading (Oscilloscope) Remarks RX_CLK 12.5MHz For 100 Mbps it should be 25MHz as per the Phy data sheet and 2.5MHz for 10 MBPS speed. Note: We are reading 1.25 MHz when we configure the PHY to 10Mbps FEC_MDC 2.5MHz TX_CLK 12.5MHz For 100 Mbps it should be 25MHz as per the Phy data sheet and 2.5MHz for 10 MBPS speed. Note: We are reading 1.25 MHz when we configure the PHY to 10Mbps XI 25 MHz
The ‘RX_CLK’ and ‘TX_CLK’ are set to 12.5MHz which is half of 25 MHz which is the correct frequency for 100MBPS. We see ‘RX_CLK’ and ‘TX_CLK’ are set to 1.25MHz with 10Mbps configuration which is again half of 2.5MHz. The input clock is fed to ‘XI’ pin which is 25MHz. Below is the Phy Dump of a few of the registers for 100MBPS,
|
name |
phy_100FD |
phy_10FD |
|
BMCR |
0x2100 (Hex) |
0x100 (Hex) |
|
BMSR |
0x7849 (Hex) |
0x7849 (Hex) |
|
ANAR |
0x61 (Hex) |
0x61 (Hex) |
|
ANLPAR |
0x0 (Hex) |
0x0 (Hex) |
|
CR1 |
0x0 (Hex) |
0x0 (Hex) |
|
CR2 |
0x100 (Hex) |
0x100 (Hex) |
|
CR3 |
0x100b (Hex) |
0x100b (Hex) |
|
REGCR |
0x0 (Hex) |
0x0 (Hex) |
|
ADDAR |
0x0 (Hex) |
0x0 (Hex) |
|
FLDS |
0x0 (Hex) |
0x0 (Hex) |
|
PHYSTS |
0x4 (Hex) |
0x6 (Hex) |
|
PHYSCR |
0x108 (Hex) |
0x108 (Hex) |
|
RECR |
0x0 (Hex) |
0x0 (Hex) |
|
BISCR |
0x100 (Hex) |
0x100 (Hex) |
|
RCSR |
0x41 (Hex) |
0x41 (Hex) |
|
PHYCR |
0x1 (Hex) |
0x1 (Hex) |
|
CDCR |
0x102 (Hex) |
0x2 (Hex) |
|
PHYRCR |
0x0 (Hex) |
0x0 (Hex) |