Hi,
We have this design based on DP83826ERHBT
Hardware side :
Schematic:
Layout: RMII trace length
We have termination resistors on RMII line
Can you advice if we have any Layout problems ?
All line 50 ohm control impedance
Traces length are in picture above
Software side :
We did some test on our board
We did loopback between PHY to PC -- Works very well under load test
We did loopback between MAC TO PHY -- we have lose packet
We are experiencing an issue with the DP83826 connected to the Xilinx zc7000 series(7030).
It appears that not all received packets (Rx packets) are being captured by the MAC.
To rule out any cable-related problems, I have disconnected Ethernet cables and placed the PHY into digital loopback mode (0x16=0x104).
Even in this configuration, I am still encountering data loss. As a validation test, I put the MAC into loopback mode itself, and my tester successfully recognizes all the data.
The occurrence of data loss does not follow a consistent pattern in terms of the amount of data sent before the receiving stops.
It can happen after one second or even after a few minutes. After ignoring any incoming data for a few minutes, it starts receiving again until the next receiving break.
Interestingly, I observe the same behavior when the Ethernet link is fully established. The MAC receives a few packets, then pauses the receiving process (while it still sending data) for a period of time,
and eventually resumes receiving.
I have also conducted a loopback test with 10M and half-duplex settings, but the results remain consistent.
I have attached the MII registers for your reference. However, I don't believe this is the root cause of the issue since the channel is functional approximately 60% of the time.
I doubt that the MII settings are responsible for this behavior.
Moreover, the problem appear also with the Linux driver (u-boot,kernel) provided by TI
Attached Registers Dump
Zynq> mii read 1 0 2100 Zynq> mii read 1 1 7849 Zynq> mii read 1 2 2000 Zynq> mii read 1 3 A111 Zynq> mii read 1 4 00A1 Zynq> mii read 1 5 0000 Zynq> mii read 1 6 0004 Zynq> mii read 1 7 2001 Zynq> mii read 1 8 0000 Zynq> mii read 1 9 0000 Zynq> mii read 1 a 0102 Zynq> mii read 1 b 0009 Zynq> mii read 1 c 0000 Zynq> mii read 1 d 0000 Zynq> mii read 1 e 0000 Zynq> mii read 1 10 1205 Zynq> mii read 1 11 010B Zynq> mii read 1 12 7800 Zynq> mii read 1 13 0A00 Zynq> mii read 1 14 0000 Zynq> mii read 1 15 0000 Zynq> mii read 1 16 0108 Zynq> mii read 1 17 0041 Zynq> mii read 1 18 0400 Zynq> mii read 1 19 8401 Zynq> mii read 1 1a 0010 Zynq> mii read 1 1b 007D Zynq> mii read 1 1c 05EE Zynq> mii read 1 1d 0000 Zynq> mii read 1 1e 0102