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: The DS90UB960 CSI output abnormal

Part Number: DS90UB953-Q1

Hi teams

Recent I use  DS90UB960+DS90UB953 for cameras.

When I insert one camera sensor the picture preview is normal.

But insert more than one camera sensor ,the stream data  seems to be output to one /dev/video point.

I need some help.

BRs

thanks

  • Hello,

    Can I ask for some more information regarding your setup?  I understand you are attempting to use the 960 with multiple cameras/serializers and are having trouble separating the video data.  Is it that you are forwarding both camera data streams to the CSI port and there is an issue with the format of the data or are you unable to get any data at all?  Just to better help can you provide some more information regarding your intentions and setup?

    Regards,

    Nick

  • Hi  Nick

    Thanks for you reply.

    My application scenarios are as follows.

    I use  four camera sensors (1920*1080 953 ser) with one HUB Deserializer of 960.

    I use one of the 960 csi output port transfer the 4 camera data  to cpu side.

    The details  is below.

    Camera A (ser 953)     |                                                            |          /dev/video0

    Camera B (ser 953)    |                                                             |          /dev/video1

                                            }  DS90UB960  {     -----CSI 0   } 

    Camera C (ser 953)    |                                                             |          /dev/video2

    Camera D (ser 953)    |                                                             |          /dev/video3

    The actual result:

    1) Only plug in Camera A

    When opened the /dev/video0, the Camera A data is right

    2) Plug in Camera A and Camera B,

    When opened the /dev/video0,the data is not right, it was not  only Camera A, it is the  combination  of Camera A and Camera B.   Droped one of the two,the data flow is normal,The /dev/video0 can show normal video data of Camera A or Camera B.

    The Camera B data should not  use video0,it should video1.

    I setting the    Camera A-----RIN0  VC-ID0   Camera B-----RIN1  VC-ID1     Camera C-----RIN2  VC-ID2    Camera D-----RIN3  VC-ID3.

    It seems to be all the sensor data flow use one VC-ID0. I did not know why.  

    (Additional information: I had successfully use 4 sensor of 933 + 960 ,the video data flow is all right.4-way camera data can be completely separated    )

    Please help me check it.

    thanks 

    eg:

    My Camera A  and Camera B  setting as below:

    //camera A and B

    ./i2cset -f -y 9 0x3d 0x4c 0x01
    ./i2cset -f -y 9 0x3d 0x58 0x5e
    ./i2cset -f -y 9 0x3d 0x5c 0x30
    ./i2cset -f -y 9 0x3d 0x5d 0x42
    ./i2cset -f -y 9 0x3d 0x65 0xba
    ./i2cset -f -y 9 0x3d 0xb0 0x1c
    ./i2cset -f -y 9 0x3d 0x70 0x1e
    sleep 0.5
    ./i2cset -f -y 9 0x3d 0x4c 0x12
    ./i2cset -f -y 9 0x3d 0x58 0x5e
    ./i2cset -f -y 9 0x3d 0x5c 0x32
    ./i2cset -f -y 9 0x3d 0x5d 0x42
    ./i2cset -f -y 9 0x3d 0x65 0xbc
    ./i2cset -f -y 9 0x3d 0xb0 0x1c
    ./i2cset -f -y 9 0x3d 0x70 0x5e
    the 960 reg dump result as below:
    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: 7a 00 1e 40 d0 01 00 fe 1c 10 7a 7a 0f b9 00 ff    z.?@??.???zz??..
    10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 04 02    ..............??
    20: 00 03 00 00 00 00 00 00 00 00 00 00 00 00 00 00    .?..............
    30: 00 00 12 03 00 10 00 00 00 00 00 00 00 00 00 00    ..??.?..........
    40: 00 a9 71 01 00 00 20 00 00 00 00 12 12 53 6d 64    .?q?.. ....??Smd
    50: 00 00 00 03 00 00 00 00 5e 00 00 30 32 42 00 00    ...?....^..02B..
    60: 00 00 00 00 00 bc 00 00 00 00 00 00 00 7c 88 88    .....?.......|??
    70: 5e 6c e4 04 38 0f 00 c5 00 01 0e 01 20 00 00 00    ^l??8?.?.??? ...
    80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
    90: ff ff 00 05 ff ff 00 05 00 00 00 00 00 00 00 00    ...?...?........
    a0: 00 00 00 00 00 1c 00 00 00 00 00 00 00 00 00 00    .....?..........
    b0: 1c 3a 15 08 25 00 18 00 fc 33 83 74 80 00 00 00    ?:??%.?.?3?t?...
    c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
    d0: 00 43 94 02 60 f2 00 02 00 00 00 00 00 00 00 00    .C??`?.?........
    e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
    f0: 5f 55 42 39 36 30 00 00 00 00 00 00 00 00 00 00    _UB960..........
  • Hello,

    So the 953 sends CSI data and the 933 is used in backwards compatibility mode and will be forwarding RAW data.  So in your setup you will not need to set register 0x70 since this is for RAW10 data. Instead you will need to set register 0x72 to properly set the VC-ID for incoming CSI data. Also you will need to make sure you set register 0x20 to forward each RX port to the appropriate CSI port.  Finally make sure you are using the round robin forwarding method that will send each cameras data as it becomes available.

    Regards,

    Nick