SNLA474A October 2024 – October 2024 DS90UB971-Q1
Supporting serializer and deserializer devices contain verification features to check FEC functionality is operational. The serializer can inject FEC errors via register command, and the deserializer provides diagnostics for the number of ECC1/ECC2 FEC errors detected in the FPD-Link channel. Note that these are not the same as ECC1/ECC2 CSI-2 errors reported by the CSI_RX_STS register.
board.WriteI2C(serAddr,0x76,0x01) # Force 1x FPD ECC1 error (Correctable)
board.WriteI2C(serAddr,0x76,0x02) # Force 1x FPD ECC2 error (Detectable)
Deserializer diagnostic counters for FEC errors are port-specific. Select the desired RX port with register 0x4C before reading diagnostics.
board.WriteI2C(desAddr,0x4C,0x01) # Select RX port 0
board.ReadI2C(desAddr,0x48) # Read back count of FPD ECC1 Errors (Clear on Read)
board.ReadI2C(desAddr,0x49) # Read back count of FPD ECC2 Errors (Clear on Read)