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: Register Dump Required to compatible with DS90UB953

Part Number: DS90UB954-Q1

Tool/software:

Register dump required to initialize the Serdes pair between DS90UB954 with the serializer DS90UB953. The Imager transmit data only on first two MIPI lanes. Hence, TI-953 need to be configured only for first two MIPI lanes for reception. The Deserializer [TI-954] shall use all lanes to transmit video to the SOC.

Is there any status register on Deserializer to check if video received or not?

  • Hello Rajj,

    Mainly your link should work without any problem if both devices (SER and DES) are configured correctly using their MODE and IDx pins. However, for your above-mentioned configurations you may need to add the followings:

    At position #1 as shown below in the system power-up initialization sequence, we have to write all DES registers that need to be configured, see example code:

    WriteI2C(0x1F,0x00) # Set CSI transmitter speed to 1.6Gbps/lane
    WriteI2C(0x4C,0x01) # FPD3_PORT_SEL: RX port0 (0x01) or port1 (0x12)
    WriteI2C(0x58,0x5E) # Enable pass through
    WriteI2C(0x5C,0x18) # SER_ALIAS_ID
    WriteI2C(0x5D,0x60) # Image sensor ID
    WriteI2C(0x65,0x60) # Image sensor Alias
    WriteI2C(0x7D,0x01) # Enable PASS threshold

    At position #2 once you have a stable LOCK, configure the required SER and then Image sensor registers, for example:

    WriteI2C(0x02,0x13) # Set number of CSI lanes to 2, and I2C strap mode to 1.8V. If 3.3V is used, then write 0x12

    At this position you should monitor PASS indication on the DES --> reg 0x4D bit[1]. Once high, go to next step.

    At position #3 Enable DES CSI port and the enable port forwarding.

    WriteI2C(0x33,0x01) # Enable DES CSI TX port
    WriteI2C(0x20,0x20) # Enable port forwarding of RX port0. If both RX ports, the 0x00

  • Thanks Hamzeh for the inputs!

    Q1) Does the above script configures I2C address of Imager to 0x6C? We are using PMIC with address 0xC0. 

    Q2) Do we need to set any register on DES side for using synchronize clock mode?

    Q3) I am still not clear on how to check video received or MIPI packets transmission on DES side?

  • Hi Rajj,

    Q1) Does the above script configures I2C address of Imager to 0x6C? We are using PMIC with address 0xC0.

    No, Imager address and Alias (reg 0x5D and 0x65) are configured to 0x60.

    Q2) Do we need to set any register on DES side for using synchronize clock mode?

    If your MODE pin is configured correctly into this mode, then No. Otherwise, you need to configure in reg 0x58[2:0] and reg 0x6D[1:0]

    Q3) I am still not clear on how to check video received or MIPI packets transmission on DES side?

    This is shown above. Pass configuration is reg 0x7D and check reg 0x4D for LOCK and PASS.

  • Thanks for the clarification!

    Is it mandatory to set CSI_CAL_EN =1 when using CSI port to 1.6Gbps/lane? 

  • Yes, this is recommended by the MIPI Aliance. Of course, your receiving SoC must support the calibration, otherwise you cannot use it.