hi, team
we are using DP83822HF PHY device, and meet some problems, so we need your help.
(1) the interface between MAC and PHY is MII default.
(2) we want try some stress test. for one transfer, data is send from MAC to PHY via MII interface, MII loopback is enabled by setting bit[14] in the BMCR of PHY, the data return to the MAC, MAC check the data, if the data is same and has no error, this data transfer is deemed PASS. the MAC continually send and check data.
(3) the test will fail in MII loopback mode, may fail in several hundreds times or several thousands times, it is random.
(4) we measured the timing of tx path from MAC to PHY, the timing is pass, setup time is about 22ns, hold time is about 18ns.
(5) we found when fail (in MII loopback), the tx data is send to PHY, and no rx data out from PHY . RX_DV is low when fail, RX_ER is always low, no matter success or fail.
(6) after fail, we read the bit[14] in the BMCR, it is still "1".
(7) the same hardware and software, we try PCS loopback (33500 times pass), digital loopback (280000 times), both no fail.
schematic is attached.
why data is not send out from PHY in last data periord ?
could you help to give some suggestions ? thanks a lot.