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.

DS90UB954-Q1: Dual MIPI camera line Line-Concatenate Forwarding registers help

Part Number: DS90UB954-Q1

Tool/software:

Dear Ti experts,

I'm trying to do Line concatenate in forwarding mode with 2x 935's connected to the 954 but with no success

What I'm doing software wise:

# DeviceAddress,RegisterAddress,RegisterValue,7-bit Device Address ? , 16-Bit RegisterAddress? , Read with Stop ?, Waittime between lines
0x60,0xC,0xAB,0,0,0,0

0x60,0x10,0x91,0,0,0,0 # FrameSync signal; Device status; Enabled
0x60,0x19,0xD9,0,0,0,0 # FS_HIGH_TIME_1
0x60,0x1A,0x03,0,0,0,0 # FS_HIGH_TIME_0
0x60,0x1B,0xD9,0,0,0,0 # FS_LOW_TIME_1
0x60,0x1C,0x02,0,0,0,0 # FS_LOW_TIME_0
0x60,0x18,0x00,0,0,0,0 # Enable FrameSync

0x60,0x4C,0x01,0,0,0,0 # open port 1
0x60,0x5C,0xB0,0,0,0,0 # Serializer alias id
0x60,0x5B,0xB0,0,0,0,0 # Serializer alias id
0x60,0x5D,0x48,0,0,0,0 #TargetID[0]
0x60,0x65,0x48,0,0,0,0 #TargetAlias[0]
0x60,0x58,0x5e,0,0,0,0 #BCC_CONFIG
0x60,0x6E,0xA9,0,0,0,0 #BC_GPIO_CTL0 GPIO 1 fsync
0x60,0x0f,0x7D,0,0,0,0 #disable GPIO1 input

0x60,0x4C,0x12,0,0,0,0 #same as above for port 2
0x60,0x5C,0xB0,0,0,0,0
0x60,0x5B,0xB0,0,0,0,0
0x60,0x5D,0x48,0,0,0,0
0x60,0x65,0x48,0,0,0,0
0x60,0x58,0x5e,0,0,0,0
0x60,0x6E,0xA9,0,0,0,0
0x60,0x0f,0x7D,0,0,0,0


0x60,0x4C,0x01,0,0,0,0
0x60,0x72,0xE8,0,0,0,0 #VC0


0x60,0x4C,0x12,0,0,0,0
0x60,0x72,0xE4,0,0,0,0 #VC1


0x60,0x33,0x03,0,0,0,0 #enable CSI continuous clock
0x60,0x21,0x3C,0,0,0,0 # forwarding line concat
0x60,0x20,0x00,0,0,0,0 # stream from both RX ports

With this configuration I see no data being received.

But when using one channel at a time, by doing:

0x60,0x33,0x03,0,0,0,0 #enable CSI continuous clock
0x60,0x21,0x01,0,0,0,0
0x60,0x20,0x10,0,0,0,0

or

0x60,0x33,0x03,0,0,0,0 #enable CSI continuous clock
0x60,0x21,0x01,0,0,0,0
0x60,0x20,0x20,0,0,0,0

I can see video stream from individual channel.

Another thing is, if i enable both rx channel by setting 0x20 to 0x00 and using RR by setting 0x21 to 0x01 (or leave it default) i see video data but is scrambled...

Some notes that will help better understand the situation:

- 0x60 is the address of 954 DSER

- the two 935 are operated in synchronous mode (0x60,0x58,0x5e)

- MIPI data rate from each sensor is: 400 Mbit/s X 4 data lanes

- No matter if using continuous or non-continuous CSI clock (0x60,0x33,0x03 or 0x01) issue still present

- I tried also line interleaving and basic forwarding 0x21,0x04 or 0x21,0x28, same outcome: no data output from DSER

What am I missing?

I appreciate your kind support in advance.

Best Regards, 

Veniamin

  • Hello Veniamin,

    After looking at your dumps, I have the following comments:

    0x10 = 0x91 - Frame Sync output on GPIO0
    0x18 = 0x00 - Frame Sync is disabled
    0x6E = 0xA9 - Frame Sync signal to be sent on BC GPIO1. Constant value of 1 is sent over BC GPIO0.
    0x0F = 0x7D - GPIOs 0, 2, 3, 4, 5, 6 are enabled as Inputs.
    0x21 = 0x3C - bits [5:4] are reserved bits and should stay 0

    When using one channel (0x21=0x01) you are using RR forwarding, not Synch forwarding.

    From the above, I can see multiple errors:
    1) You are setting up Frame Synch but not enabling it.
    2) Do not write reserved bits to other values than default.
    3) At the same time, you set up BC GPIO1 to send the Frame Synch to the SER/Imager but at the same time there is no Fsynch signal is generated.
    4) for using any Synchronous forwarding mode, you must fulfill the requirements as stated in the 954 datasheet section 7.4.28.3

  • Hello Hamzeh,

    Thank you for your feedback. Indeed the problem was in synchronization of the sensors.

    Even if my sensors stream image without Frame sync signal, the sensors MUST be synchronized to a common Fsync in order to do line concatenation