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.

Connection Issues Between 954 and 913

Part Number: DS90UB954-Q1

 

No problem with the LOCK in the Deserializer. But 954 MIPI DATA OUTPUT is abnormal.

Could you check if there is anything wrong with the setting below?

SENSOR OUTPUT

RAW 12 BIT / PCLK 54MHz / MCLK 27MHz / 25fps

954 Setting Value(0x30)

0x0D 0xB0
0x0C 0x81

0x20 0x20 
0x1F 0x02

0x4C 0x01 
0x58 0x58
0x7C 0x01
0x6D 0x7E

0x4C 0x01


// I2C Alias Port0
0x5B 0xB0 // Write SER Origianl address
0x5C 0xB0 // Write SER Changing address
0x5D 0x20 // Write SENSOR Original address
0x65 0x20 // Write SENSOR Changing address
0x5E 0x14 // Write PMIC Original address
0x66 0x14 // Write PMIC Changing address
0x5F 0xA2 // Write EEPROM Original address
0x67 0xA2 // Write EEPROM Changing address

// FPD RAW12 Virtual Channel
0x4C 0x01 // FPD RX0 Port Config
0x71 0x2C // VC0 ID

0x4C 0x01 // FPD Port Config

0xbc 0xc3

sleep 20

0x6E 0x98

0x33 0x01 // MIPI CSI Port0 Enable, 4Lane

913 Setting Value(0x58)

0x05 0x1a


0x03 0xc5

  • Hello Jinwook,

    Your register configuration looks fine. What value do you read from the TX_PORT_PASS bit in register 0x35 of the 954? This information will help narrow down the source of the issue.

    I've attached a script for enabling the pattern generator of the 954 in RAW12 mode (800 Mbps CSI lane rate). Let me know you see normal output with this or not.

    Regards,

    Carrie

    """
      Copyright 2018 Texas Instruments Incorporated. All rights reserved.
    
      IMPORTANT: Your use of this Software is limited to those specific rights
      granted under the terms of a software license agreement between the user who
      downloaded the software, his/her employer (which must be your employer) and
      Texas Instruments Incorporated (the "License"). You may not use this Software
      unless you agree to abide by the terms of the License. The License limits your
      use, and you acknowledge, that the Software may not be modified, copied or
      distributed unless embedded on a Texas Instruments microcontroller which is
      integrated into your product. Other than for the foregoing purpose, you may
      not use, reproduce, copy, prepare derivative works of, modify, distribute,
      perform, display or sell this Software and/or its documentation for any
      purpose.
    
      YOU FURTHER ACKNOWLEDGE AND AGREE THAT THE SOFTWARE AND DOCUMENTATION ARE
      PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED,
      INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY, TITLE,
      NON-INFRINGEMENT AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL TEXAS
      INSTRUMENTS OR ITS LICENSORS BE LIABLE OR OBLIGATED UNDER CONTRACT,
      NEGLIGENCE, STRICT LIABILITY, CONTRIBUTION, BREACH OF WARRANTY, OR OTHER LEGAL
      EQUITABLE THEORY ANY DIRECT OR INDIRECT DAMAGES OR EXPENSES INCLUDING BUT NOT
      LIMITED TO ANY INCIDENTAL, SPECIAL, INDIRECT, PUNITIVE OR CONSEQUENTIAL
      DAMAGES, LOST PROFITS OR LOST DATA, COST OF PROCUREMENT OF SUBSTITUTE GOODS,
      TECHNOLOGY, SERVICES, OR ANY CLAIMS BY THIRD PARTIES (INCLUDING BUT NOT
      LIMITED TO ANY DEFENSE THEREOF), OR OTHER SIMILAR COSTS.
    
      Should you have any questions regarding your right to use this Software,
      contact Texas Instruments Incorporated at www.TI.com.
    
    """
    # CSI patgen                 
    # Python script CSI_patgen_RAW12_1280x720p30
    # Version 0.91                
    
    # CSI cont clk and CSI enable                           
    # board.WriteReg(0x32, 0x01)                            
    board.WriteReg(0x33, 0x03)                 
       
    board.WriteReg(0xB0, 0x02)                # IA_AUTO_INC=1
    board.WriteReg(0xB1, 0x01)                # PGEN_CTL
      
    board.WriteReg(0xB2, 0x01)                # PGEN_ENABLE=1
    board.WriteReg(0xB2, 0x33)                # PGEN_CFG
    board.WriteReg(0xB2, 0x2C)                # PGEN_CSI_DI
    board.WriteReg(0xB2, 0x07)                # PGEN_LINE_SIZE1
    board.WriteReg(0xB2, 0x80)                # PGEN_LINE_SIZE0
    board.WriteReg(0xB2, 0x00)                # PGEN_BAR_SIZE1
    board.WriteReg(0xB2, 0xF0)                # PGEN_BAR_SIZE0
    board.WriteReg(0xB2, 0x02)                # PGEN_ACT_LPF1
    board.WriteReg(0xB2, 0xD0)                # PGEN_ACT_LPF0
    board.WriteReg(0xB2, 0x03)                # PGEN_TOT_LPF1
    board.WriteReg(0xB2, 0x20)                # PGEN_TOT_LPF0
    board.WriteReg(0xB2, 0x10)                # PGEN_LINE_PD1
    board.WriteReg(0xB2, 0x47)                # PGEN_LINE_PD0
    board.WriteReg(0xB2, 0x0A)                # PGEN_VBP
    board.WriteReg(0xB2, 0x0A)                # PGEN_VFP
    board.WriteReg(0xB2, 0xAA)                # PGEN_COLOR0
    board.WriteReg(0xB2, 0x33)                # PGEN_COLOR1
    board.WriteReg(0xB2, 0xF0)                # PGEN_COLOR2
    board.WriteReg(0xB2, 0x7F)                # PGEN_COLOR3
    board.WriteReg(0xB2, 0x55)                # PGEN_COLOR4
    board.WriteReg(0xB2, 0xCC)                # PGEN_COLOR5
    board.WriteReg(0xB2, 0x0F)                # PGEN_COLOR6
    board.WriteReg(0xB2, 0x80)                # PGEN_COLOR7
    board.WriteReg(0xB2, 0x00)                # PGEN_COLOR8
    board.WriteReg(0xB2, 0x00)                # PGEN_COLOR9
    board.WriteReg(0xB2, 0x00)                # PGEN_COLOR10
    board.WriteReg(0xB2, 0x00)                # PGEN_COLOR11
    board.WriteReg(0xB2, 0x00)                # PGEN_COLOR12
    board.WriteReg(0xB2, 0x00)                # PGEN_COLOR13
    board.WriteReg(0xB2, 0x00)                # PGEN_COLOR14
    board.WriteReg(0xB2, 0x00)                # Reserved
    

  • Hello Carrie Kemmet,

    Your register configuration looks fine. What value do you read from the TX_PORT_PASS bit in register 0x35 of the 954? This information will help narrow down the source of the issue.

    -> When i read 0x35 of the 954, the value is 0.

     

    I've attached a script for enabling the pattern generator of the 954 in RAW12 mode (800 Mbps CSI lane rate). Let me know you see normal output with this or not.

    -> the pattern generator is OK.

    And we use coaxial connetion.

     

  • Hello Jinwook,

    Please send a register dump for both devices, so I can review your configuration.

    Regards,

    Carrie