Hi Experts:
I met an issue when test ethernet with 10/100M PHY DP83822IRHB.
- There are three PHYs separately connected to three GEMs of the CPU via RGMII.The All the PHYs share the same MDC/MDIO serial management interface.
- It is failed to read phy address for ETH0 and ETH1 whiling using lwip echo server test which looks up phy address from 31 to 0.
- It is failed to read phy register when I set the phy address to 0x1 or 0x3 in SW.
I’m not sure what happens during phy read operation. Is there any other action should I take before phy setup?
Table 1 ETH info.
ETH |
GEM |
Interface |
PHY |
PHY ADDR |
test OK? |
ETH0 |
GEM0 |
RGMII1 |
10/100/1000M PHY |
0x0 |
Ping success, PHY read OK |
ETH1 |
GEM1 |
RGMII2 |
10/100M PHY |
0x1 |
PHY read NOK |
ETH2 |
GEM2 |
RGMII3 |
10/100M PHY |
0x3 |