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: example code of 954 for Best-Effort Round Robin CSI-2 forwarding

Part Number: DS90UB954-Q1

Hi team,

in my application, one 954 is connect 935 and 933, the sensor resolution is different. I check the 954 datasheet, it can be configure to best-effort RR mode to achieve it. but didn't find example code. 

the 935 output is VO_OUTPUT_1080P60 ; 933 output is RAW data 1280*800. 

can you provide examples how to configure the 954 ? only enable the CSIx_RR_FWD in reg 0x21? how about the VC-ID ?

does the 954 need work in non-synchronous mode?

thank you

  • Hi Betty,

    In the 954, set the following register bit values:

    // Enable CSI-2 Transmitter (Reference Section 7.4.28.1 in the UB954 datasheet)

    0x33[0] = 1         // Enable CSI output

    0x20[5:4] = 0     // Enable forwarding of RX Port 1 and 0

    0x21[0] = 1         // Ensure Round-Robin is enabled (CSI0_RR_FWD)

    If you are using different resolution sensors, then you need to use round-robin forwarding. The VC-IDs can be remapped in registers 0x70-0x72. And the 933 is a DVP serializer. This means that the connected 954 needs to be set to one of the backward-compatible DVP RAW modes. And DVP mode is a type of "Non-Sync External Clocking Mode" for DVP.

    Best,

    Justin Phan