We are trying to do the RX electrical test with Lecroy PERT. After the loopback handshake, we put the PHY into loopback mode by:
txdetectrx/loopback: 1'b1
txelecidle: 1'b0
powerdown: 2'b00
txelecidle: 1'b0
powerdown: 2'b00
then we use the PERT to send CP0, the error rate is about 2.0e-1, which is very strange. it is seems that the PHY is not in loopback mode.
if we use the PERT to send CP1, the error rate is about 4.0e-9, which is still a big value, but much better then CP0.
if we use the PERT to send CP2, there will be no error.
if we use the same test environment to test another PC host, there is no error. so we think the test environment should be OK.
over all, it seems that PHY works in a strange mode when we put it into loopback mode. Is there any extra configuration that we should do when setting PHY into loopback mode?
we found it on errata, that "Corrupted SKIPS returned to USB3 Loopback Master.." does it mean that if we want to pass RX electrical test, we have to implement external loopback in FPGA?