SNLA267A March 2019 – June 2019 DS90UB953-Q1 , DS90UB954-Q1 , DS90UB960-Q1
## 954_953_CSI_RegisterCheck.py
##
## revision 1.0 6/13/17
##
########
print "\n\n"
SERalias = 0x18
DES = 0x7A
print("954 0x04: Device Status", hex(board.ReadI2C(DES, 0x04, 1)))
print("954 0x4D: RX Port Status", hex(board.ReadI2C(DES, 0x4D, 1)))
print("954 0x72: Map for Virtual Channel ID", hex(board.ReadI2C(DES, 0x72, 1)))
print("954 0x7A: CSI_RX_STS for Length and checksum errors", hex(board.ReadI2C(DES, 0x7A, 1)))
print("954 0x7B: CSI_ERR_COUNTER", hex(board.ReadI2C(DES, 0x7B, 1)))
print("954 0x7C: Port Config 2", hex(board.ReadI2C(DES, 0x7C, 1)))
print("954 0x33: CSI CTL", hex(board.ReadI2C(DES, 0x5F, 1)))
print("954 0x34: CSI STS", hex(board.ReadI2C(DES, 0x60, 1)))
print("954 0x4E: RX PORT STS2, Line Count Change, and CSI Error", hex(board.ReadI2C(DES, 0x4E, 1)))
print("954 0x55: RX Parity Error HI", hex(board.ReadI2C(DES, 0x55, 1)))
print("954 0x56: RX Parity Error LO", hex(board.ReadI2C(DES, 0x56, 1)))
print("----------------------------------------------")
print("953 0x52: General Status", hex(board.ReadI2C(SERalias, 0x52, 1)))
print("953 0x5C: CSI_ERR_CNT", hex(board.ReadI2C(SERalias, 0x5C, 1)))
print("953 0x5D: CSI Error Status, check Length and Checksum errors", hex(board.ReadI2C(SERalias, 0x5D, 1)))
print("953 0x5E: CSI Error Data lanes 0 and 1", hex(board.ReadI2C(SERalias, 0x5E, 1)))
print("953 0x5F: CSI Error Data Lanes 2 and 3", hex(board.ReadI2C(SERalias, 0x5F, 1)))
print("953 0x60: CSI Error Clock Lane", hex(board.ReadI2C(SERalias, 0x60, 1)))
print("953 0x61: CSI Packet Header Data", hex(board.ReadI2C(SERalias, 0x61, 1)))
print("953 0x62: CSI Packet Header Word Count LSB", hex(board.ReadI2C(SERalias, 0x62, 1)))
print("953 0x63: CSI Packet Header Word Count MSB", hex(board.ReadI2C(SERalias, 0x63, 1)))
print("953 0x64: CSI ECC, bit 7 does line length Change", hex(board.ReadI2C(SERalias, 0x64, 1)))
print("953 0x79: BCC Status: Types of BCC Errors", hex(board.ReadI2C(SERalias, 0x79, 1)))
print("953 0x56: CRC Error count: MSB", hex(board.ReadI2C(SERalias, 0x56, 1)))
print("953 0x55: CRC Error count: LSB", hex(board.ReadI2C(SERalias, 0x56, 1)))