This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DS90UB960-Q1: 953 + 960 image display abnormal

Part Number: DS90UB960-Q1

Hello team,

 The following problems are encountered in the current project. Please help analyze them and give some debug suggestions. Thank you!

4 sensor modules connect to Maxim96712 Deserializer with GMSL1, then copy port A to port B to obtain two outputs.

system diagram

1. port B image display abnormal when we configured the different data rate on port A and port B, but port A is always normal.

2. if port A 900M and port B 800M, the image like the following picture.

.

3. if port A 700M and port B 800M, the image like the following picture.

4. the normal image

  • Hello Dezhong,

    1. How many CSI-2 data lanes are enabled on Port A and Port B?
    2. What is the configured data rate per lane at Port A and Port B?
    3. Could you provide a register dump of the CSI-2 receiver status registers on the 953 when you are getting the normal image and when you are getting the abnormal image?
      1. I would like to compare the registers and see if there are any detected errors that could be causing the issue.

    Best,

    Justin Phan

  • Hello Justin,

    1. How many CSI-2 data lanes are enabled on Port A and Port B?     4 lanes
    2. What is the configured data rate per lane at Port A and Port B?      800M/lane
    3. Could you provide a register dump of the CSI-2 receiver status registers on the 953 when you are getting the normal image and when you are getting the abnormal image?

    Port A and Port B are all 800M/lane(image is normal), the registers on the 953.

    root@j3dvbj3-micron4G-3200:/usr/bin/Camera/m1/JC/vio# i2cdump -f -y 4 0x18
    No size specified (using byte-data access)
    0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef
    00: 30 00 33 48 00 03 41 28 fe 1e 10 7f 7f 01 1e 00 0.3H.?A(???????.
    10: 00 00 00 00 00 20 18 3c 80 62 62 62 00 00 00 00 ..... ?<?bbb....
    20: 00 00 00 00 00 02 00 00 67 33 01 00 00 00 00 00 .....?..g3?.....
    30: 00 20 09 04 00 10 00 60 00 00 00 00 00 00 00 00 . ??.?.`........
    40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
    50: 20 c0 45 00 00 00 00 00 07 07 07 02 02 0c 44 44 ?E.....??????DD
    60: 00 1e 00 0a 11 88 00 00 00 00 00 00 00 00 00 00 .?.???..........
    70: 00 00 25 00 00 00 00 00 00 00 e4 00 00 00 00 00 ..%.......?.....
    80: 00 00 00 00 00 00 90 00 00 00 00 00 05 00 00 00 ......?.....?...
    90: 32 e3 64 01 00 00 00 00 00 00 24 00 04 05 02 0d 2?d?......$.????
    a0: 00 0c 0d 0b 0c 10 42 10 10 10 03 01 00 00 00 00 .?????B?????....
    b0: 04 4a 3f 00 00 00 00 00 00 00 00 00 00 00 00 00 ?J?.............
    c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
    d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
    e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
    f0: 5f 55 42 39 35 33 00 00 00 00 00 00 00 00 00 00 _UB953..........

    Port A is 900M/lane, Port B is 800M/lane (image is abnormal), the registers on the 953.

    root@j3dvbj3-micron4G-3200:/usr/bin/Camera/m1/JC/vio# i2cdump -f -y 4 0x18
    No size specified (using byte-data access)
    0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef
    00: 30 00 33 48 00 03 41 28 fe 1e 10 7f 7f 01 1e 00 0.3H.?A(???????.
    10: 00 00 00 00 00 20 18 3c 80 62 62 62 00 00 00 00 ..... ?<?bbb....
    20: 00 00 00 00 00 02 00 00 67 33 01 00 00 00 00 00 .....?..g3?.....
    30: 00 20 09 04 00 10 00 60 00 00 00 00 00 00 00 00 . ??.?.`........
    40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
    50: 20 c0 45 00 00 00 00 00 07 07 07 02 ff 0c 44 44 ?E.....????.?DD
    60: 02 5e 00 0a 07 88 00 00 00 00 00 00 00 00 00 00 ?^.???..........
    70: 00 00 25 00 00 00 00 00 00 00 e4 00 00 00 00 00 ..%.......?.....
    80: 00 00 00 00 00 00 90 00 00 00 00 00 05 00 00 00 ......?.....?...
    90: 32 e3 64 01 00 00 00 00 00 00 24 00 04 05 02 0d 2?d?......$.????
    a0: 00 0c 0d 0b 0c 10 42 10 10 10 03 01 00 00 00 00 .?????B?????....
    b0: 04 4a 3f 00 00 00 00 00 00 00 00 00 00 00 00 00 ?J?.............
    c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
    d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
    e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
    f0: 5f 55 42 39 35 33 00 00 00 00 00 00 00 00 00 00 _UB953..........

    Port A is 700M/lane, Port B is 800M/lane (image is abnormal), the registers on the 953.

    root@j3dvbj3-micron4G-3200:/usr/bin/Camera/m1/JC/vio# i2cdump -f -y 4 0x18
    No size specified (using byte-data access)
    0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef
    00: 30 00 33 48 00 03 41 28 fe 1e 10 7f 7f 01 1e 00 0.3H.?A(???????.
    10: 00 00 00 00 00 20 18 3c 80 62 62 62 00 00 00 00 ..... ?<?bbb....
    20: 00 00 00 00 00 02 00 00 67 33 01 00 00 00 00 00 .....?..g3?.....
    30: 00 20 09 04 00 10 00 60 00 00 00 00 00 00 00 00 . ??.?.`........
    40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
    50: 20 c0 45 00 00 00 00 00 07 07 07 02 ff 04 44 44 ?E.....????.?DD
    60: 00 1e 00 0a 11 88 00 00 00 00 00 00 00 00 00 00 .?.???..........
    70: 00 00 25 00 00 00 00 00 00 00 e4 00 00 00 00 00 ..%.......?.....
    80: 00 00 00 00 00 00 90 00 00 00 00 00 05 00 00 00 ......?.....?...
    90: 32 e3 64 01 00 00 00 00 00 00 24 00 04 05 02 0d 2?d?......$.????
    a0: 00 0c 0d 0b 0c 10 42 10 10 10 03 01 00 00 00 00 .?????B?????....
    b0: 04 4a 3f 00 00 00 00 00 00 00 00 00 00 00 00 00 ?J?.............
    c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
    d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
    e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
    f0: 5f 55 42 39 35 33 00 00 00 00 00 00 00 00 00 00 _UB953..........

  • Hello Dezhong,

    In the register dumps that you provided, the setup with the normal image showing (Port A is 800M) has register 0x5C=0x02 in the 953. The setups that had abnormal images showing (Port A is 700M or 900M) have register 0x5C=0xFF in the 953 registers. 

    Register 0x5C is the CSI_ERR_CNT register. The 953 receiver detects errors in the CSI-2 packets it receives at its CSI-2 DPHY RX Port. It doesn't seem like our devices are the issue, since there are already errors in the CSI-2 data before it is fed into the 953 serializer. The issue is likely with the sensors or the Maxim device.

    Can you make sure that the cameras are initialized properly, before reading register 0x5C in the 953?

    Can you also make sure that the Maxim96712 is initialized properly?

    Best,

    Justin Phan 

  • Hello Justin,

    I think the cameras and Maxim96712 are initialized properly, because the image is normal when maxim96712 output data rate are all setting to 800M/lane.

    Did you find more error information from the register table?

    BestRegards,

    zhaodezhong

  • root@j3dvbj3-micron4G-3200:/usr/bin/Camera/m1/JC/vio# i2cdump -f -y 4 0x18
    No size specified (using byte-data access)
         0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f    0123456789abcdef
    00: 30 00 33 48 00 03 41 28 fe 1e 10 7f 7f 01 1e 00    0.3H.?A(???????.
    10: 00 00 00 00 00 20 18 3c 80 62 62 62 00 00 00 00    ..... ?<?bbb....
    20: 00 00 00 00 00 02 00 00 67 33 01 00 00 00 00 00    .....?..g3?.....
    30: 00 20 09 04 00 10 00 60 00 00 00 00 00 00 00 00    . ??.?.`........
    40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
    50: 20 c0 45 00 00 00 00 00 07 07 07 00 02 0c 44 44     ?E.....???.??DD
    60: 02 5e 00 0a 07 88 00 00 00 00 00 00 00 00 00 00    ?^.???..........
    70: 00 00 25 00 00 00 00 00 00 00 e4 00 00 00 00 00    ..%.......?.....
    80: 00 00 00 00 00 00 90 00 00 00 00 00 05 00 00 00    ......?.....?...
    90: 32 e3 64 01 00 00 00 00 00 00 24 00 04 05 02 0d    2?d?......$.????
    a0: 00 0c 0d 0b 0c 10 42 10 10 10 03 01 00 00 00 00    .?????B?????....
    b0: 04 4a 3f 00 00 00 00 00 00 00 00 00 00 00 00 00    ?J?.............
    c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
    d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
    e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
    f0: 5f 55 42 39 35 33 00 00 00 00 00 00 00 00 00 00    _UB953..........
    root@j3dvbj3-micron4G-3200:/usr/bin/Camera/m1/JC/vio# i2cdump -f -y 4 0x18
    No size specified (using byte-data access)
         0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f    0123456789abcdef
    00: 30 00 33 48 00 03 41 28 fe 1e 10 7f 7f 01 1e 00    0.3H.?A(???????.
    10: 00 00 00 00 00 20 18 3c 80 62 62 62 00 00 00 00    ..... ?<?bbb....
    20: 00 00 00 00 00 02 00 00 67 33 01 00 00 00 00 00    .....?..g3?.....
    30: 00 20 09 04 00 10 00 60 00 00 00 00 00 00 00 00    . ??.?.`........
    40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
    50: 20 c0 45 00 00 00 00 00 07 07 07 00 00 00 00 00     ?E.....???.....
    60: 00 1e 00 0a 11 88 00 00 00 00 00 00 00 00 00 00    .?.???..........
    70: 00 00 25 00 00 00 00 00 00 00 e4 00 00 00 00 00    ..%.......?.....
    80: 00 00 00 00 00 00 90 00 00 00 00 00 05 00 00 00    ......?.....?...
    90: 32 e3 64 01 00 00 00 00 00 00 24 00 04 05 02 0d    2?d?......$.????
    a0: 00 0c 0d 0b 0c 10 42 10 10 10 03 01 00 00 00 00    .?????B?????....
    b0: 04 4a 3f 00 00 00 00 00 00 00 00 00 00 00 00 00    ?J?.............
    c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
    d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
    e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
    f0: 5f 55 42 39 35 33 00 00 00 00 00 00 00 00 00 00    _UB953..........
    root@j3dvbj3-micron4G-3200:/usr/bin/Camera/m1/JC/vio# 
    root@j3dvbj3-micron4G-3200:/usr/bin/Camera/m1/JC/vio# 
    root@j3dvbj3-micron4G-3200:/usr/bin/Camera/m1/JC/vio# 
    root@j3dvbj3-micron4G-3200:/usr/bin/Camera/m1/JC/vio# i2cdump -f -y 4 0x18
    No size specified (using byte-data access)
         0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f    0123456789abcdef
    00: 30 00 33 48 00 03 41 28 fe 1e 10 7f 7f 01 1e 00    0.3H.?A(???????.
    10: 00 00 00 00 00 20 18 3c 80 62 62 62 00 00 00 00    ..... ?<?bbb....
    20: 00 00 00 00 00 02 00 00 67 33 01 00 00 00 00 00    .....?..g3?.....
    30: 00 20 09 04 00 10 00 60 00 00 00 00 00 00 00 00    . ??.?.`........
    40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
    50: 20 c0 45 00 00 00 00 00 07 07 07 00 00 00 00 00     ?E.....???.....
    60: 00 1e 00 0a 11 88 00 00 00 00 00 00 00 00 00 00    .?.???..........
    70: 00 00 25 00 00 00 00 00 00 00 e4 00 00 00 00 00    ..%.......?.....
    80: 00 00 00 00 00 00 90 00 00 00 00 00 05 00 00 00    ......?.....?...
    90: 32 e3 64 01 00 00 00 00 00 00 24 00 04 05 02 0d    2?d?......$.????
    a0: 00 0c 0d 0b 0c 10 42 10 10 10 03 01 00 00 00 00    .?????B?????....
    b0: 04 4a 3f 00 00 00 00 00 00 00 00 00 00 00 00 00    ?J?.............
    c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
    d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
    e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
    f0: 5f 55 42 39 35 33 00 00 00 00 00 00 00 00 00 00    _UB953..........
    root@j3dvbj3-micron4G-3200:/usr/bin/Camera/m1/JC/vio# 
    
    
    root@j3dvbj3-micron4G-3200:/usr/bin/Camera/m1/JC/vio# i2cdump -f -y 4 0x18
    No size specified (using byte-data access)
         0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f    0123456789abcdef
    00: 30 00 33 48 00 03 41 28 fe 1e 10 7f 7f 01 1e 00    0.3H.?A(???????.
    10: 00 00 00 00 00 20 18 3c 80 62 62 62 00 00 00 00    ..... ?<?bbb....
    20: 00 00 00 00 00 02 00 00 67 33 01 00 00 00 00 00    .....?..g3?.....
    30: 00 20 09 04 00 10 00 60 00 00 00 00 00 00 00 00    . ??.?.`........
    40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
    50: 20 c0 45 00 00 00 00 00 07 07 07 00 ff 0c 44 44     ?E.....???..?DD
    60: 02 de 00 0a 1e 88 00 00 00 00 00 00 00 00 00 00    ??.???..........
    70: 00 00 25 00 00 00 00 00 00 00 e4 00 00 00 00 00    ..%.......?.....
    80: 00 00 00 00 00 00 90 00 00 00 00 00 05 00 00 00    ......?.....?...
    90: 32 e3 64 01 00 00 00 00 00 00 24 00 04 05 02 0d    2?d?......$.????
    a0: 00 0c 0d 0b 0c 10 42 10 10 10 03 01 00 00 00 00    .?????B?????....
    b0: 04 4a 3f 00 00 00 00 00 00 00 00 00 00 00 00 00    ?J?.............
    c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
    d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
    e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
    f0: 5f 55 42 39 35 33 00 00 00 00 00 00 00 00 00 00    _UB953..........
    root@j3dvbj3-micron4G-3200:/usr/bin/Camera/m1/JC/vio# 
    root@j3dvbj3-micron4G-3200:/usr/bin/Camera/m1/JC/vio# 
    root@j3dvbj3-micron4G-3200:/usr/bin/Camera/m1/JC/vio# i2cdump -f -y 4 0x18
    No size specified (using byte-data access)
         0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f    0123456789abcdef
    00: 30 00 33 48 00 03 41 28 fe 1e 10 7f 7f 01 1e 00    0.3H.?A(???????.
    10: 00 00 00 00 00 20 18 3c 80 62 62 62 00 00 00 00    ..... ?<?bbb....
    20: 00 00 00 00 00 02 00 00 67 33 01 00 00 00 00 00    .....?..g3?.....
    30: 00 20 09 04 00 10 00 60 00 00 00 00 00 00 00 00    . ??.?.`........
    40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
    50: 20 c0 45 00 00 00 00 00 07 07 07 00 ff 0c 00 00     ?E.....???..?..
    60: 00 9e 00 0a 08 88 00 00 00 00 00 00 00 00 00 00    .?.???..........
    70: 00 00 25 00 00 00 00 00 00 00 e4 00 00 00 00 00    ..%.......?.....
    80: 00 00 00 00 00 00 90 00 00 00 00 00 05 00 00 00    ......?.....?...
    90: 32 e3 64 01 00 00 00 00 00 00 24 00 04 05 02 0d    2?d?......$.????
    a0: 00 0c 0d 0b 0c 10 42 10 10 10 03 01 00 00 00 00    .?????B?????....
    b0: 04 4a 3f 00 00 00 00 00 00 00 00 00 00 00 00 00    ?J?.............
    c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
    d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
    e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
    f0: 5f 55 42 39 35 33 00 00 00 00 00 00 00 00 00 00    _UB953..........
    root@j3dvbj3-micron4G-3200:/usr/bin/Camera/m1/JC/vio# i2cdump -f -y 4 0x18
    No size specified (using byte-data access)
         0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f    0123456789abcdef
    00: 30 00 33 48 00 03 41 28 fe 1e 10 7f 7f 01 1e 00    0.3H.?A(???????.
    10: 00 00 00 00 00 20 18 3c 80 62 62 62 00 00 00 00    ..... ?<?bbb....
    20: 00 00 00 00 00 02 00 00 67 33 01 00 00 00 00 00    .....?..g3?.....
    30: 00 20 09 04 00 10 00 60 00 00 00 00 00 00 00 00    . ??.?.`........
    40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
    50: 20 c0 45 00 00 00 00 00 07 07 07 00 ff 0c 00 00     ?E.....???..?..
    60: 00 5e 00 0a 07 88 00 00 00 00 00 00 00 00 00 00    .^.???..........
    70: 00 00 25 00 00 00 00 00 00 00 e4 00 00 00 00 00    ..%.......?.....
    80: 00 00 00 00 00 00 90 00 00 00 00 00 05 00 00 00    ......?.....?...
    90: 32 e3 64 01 00 00 00 00 00 00 24 00 04 05 02 0d    2?d?......$.????
    a0: 00 0c 0d 0b 0c 10 42 10 10 10 03 01 00 00 00 00    .?????B?????....
    b0: 04 4a 3f 00 00 00 00 00 00 00 00 00 00 00 00 00    ?J?.............
    c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
    d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
    e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
    f0: 5f 55 42 39 35 33 00 00 00 00 00 00 00 00 00 00    _UB953..........
    root@j3dvbj3-micron4G-3200:/usr/bin/Camera/m1/JC/vio# i2cdump -f -y 4 0x18
    No size specified (using byte-data access)
         0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f    0123456789abcdef
    00: 30 00 33 48 00 03 41 28 fe 1e 10 7f 7f 01 1e 00    0.3H.?A(???????.
    10: 00 00 00 00 00 20 18 3c 80 62 62 62 00 00 00 00    ..... ?<?bbb....
    20: 00 00 00 00 00 02 00 00 67 33 01 00 00 00 00 00    .....?..g3?.....
    30: 00 20 09 04 00 10 00 60 00 00 00 00 00 00 00 00    . ??.?.`........
    40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
    50: 20 c0 45 00 00 00 00 00 07 07 07 00 ff 0c 00 00     ?E.....???..?..
    60: 00 de 00 0a 1e 88 00 00 00 00 00 00 00 00 00 00    .?.???..........
    70: 00 00 25 00 00 00 00 00 00 00 e4 00 00 00 00 00    ..%.......?.....
    80: 00 00 00 00 00 00 90 00 00 00 00 00 05 00 00 00    ......?.....?...
    90: 32 e3 64 01 00 00 00 00 00 00 24 00 04 05 02 0d    2?d?......$.????
    a0: 00 0c 0d 0b 0c 10 42 10 10 10 03 01 00 00 00 00    .?????B?????....
    b0: 04 4a 3f 00 00 00 00 00 00 00 00 00 00 00 00 00    ?J?.............
    c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
    d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
    e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
    f0: 5f 55 42 39 35 33 00 00 00 00 00 00 00 00 00 00    _UB953..........
    root@j3dvbj3-micron4G-3200:/usr/bin/Camera/m1/JC/vio# i2cdump -f -y 4 0x18
    No size specified (using byte-data access)
         0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f    0123456789abcdef
    00: 30 00 33 48 00 03 41 28 fe 1e 10 7f 7f 01 1e 00    0.3H.?A(???????.
    10: 00 00 00 00 00 20 18 3c 80 62 62 62 00 00 00 00    ..... ?<?bbb....
    20: 00 00 00 00 00 02 00 00 67 33 01 00 00 00 00 00    .....?..g3?.....
    30: 00 20 09 04 00 10 00 60 00 00 00 00 00 00 00 00    . ??.?.`........
    40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
    50: 20 c0 45 00 00 00 00 00 07 07 07 00 ff 0c 00 00     ?E.....???..?..
    60: 00 1e 00 0a 11 88 00 00 00 00 00 00 00 00 00 00    .?.???..........
    70: 00 00 25 00 00 00 00 00 00 00 e4 00 00 00 00 00    ..%.......?.....
    80: 00 00 00 00 00 00 90 00 00 00 00 00 05 00 00 00    ......?.....?...
    90: 32 e3 64 01 00 00 00 00 00 00 24 00 04 05 02 0d    2?d?......$.????
    a0: 00 0c 0d 0b 0c 10 42 10 10 10 03 01 00 00 00 00    .?????B?????....
    b0: 04 4a 3f 00 00 00 00 00 00 00 00 00 00 00 00 00    ?J?.............
    c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
    d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
    e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
    f0: 5f 55 42 39 35 33 00 00 00 00 00 00 00 00 00 00    _UB953..........
    root@j3dvbj3-micron4G-3200:/usr/bin/Camera/m1/JC/vio# i2cdump -f -y 4 0x18
    No size specified (using byte-data access)
         0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f    0123456789abcdef
    00: 30 00 33 48 00 03 41 28 fe 1e 10 7f 7f 01 1e 00    0.3H.?A(???????.
    10: 00 00 00 00 00 20 18 3c 80 62 62 62 00 00 00 00    ..... ?<?bbb....
    20: 00 00 00 00 00 02 00 00 67 33 01 00 00 00 00 00    .....?..g3?.....
    30: 00 20 09 04 00 10 00 60 00 00 00 00 00 00 00 00    . ??.?.`........
    40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
    50: 20 c0 45 00 00 00 00 00 07 07 07 00 ff 0c 00 00     ?E.....???..?..
    60: 00 9e 00 0a 08 88 00 00 00 00 00 00 00 00 00 00    .?.???..........
    70: 00 00 25 00 00 00 00 00 00 00 e4 00 00 00 00 00    ..%.......?.....
    80: 00 00 00 00 00 00 90 00 00 00 00 00 05 00 00 00    ......?.....?...
    90: 32 e3 64 01 00 00 00 00 00 00 24 00 04 05 02 0d    2?d?......$.????
    a0: 00 0c 0d 0b 0c 10 42 10 10 10 03 01 00 00 00 00    .?????B?????....
    b0: 04 4a 3f 00 00 00 00 00 00 00 00 00 00 00 00 00    ?J?.............
    c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
    d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
    e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
    f0: 5f 55 42 39 35 33 00 00 00 00 00 00 00 00 00 00    _UB953..........
    root@j3dvbj3-micron4G-3200:/usr/bin/Camera/m1/JC/vio# i2cdump -f -y 4 0x18
    No size specified (using byte-data access)
         0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f    0123456789abcdef
    00: 30 00 33 48 00 03 41 28 fe 1e 10 7f 7f 01 1e 00    0.3H.?A(???????.
    10: 00 00 00 00 00 20 18 3c 80 62 62 62 00 00 00 00    ..... ?<?bbb....
    20: 00 00 00 00 00 02 00 00 67 33 01 00 00 00 00 00    .....?..g3?.....
    30: 00 20 09 04 00 10 00 60 00 00 00 00 00 00 00 00    . ??.?.`........
    40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
    50: 20 c0 45 00 00 00 00 00 07 07 07 00 ff 0c 00 00     ?E.....???..?..
    60: 00 1e 00 0a 11 88 00 00 00 00 00 00 00 00 00 00    .?.???..........
    70: 00 00 25 00 00 00 00 00 00 00 e4 00 00 00 00 00    ..%.......?.....
    80: 00 00 00 00 00 00 90 00 00 00 00 00 05 00 00 00    ......?.....?...
    90: 32 e3 64 01 00 00 00 00 00 00 24 00 04 05 02 0d    2?d?......$.????
    a0: 00 0c 0d 0b 0c 10 42 10 10 10 03 01 00 00 00 00    .?????B?????....
    b0: 04 4a 3f 00 00 00 00 00 00 00 00 00 00 00 00 00    ?J?.............
    c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
    d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
    e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
    f0: 5f 55 42 39 35 33 00 00 00 00 00 00 00 00 00 00    _UB953..........
    root@j3dvbj3-micron4G-3200:/usr/bin/Camera/m1/JC/vio# 
    
    

    Hello Justin,

    I dumped two logs again, I run the i2c dump command several times.

    In the normal case, 0x5c = 0x0.

    In the abnormal case, 0x5c = 0xff, 0x61 is changing, 0xde,0x9e, 0x5e, 0xde, etc.

    What is the register 0x61 meaning?

    BestRegards,

    zhaodezhong

  • Hello Zhao Dezhong,

    In the normal case, register 0x5C in the 953 registers is 0x00. But in the abnormal case, register 0x5C is maxed out at 0xFF. This leads me to suspect that some upstream component in the system is faulty and feeding abnormal CSI-2 data into the 953 serializer device.

    1. Register 0x61 in the 953 describes the VC-ID information and the Data Type information that is being read from the received CSI-2 packet. Each CSI-2 long packet has a header that describes information about the data stored in the CSI-2 packet.
      1. The VC-ID is used to determine which video stream that a CSI-2 packet belongs to. This allows the end processor to organize the CSI-2 data it receives, based on the labelled video streams. The data-type ID refers to the data type of the video data in the CSI-2 packet, such as RAW888 or YUV422.
      2. Based on the values that you provided for register 0x61 in the abnormal situation, the data type of the received CSI-2 packets is held constant at 0x1E, which corresponds to a data type of YUV422 8-bit in the CSI-2 packets. This is expected behavior.
      3. The VC-ID is constantly changing. This may happen if you are sending an aggregated video stream which contains video from multiple sources or if the processor or upstream device is reassigning the VC-IDs. This is expected behavior, depending on how the system is configured. If you are only expecting CSI-2 packets with only one VC-ID being sent to the 953 serializer, then that is not expected behavior. But it seems you are aggregating video from multiple sources to the 953.
      4.  
      5. Could you describe in more detail about the normal and abnormal setups?
        1. Do you first initialize the Maxim processor at 800M/lane, and then run an additional script that Port A to 900M/lane?
        2. Do you get a good image first, but then the image becomes abnormal after running the script that configures Port A to 900M/lane?
        3. What other differences are there in the normal and abnormal setups?

    Best,

    Justin Phan

  • Hello Justin,

    Thank you for your reply.

    "1.Do you first initialize the Maxim processor at 800M/lane, and then run an additional script that Port A to 900M/lane

    2.Do you get a good image first, but then the image becomes abnormal after running the script that configures Port A to 900M/lane?

    3.What other differences are there in the normal and abnormal setups?"

    The Maxim96712's registers settings are compiled to two C share libraries, one is 800M/lane and another is 900M/lane,

    two cases will load different library, so the two cases are independent. There is no other difference in the normal and abnormal

    case expected DPHY data rate/lane. I think we can't get more information from 953 expected the 0x5C(the error count) now.

    I need spend more time on Maxim96712 :(.

    Thank you again.

     

    BestRegards,

    zhaodezhong

  • Hello Zhao,

    Okay, do let me know if you find a solution or clue. CSI-2 errors are generated due to corrupted CSI-2 data coming from the imagers or upstream device or if there are SI errors due to bad layout connection between the 953 SER and the Maxim processor.

    Since you are able to get a normal image in the 800M/800M setup and no CSI-2 errors detected on the 953, then the layout should not be the issue.

    I can only suspect that there is an issue with the CSI-2 data being sent by the cameras or there is some configuration issue with the Maxim processor. Maybe the C share library that configures Port A to 900M/lane is accidentally setting Port B to 900M/lane, which exceeds the 953 datasheet specs?

    Best,

    Justin Phan

  • Hello Justin,

    We found it is a limitation of maxim96712 when using copy function, it had confirmed by maxim.

    The  output data rate must be equal, or will occur copy overflow.

     

    BestRegards,

    zhaodezhong

  • Hello Zhao,

    Thank you for the update. Since the solution was found, then this thread can be closed.

    Best,

    Justin Phan