SLAA871 January 2019 AFE7422 , AFE7444
The loopback feature emulates physically connecting the STX lanes to SRX lanes. To make sure the correct JESD decoding and coding is used, both receiver paths and transmitter paths within the device must be configured to the same JESD mode (that is, the same values for L, M, F, S, and K). The scrambler must either be enabled for both or disabled for both. Then program the SPI to switch to loopback mode. SYSREF is free running until this programming is done. Figure 1 shows a block diagram of the AFE74xx in repeater mode.
Data from the STX1 lane are looped back to the SRX1 lane, and then data from STX2 to SRX2, and so on. Lane mux of receiver path and transmitter path must be set to send the data from the STX lanes to the SRX lanes in the intended way.
The sync out from the JESD RX can be looped back to sync in of the JESD TX. To achieve this loopback, externally connect the LVDS sync out pin to the LVDS sync in pin. However, because there is no JESD physical layer involved, the loss of SYNC is not expected. Therefore, the JESD TX can be configured to ignore the SYNC request from sync in pin and send RX out data after SYNC is initially established.
The following summary lists the must-do items in order to use this repeater mode through the loopback with SerDes bypassed: