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.

DS90UB953-Q1 and DS90UB954-Q1 image tearing issue

Hi all,

I am using 954 , 953 and imx390 on nvidia jetson agx xavier. I can open two cameras on one 954 now. The output size is 1920*1080, 30 fps. But there is an image tearing issue happened on both sensors.

The setting is each camera uses 4 csi lanes. 

And 954's register 0x4E will get 0x2C.

Does anyone have any idea about this issue?

Thanks in advance

  • Hi Linhan, 

    It looks like you have some CSI errors (please read back 0x7A and 0x7B) from at least one of the cameras. You can change the port in register 0x4C. Please check the errors for both port 0 and port 1. Also can you read back 0x4D? It looks like you have a link problem as well. 

    Thanks 

    Sally

  • Hi Sally,

    Thank you for your reply.

    I read the register of 954 you mentioned. 0x7a -> 0x0a, 0x7b -> 0x02, 0x4d -> 0x53. And it was from port 1, I changed 0x4c from 0x12 to 0x01, and also get 0x4d -> 0x13. The default port is port1, if I changed to port 0, there will be 0x00 from 0x7a and 0x7b.

    And I also checked 953. One 953's 0x5d is 0x0f. The line length mismatch got me confused. The 953 line length setting is 0x07(H) and 0x80(L), which is 1920. The active width and length of device tree setting of camera is 1920*1080.

    So for the csi errors, how can I solve them?

    Thanks,

    Zheng Linhan

  • Hi Linhan, 

    It looks like in both port 0/1 you have had a lock status change. I am not sure if you had a lock status change during initialization or not, so you may want to establish lock and link and make sure you do not have lock drop before sending CSI-2 data. Your camera sensor connected to Port 1 has some CSI-2 data with incoming errors which may be due to cable/signal integrity issues. It looks like there is a 2bit ECC error which is not correctable. Are you using the same cable and board for both 953's? 

    Thanks, 
    Sally 

  • Hi Sally,

    Thank you for your advise. I'm using same cable and board for both 953.

    For the initialization, I got the code from other and try to modify. In this code, they set the 0x72 to 0xe8(cam 0), and 0xe9(cam 1). I'm not sure whether it will cause problems. And also it did not set the data type of input. How should I check data type configuration?

    I also got 0x65 from 954's 0x4e. So is this the result of current situation, or it's separate problem?

    Thanks,

    Zheng Linhan

  • Hi Linhan, 

    Are both camera's VC-ID = 0 when coming in? If so, that should be ok. Disregard my mentioning of data type. 

    That is the result of the current situation. Can you try swapping the camera ports and seeing if that helps? Do get the errors from port 1 on to port 0 now? 

    Thanks,

    Sally 

  • Hi Sally,

    I tried to change to different port on i2c switch, use another 954 board, use different cable. And the results were same, image tearing for both cameras on one deserializer board.

    Thanks,

    Zheng Linhan

  • Hi Linhan, 

    Let's see if we can isolate the problem. Before you change everything, can you go back to the original setup?

    1. Go back to the original setup. 

    2. Confirm that the CSI-2 errors are only on port 2 (0x7A and 0x7B on DES) and (0x5C & 0x5D - 0x60 on SER)

    3. Swap the camera on port 2 with the camera on port 1. 

    4. See if the errors are now only on port 1. 

    Thanks, 
    Sally 

  • Hi Sally,

    I tried to figure this thing out. Actually this was caused by some wrong settings of sensor.

    Thank you for your time.

    Best,

    Zheng Linhan