JESD204 IP-Core occasionally receives wrong data in internal loopback mode
I'm currently trying to implement the JESD204-IP Core to receive data from an ADC on an Arria 10 using Quartus Prime v18.1. To test the receiver I implemented both channels (TX and RX) of the Transceiver and manually switch into loopback mode. After initializing the link I transmit a ramp, which almost works fine. Occasionally and not reproducable the data in the receiver is wrong, even though the transmit word is correct.
Notice, that the transmitter in the following picture first transmits the value 0x58FF, and after that the value 0x5900:
The receiver instead first receives the 0x58FF (31 cycles later), but after that it receives a 0x5959, which is wrong. As you can see no errors are being asserted.
I'm currently using Subclass 0 with 2 lanes enabled and 2.5 Gbps transfer rate.
Does anyone have an idea, why this happens?