Tool/software:
In our custom board we are not able to detect the ethernet Base-T (DP83822): Below i have added our observation and test cases. Kindly check and provide your feedback.
- From the ifconfig that TX Packets are generated but RX side we do not see any packets, to verify this we have probed TX and RX part of PHY to the Connector and observed that TX part wave form amplitude is higher when compared to RX part.
- Using PHY tool we validated the register address 0x01.
root@imx93Oraclemain:~# phytool read eth0/0x01/0x01
(LAN cable connected)
0x786d
root@imx93Oraclemain:~# phytool read eth0/0x01/0x01
(LAN cable not connected)
0x7849 - We probed clock and getting 50MHz as expected.
- Reset is always high.
- TX and RX from PHY to MAC observed only TX data was getting , RX data was not observed data line from oscilloscope.
- We did the following loopback test in the DP83822 interface,
1. Connect PC to Board Ethernet (Enable the external loopback on the Phy)
Ping from PC--->Board ethernet connector ---> PHY <Loop back to Ethernet port) ---> Board ethernet Connector ---> PC
2. Enable to the internal loopback in the Phy
Ping from board ---> PHY ---> receive packet in the board.
Above two cases are not working. When we plug the cable and reading "Table 8-29. 0x0010 PHY Status Register (PHYSTS)" register, we are getting the below error
False Carrier Sense Latch