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-Q1EVM: No output data at deserializer output

Part Number: DS90UB954-Q1EVM
Other Parts Discussed in Thread: DS90UB954-Q1, ALP

Hello TI-team,

I'm using the DS90UB954-Q1 EVM connected to self designed PCB with DS90UB953. The serializer is connected to 2 lane MIPI camera module OV2311 via flat cable.
The deserializer can be controlled by ALP or a connected Raspberry PI. I am able to set the sreaming mode of the the camera using I2C. The MIPI signals
are enabled and can be measured with an oscizlisope as input data for the serializer. Unfortuantely I cann't receive the signals at the deserializer output.

DS90UB953 has an 10k pull-down at the MODE pin --> CSI-2 synchronous mode

DS90UB954 has an voltage divider 78k7 / 97k6 --> CSI-2 synchronous back channel

DS90UB954: Device PASS and LOCK status bit are set (register 0x04=DF)

DS90UB953: LINK_DET, HS_PLL_LOCK and RX_LOCK_DETECT set to 1 (CRC_ERR too)  0x52=47

Jumper on the DS90UB954Q1-EVM to set CSI-2 mode.

BIST srcipt '953_054_BIST' runs succesfully.

Do you have an idea why no output signals are available at the deserializer output?

Kind regards,
Dusan

  • Hello Dusan,

    Thank you for sharing information on the issue you are experiencing. I would like to get some information on the following conditions: 

    1. How many units is this issue occurring on? Are you only testing with one unit of the 954 and 953? If more than one 953 is connected to the 954, what is the forwarding mode selected on the 954? 
    2. During test, are any errors reported in 0x4D on the DS90UB954? Are there any changes in lock status reported? 
    3. What is the output CSI-2 timing for the system? 
    4. Running the BIST script, are any errors reported in BIST? What are the results? 

    Best,

    Zoe

  • Hello Zoe,

    thanks for your quick replay. Please find below my answers to your questions:

    1. I have only one 954 EVM board but I tested it with three 953 boards. Onle one 953 device is connected to the EVM 954 via coax cable.

    Forwarding mode:

    2. The register 0x4D=0x03.  No lock status changed.

    3. I measured the frequency of one data signal CSI_D0_P. The frequncy is constant 88 kHz. But there is no clock signal CSI_CLK_P/N.

    Only on the two data lanes a signal can be measured.

    4. Please see the BIST report. There is no lock status change. From my point of view the BIST test was succesfull.

    I'm wondering that there is no CSI clock signal output of the imager. So there is no CSI clk input for the 953.

    I have connected the camera directly to a raspberry pi and it was possible to stream a picture/video without CSI clk. Only on the CSI data lanes signals can be measured. On the CSI clk lanes there were no trafic. 

    Regards,

    Dusan

  • Hello Dusan, 

    Thank you again for the clarification on what behavior is being observed. From your response, I see you listed that no CSI clock signal is being output from the imager to the 953. This is a required signal for the 953 to collect the data and output to the 954. Referring to the OV2311 product brief available online, this signal should be available on the OV2311 (MCP/MCN). The CSI clock signal would need to be input to the 953, as generated by the imager. 

    Would you be able to change this set up and verify the CSI clock signal is routed to the 953? Requirements related to the CSI-2 interface are listed on page 11 of the DS90UB953 datasheet, section 6.5 Electrical Characteristics. 

    Best,

    Zoe

  • Hallo Zoe,

    thank you for your feedback. In the meantime, i have taken a more detailed look at the signals. I have measured the CSI_D0N, CSI_D0P and CSI_CLK_P provided by the imager with a single ended probe. Please see the following two pictures:  

    The voltage level of the data signal is approx 1V and the clk signal drop down to 200mV when starting the streaming mode of the imager.

    I measured the clock signal with a diff probe and get the following plot:

    This clk signal is routed to the 953. The 953 should be able to collect the input data and send it to 954.

    Regards,

    Dusan

  • Hello Dusan, 

    Understood. Would you be able to share a complete register dump of the 954 and 953 while the issue is being experienced? This will provide further understanding of how the devices are being configured. 

    Best,

    Zoe 

  • Hello Zoe,

    ok, please find attached the dump files.

    Regards,

    Dusan

    RegDump953.txt
    Register Display - ALP Nano 1 - DS90UB953, Connector 1
    
    Register	Data	Name
    0x0000	0x30	I2C_DEVICE_ID
    0x0001	0x00	RESET_CTL
    0x0002	0x73	GENERAL_CFG
    0x0003	0x48	MODE_SEL
    0x0004	0x00	BC_MODE_SELECT
    0x0005	0x03	PLLCLK_CTRL
    0x0006	0x41	CLKOUT_CTRL0
    0x0007	0x28	CLKOUT_CTRL1
    0x0008	0xFE	BCC_WATCHDOG
    0x0009	0x1E	I2C_CONTROL1
    0x000A	0x10	I2C_CONTROL2
    0x000B	0x7F	SCL_HIGH_TIME
    0x000C	0x7F	SCL_LOW_TIME
    0x000D	0xF0	LOCAL_GPIO_DATA
    0x000E	0x0F	GPIO_INPUT_CTRL
    0x0010	0x00	DVP_CFG
    0x0011	0x00	DVP_DT
    0x0013	0x00	FORCE_BIST_ERR
    0x0014	0x00	REMOTE_BIST_CTRL
    0x0015	0x20	SENSOR_VGAIN
    0x0017	0x3C	SENSOR_CTRL0
    0x0018	0x80	SENSOR_CTRL1
    0x0019	0x62	SENSOR_V0_THRESH
    0x001A	0x62	SENSOR_V1_THRESH
    0x001B	0x62	SENSOR_T_THRESH
    0x001C	0x00	ALARM_CSI_EN
    0x001D	0x00	ALARM_SENSE_EN
    0x001E	0x00	ALARM_BC_EN
    0x0020	0x00	CSI_POL_SEL
    0x0021	0x00	CSI_LP_POLARITY
    0x0022	0x00	CSI_EN_HSRX
    0x0023	0x00	CSI_EN_LPRX
    0x0024	0x00	CSI_EN_RXTERM
    0x0031	0x20	CSI_PKT_HDR_TINIT_CTRL
    0x0032	0x09	BCC_CONFIG
    0x0033	0x04	DATAPATH_CTL1
    0x0035	0x10	REMOTE_PAR_CAP1
    0x0037	0x60	DES_ID
    0x0039	0x00	TARGET_ID_0
    0x003A	0x00	TARGET_ID_1
    0x003B	0x00	TARGET_ID_2
    0x003C	0x00	TARGET_ID_3
    0x003D	0x00	TARGET_ID_4
    0x003E	0x00	TARGET_ID_5
    0x003F	0x00	TARGET_ID_6
    0x0040	0x00	TARGET_ID_7
    0x0041	0x00	TARGET_ID_ALIAS_0
    0x0042	0x00	TARGET_ID_ALIAS_1
    0x0043	0x00	TARGET_ID_ALIAS_2
    0x0044	0x00	TARGET_ID_ALIAS_3
    0x0045	0x00	TARGET_ID_ALIAS_4
    0x0046	0x00	TARGET_ID_ALIAS_5
    0x0047	0x00	TARGET_ID_ALIAS_6
    0x0048	0x00	TARGET_ID_ALIAS_7
    0x0049	0x00	BC_CTRL
    0x0050	0x20	REV_MASK_ID
    0x0051	0xC0	DEVICE STS
    0x0052	0x47	GENERAL_STATUS
    0x0053	0x01	GPIO_PIN_STS
    0x0054	0x00	BIST_ERR_CNT
    0x0055	0x08	CRC_ERR_CNT1
    0x0056	0x00	CRC_ERR_CNT2
    0x0057	0x00	SENSOR_STATUS
    0x0058	0x07	SENSOR_V0
    0x0059	0x07	SENSOR_V1
    0x005A	0x07	SENSOR_T
    0x005C	0xFF	CSI_ERR_CNT
    0x005D	0x00	CSI_ERR_STATUS
    0x005E	0x44	CSI_ERR_DLANE01
    0x005F	0x00	CSI_ERR_DLANE23
    0x0060	0x00	CSI_ERR_CLK_LANE
    0x0061	0x00	CSI_PKT_HDR_VC_ID
    0x0062	0x00	PKT_HDR_WC_LSB
    0x0063	0x00	PKT_HDR_WC_MSB
    0x0064	0x00	CSI_ECC
    0x00B0	0x04	IND_ACC_CTL
    0x00B1	0x4A	IND_ACC_ADDR
    0x00B2	0x3F	IND_ACC_DATA
    0x00F0	0x5F	FPD3_TX_ID0
    0x00F1	0x55	FPD3_TX_ID1
    0x00F2	0x42	FPD3_TX_ID2
    0x00F3	0x39	FPD3_TX_ID3
    0x00F4	0x35	FPD3_TX_ID4
    0x00F5	0x33	FPD3_TX_ID5
    
    RegDump954.txt
    Register Display - ALP Nano 1 - DS90UB954, Connector 1
    
    Register	Data	Name
    0x0000	0x60	I2C Device ID
    0x0001	0x00	Reset
    0x0002	0x1E	General Configuration
    0x0003	0x20	Revision/Mask ID
    0x0004	0xDF	DEVICE_STS
    0x0005	0x01	PAR_ERR_THOLD_HI
    0x0006	0x00	PAR_ERR_THOLD_LO
    0x0007	0xFE	BCC Watchdog Control
    0x0008	0x1C	I2C Control 1
    0x0009	0x10	I2C Control 2
    0x000A	0x7A	SCL High Time
    0x000B	0x7A	SCL Low Time
    0x000C	0x83	RX_PORT_CTL
    0x000D	0x09	IO_CTL
    0x000E	0x08	GPIO_PIN_STS
    0x000F	0x7F	GPIO_INPUT_CTL
    0x0010	0x00	GPIO0_PIN_CTL
    0x0011	0x00	GPIO1_PIN_CTL
    0x0012	0x00	GPIO2_PIN_CTL
    0x0013	0x00	GPIO3_PIN_CTL
    0x0014	0x00	GPIO4_PIN_CTL
    0x0015	0x00	GPIO5_PIN_CTL
    0x0016	0x00	GPIO6_PIN_CTL
    0x0017	0x00	Reserved
    0x0018	0x00	FS_CTL
    0x0019	0x00	FS_HIGH_TIME_1
    0x001A	0x00	FS_HIGH_TIME_0
    0x001B	0x00	FS_LOW_TIME_1
    0x001C	0x00	FS_LOW_TIME_0
    0x001D	0x00	MAX_FRM_HI
    0x001E	0x04	MAX_FRM_LO
    0x001F	0x03	CSI_PLL_CTL
    0x0020	0x20	FWD_CTL1
    0x0021	0x01	FWD_CTL2
    0x0022	0x00	FWD_STS
    0x0023	0x00	INTERRUPT_CTL
    0x0024	0x00	INTERRUPT_STS
    0x0025	0x00	TS_CONFIG
    0x0026	0x00	TS_CONTROL
    0x0027	0x00	TS_LINE_HI
    0x0028	0x00	TS_LINE_LO
    0x0029	0x00	TS_STATUS
    0x002A	0x00	TIMESTAMP_P0_HI
    0x002B	0x00	TIMESTAMP_P0_LO
    0x002C	0x00	TIMESTAMP_P1_HI
    0x002D	0x00	TIMESTAMP_P1_LO
    0x002E	0x00	Reserved
    0x002F	0x00	Reserved
    0x0030	0x00	Reserved
    0x0031	0x00	Reserved
    0x0032	0x00	Reserved
    0x0033	0x23	CSI_CTL
    0x0034	0x40	CSI_CTL2
    0x0035	0x01	CSI_STS
    0x0036	0x00	CSI_TX_ICR
    0x0037	0x03	CSI_TX_ISR
    0x0038	0x00	CSI_TEST_CTL
    0x0039	0x00	CSI_TEST_PATT_HI
    0x003A	0x00	CSI_TEST_PATT_LO
    0x003B	0x01	Reserved
    0x003C	0x14	Reserved
    0x003D	0x6F	Reserved
    0x003E	0x00	Reserved
    0x003F	0x40	Reserved
    0x0040	0x00	Reserved
    0x0041	0xA7	Reserved
    0x0042	0x71	AEQ_CTL1
    0x0043	0x01	AEQ_ERR_THOLD
    0x0044	0x00	Reserved
    0x0045	0x00	Reserved
    0x0046	0x00	Reserved
    0x0047	0x00	Reserved
    0x0048	0x00	Reserved
    0x0049	0x00	Reserved
    0x004A	0x00	FPD3_CAP
    0x004B	0x12	RAW_EMBED_DTYPE
    0x004C	0x01	FPD3_PORT_SEL
    0x004D	0x03	RX_PORT_STS1
    0x004E	0x0C	RX_PORT_STS2
    0x004F	0x64	RX_FREQ_HIGH
    0x0050	0x00	RX_FREQ_LOW
    0x0051	0x00	SENSOR_STS_0
    0x0052	0x00	SENSOR_STS_1
    0x0053	0x03	SENSOR_STS_2
    0x0054	0x02	SENSOR_STS_3
    0x0055	0x00	RX_PAR_ERR_HI
    0x0056	0x02	RX_PAR_ERR_LO
    0x0057	0x00	BIST_ERR_COUNT
    0x0058	0xDE	BCC_CONFIG
    0x0059	0x00	DATAPATH_CTL1
    0x005A	0x00	Reserved
    0x005B	0x30	SER_ID
    0x005C	0x18	SER_ALIAS_ID
    0x005D	0x00	TargetID[0]
    0x005E	0x00	TargetID[1]
    0x005F	0x00	TargetID[2]
    0x0060	0x00	TargetID[3]
    0x0061	0x00	TargetID[4]
    0x0062	0x00	TargetID[5]
    0x0063	0x00	TargetID[6]
    0x0064	0x00	TargetID[7]
    0x0065	0x00	TargetAlias[0]
    0x0066	0x00	TargetAlias[1]
    0x0067	0x00	TargetAlias[2]
    0x0068	0x00	TargetAlias[3]
    0x0069	0x00	TargetAlias[4]
    0x006A	0x00	TargetAlias[5]
    0x006B	0x00	TargetAlias[6]
    0x006C	0x00	TargetAlias[7]
    0x006D	0x7C	PORT_CONFIG
    0x006E	0x88	BC_GPIO_CTL0
    0x006F	0x88	BC_GPIO_CTL1
    0x0070	0x2B	RAW10_ID
    0x0071	0x2C	RAW12_ID
    0x0072	0xE4	CSI_VC_MAP
    0x0073	0x00	LINE_COUNT_HI
    0x0074	0x00	LINE_COUNT_LO
    0x0075	0x00	LINE_LEN_1
    0x0076	0x00	LINE_LEN_0
    0x0077	0xC5	FREQ_DET_CTL
    0x0078	0x00	MAILBOX_1
    0x0079	0x01	MAILBOX_2
    0x007A	0x0F	CSI_RX_STS
    0x007B	0xF2	CSI_ERR_COUNTER
    0x007C	0x20	PORT_CONFIG2
    0x007D	0x00	PORT_PASS_CTL
    0x007E	0x00	SEN_INT_RISE_CTL
    0x007F	0x00	SEN_INT_FALL_CTL
    0x00A0	0x02	Reserved
    0x00A1	0x0F	Reserved
    0x00A2	0x00	Reserved
    0x00A3	0x00	Reserved
    0x00A4	0x08	Reserved
    0x00A5	0x19	REFCLK_FREQ
    0x00A7	0x00	Reserved
    0x00A8	0x00	Reserved
    0x00A9	0x00	Reserved
    0x00AA	0x00	Reserved
    0x00AB	0x00	Reserved
    0x00AC	0x00	Reserved
    0x00AD	0x00	Reserved
    0x00AE	0x00	Reserved
    0x00AF	0x00	Reserved
    0x00B0	0x02	IND_ACC_CTL
    0x00B1	0x49	IND_ACC_ADDR
    0x00B2	0x00	IND_ACC_DATA
    0x00B3	0x08	BIST Control
    0x00B4	0x25	Reserved
    0x00B5	0x00	Reserved
    0x00B6	0x18	Reserved
    0x00B7	0x00	Reserved
    0x00B8	0x8C	MODE_IDX_STS
    0x00B9	0x33	LINK_ERROR_COUNT
    0x00BA	0x83	FPD3_ENC_CTL
    0x00BB	0x74	Reserved
    0x00BC	0x80	FV_MIN_TIME
    0x00BD	0x00	Reserved
    0x00BE	0x00	GPIO_PD_CTL
    0x00BF	0x00	Reserved
    0x00D0	0x00	PORT_DEBUG
    0x00D2	0x94	AEQ_CTL2
    0x00D3	0x06	AEQ_STATUS
    0x00D4	0x60	AEDAPTIVE EQ BYPASS
    0x00D5	0xF2	AEQ_MIN_MAX
    0x00D6	0x00	Reserved
    0x00D7	0x03	Reserved
    0x00D8	0x00	PORT_ICR_HI
    0x00D9	0x00	PORT_ICR_LO
    0x00DA	0x00	PORT_ISR_HI
    0x00DB	0x00	PORT_ISR_LO
    0x00DC	0x00	FC_GPIO_STS
    0x00DD	0x00	FC_GPIO_ICR
    0x00DE	0x00	SEN_INT_RISE_STS
    0x00DF	0x00	SEN_INT_FALL_STS
    0x00F0	0x5F	FPD3_RX_ID0
    0x00F1	0x55	FPD3_RX_ID1
    0x00F2	0x42	FPD3_RX_ID2
    0x00F3	0x39	FPD3_RX_ID3
    0x00F4	0x35	FPD3_RX_ID4
    0x00F5	0x34	FPD3_RX_ID5
    0x00F8	0x00	I2C_RX0_ID
    0x00F9	0x00	I2C_RX1_ID
    0x00FA	0x00	Reserved
    0x00FB	0x00	Reserved
    

  • Hi Dusan,

    On the DS90UB954, 0x7A has value 0xF denoting length error, checksum error, 2-bit ECC error, 1-bit ECC error. The deserializer also reports CSI synchronization error from the serializer. Referring to the DS90UB953 register dump CSI errors are reported in register 0x5E. This error is on lanes 0 and 1, with Lane 1: Multi-bit Error in SYNC Sequence - Uncorrectable and Lane 0: Single-bit Error in SYNC Sequence - Correctable. 

    Register 0x18, FS_CTL is set to 0x00 where Internally Generated Frame Sync is selected however, frame sync generator is disabled. Would you be able to set register 0x18 to 0x1 to enable the frame sync signal from the deserializer to the camera? More details on the configuration are shared in Section 7.4.27.2 Internally Generated FrameSync of the DS90UB954 Datasheet.

    Please let me know if the issue continues following this change.

    Best,

    Zoe

  • Hi Zoe,

    I have changed the regiser 0x18 to 0x1 as you suggested. The 953 register 0x5E reported 0x44 as you can see the the register dump. 0x5C has the entry 0XFF. The issue is still existing. 

    Regards,

    Dusan

    4670.RegDump953.txt
    Register Display - ALP Nano 1 - DS90UB953, Connector 1
    
    Register	Data	Name
    0x0000	0x30	I2C_DEVICE_ID
    0x0001	0x00	RESET_CTL
    0x0002	0x33	GENERAL_CFG
    0x0003	0x48	MODE_SEL
    0x0004	0x00	BC_MODE_SELECT
    0x0005	0x03	PLLCLK_CTRL
    0x0006	0x41	CLKOUT_CTRL0
    0x0007	0x28	CLKOUT_CTRL1
    0x0008	0xFE	BCC_WATCHDOG
    0x0009	0x1E	I2C_CONTROL1
    0x000A	0x10	I2C_CONTROL2
    0x000B	0x7F	SCL_HIGH_TIME
    0x000C	0x7F	SCL_LOW_TIME
    0x000D	0xF0	LOCAL_GPIO_DATA
    0x000E	0x0F	GPIO_INPUT_CTRL
    0x0010	0x00	DVP_CFG
    0x0011	0x00	DVP_DT
    0x0013	0x00	FORCE_BIST_ERR
    0x0014	0x00	REMOTE_BIST_CTRL
    0x0015	0x20	SENSOR_VGAIN
    0x0017	0x3C	SENSOR_CTRL0
    0x0018	0x80	SENSOR_CTRL1
    0x0019	0x62	SENSOR_V0_THRESH
    0x001A	0x62	SENSOR_V1_THRESH
    0x001B	0x62	SENSOR_T_THRESH
    0x001C	0x00	ALARM_CSI_EN
    0x001D	0x00	ALARM_SENSE_EN
    0x001E	0x00	ALARM_BC_EN
    0x0020	0x00	CSI_POL_SEL
    0x0021	0x00	CSI_LP_POLARITY
    0x0022	0x00	CSI_EN_HSRX
    0x0023	0x00	CSI_EN_LPRX
    0x0024	0x00	CSI_EN_RXTERM
    0x0031	0x20	CSI_PKT_HDR_TINIT_CTRL
    0x0032	0x09	BCC_CONFIG
    0x0033	0x04	DATAPATH_CTL1
    0x0035	0x10	REMOTE_PAR_CAP1
    0x0037	0x60	DES_ID
    0x0039	0x00	TARGET_ID_0
    0x003A	0x00	TARGET_ID_1
    0x003B	0x00	TARGET_ID_2
    0x003C	0x00	TARGET_ID_3
    0x003D	0x00	TARGET_ID_4
    0x003E	0x00	TARGET_ID_5
    0x003F	0x00	TARGET_ID_6
    0x0040	0x00	TARGET_ID_7
    0x0041	0x00	TARGET_ID_ALIAS_0
    0x0042	0x00	TARGET_ID_ALIAS_1
    0x0043	0x00	TARGET_ID_ALIAS_2
    0x0044	0x00	TARGET_ID_ALIAS_3
    0x0045	0x00	TARGET_ID_ALIAS_4
    0x0046	0x00	TARGET_ID_ALIAS_5
    0x0047	0x00	TARGET_ID_ALIAS_6
    0x0048	0x00	TARGET_ID_ALIAS_7
    0x0049	0x00	BC_CTRL
    0x0050	0x20	REV_MASK_ID
    0x0051	0xC0	DEVICE STS
    0x0052	0x47	GENERAL_STATUS
    0x0053	0x01	GPIO_PIN_STS
    0x0054	0x00	BIST_ERR_CNT
    0x0055	0x08	CRC_ERR_CNT1
    0x0056	0x00	CRC_ERR_CNT2
    0x0057	0x00	SENSOR_STATUS
    0x0058	0x07	SENSOR_V0
    0x0059	0x07	SENSOR_V1
    0x005A	0x07	SENSOR_T
    0x005C	0xFF	CSI_ERR_CNT
    0x005D	0x00	CSI_ERR_STATUS
    0x005E	0x44	CSI_ERR_DLANE01
    0x005F	0x00	CSI_ERR_DLANE23
    0x0060	0x00	CSI_ERR_CLK_LANE
    0x0061	0x00	CSI_PKT_HDR_VC_ID
    0x0062	0x00	PKT_HDR_WC_LSB
    0x0063	0x00	PKT_HDR_WC_MSB
    0x0064	0x00	CSI_ECC
    0x00B0	0x04	IND_ACC_CTL
    0x00B1	0x4A	IND_ACC_ADDR
    0x00B2	0x3F	IND_ACC_DATA
    0x00F0	0x5F	FPD3_TX_ID0
    0x00F1	0x55	FPD3_TX_ID1
    0x00F2	0x42	FPD3_TX_ID2
    0x00F3	0x39	FPD3_TX_ID3
    0x00F4	0x35	FPD3_TX_ID4
    0x00F5	0x33	FPD3_TX_ID5
    
    4670.RegDump954.txt
    Register Display - ALP Nano 1 - DS90UB954, Connector 1
    
    Register	Data	Name
    0x0000	0x60	I2C Device ID
    0x0001	0x00	Reset
    0x0002	0x1E	General Configuration
    0x0003	0x20	Revision/Mask ID
    0x0004	0xDF	DEVICE_STS
    0x0005	0x01	PAR_ERR_THOLD_HI
    0x0006	0x00	PAR_ERR_THOLD_LO
    0x0007	0xFE	BCC Watchdog Control
    0x0008	0x1C	I2C Control 1
    0x0009	0x10	I2C Control 2
    0x000A	0x7A	SCL High Time
    0x000B	0x7A	SCL Low Time
    0x000C	0x83	RX_PORT_CTL
    0x000D	0x09	IO_CTL
    0x000E	0x08	GPIO_PIN_STS
    0x000F	0x7F	GPIO_INPUT_CTL
    0x0010	0x00	GPIO0_PIN_CTL
    0x0011	0x00	GPIO1_PIN_CTL
    0x0012	0x00	GPIO2_PIN_CTL
    0x0013	0x00	GPIO3_PIN_CTL
    0x0014	0x00	GPIO4_PIN_CTL
    0x0015	0x00	GPIO5_PIN_CTL
    0x0016	0x00	GPIO6_PIN_CTL
    0x0017	0x00	Reserved
    0x0018	0x01	FS_CTL
    0x0019	0x00	FS_HIGH_TIME_1
    0x001A	0x00	FS_HIGH_TIME_0
    0x001B	0x00	FS_LOW_TIME_1
    0x001C	0x00	FS_LOW_TIME_0
    0x001D	0x00	MAX_FRM_HI
    0x001E	0x04	MAX_FRM_LO
    0x001F	0x03	CSI_PLL_CTL
    0x0020	0x00	FWD_CTL1
    0x0021	0x01	FWD_CTL2
    0x0022	0x00	FWD_STS
    0x0023	0x00	INTERRUPT_CTL

  • Hi Dusan, 

    Since the error is occurring due to the input data to the DS90UB953 serializer, would you be able to provide the layout and schematic for the custom PCB to review? Additionally, when the camera was connected directly to the Raspberry Pi, was the camera located on the same PCB as the 953 or was this a separate PCB? 

    Best,

    Zoe 

  • Hi Zoe,

    yes, please find attached the schematic. Please consider that the resistor R1008 is placed. 

    Can you provide me your e-mail? I'll send you the PCB data via cryptshare. 

    The cameras is located seperatly, not on the PCB as the 953. Please see attached picture.

    Regards,

    Dusan

  • Hello Dusan, 

    Thank you for your patience so far. I will review the schematics and register dumps once and provide feedback by 8/29 at the latest on this.

    At this time, I would like to focus on the CSI errors on the 953. To confirm, does the camera stream appear normal when connected to the Raspberry Pi? Were any errors reported? 

    My email is z-bison@ti.com 

    Best,

    Zoe 

  • Hello Zoe,

    yes, the camera stream appear normal when connected to Rasp, no error were reported.

    In the meantime I measured the MIPI CSI signals transmitted by the imager. I connected the probes on the connector pins between imager and 953.

    I used 500MHz diff probes and a 1GHz oszilloscope so the waveforms are not ideal.

    I wanted know if the D0_N/P and D1_N/P signals started at the same time without delay. They do it.

    Regards,

    Dusan

  • Hi Dusan,

    Please allow until 8/30 to let me review the materials you have provided so far. 

    Kindly,

    Zoe

  • Hello Zoe,

    I have changed the config of the imager. After this action I was able to measure a signal at the 954 output.

    The register 0x5E and 0x5F are 0x0. Please have a look on the register dump. I'm looking forward to your feedback.

    Best,

    Dusan

    6283.RegDump953.txt
    Register Display - ALP Nano 1 - DS90UB953, Connector 1
    
    Register	Data	Name
    0x0000	0x30	I2C_DEVICE_ID
    0x0001	0x00	RESET_CTL
    0x0002	0x53	GENERAL_CFG
    0x0003	0x48	MODE_SEL
    0x0004	0x00	BC_MODE_SELECT
    0x0005	0x03	PLLCLK_CTRL
    0x0006	0x41	CLKOUT_CTRL0
    0x0007	0x28	CLKOUT_CTRL1
    0x0008	0xFE	BCC_WATCHDOG
    0x0009	0x1E	I2C_CONTROL1
    0x000A	0x10	I2C_CONTROL2
    0x000B	0x7F	SCL_HIGH_TIME
    0x000C	0x7F	SCL_LOW_TIME
    0x000D	0xF0	LOCAL_GPIO_DATA
    0x000E	0x0F	GPIO_INPUT_CTRL
    0x0010	0x00	DVP_CFG
    0x0011	0x00	DVP_DT
    0x0013	0x00	FORCE_BIST_ERR
    0x0014	0x00	REMOTE_BIST_CTRL
    0x0015	0x20	SENSOR_VGAIN
    0x0017	0x3C	SENSOR_CTRL0
    0x0018	0x80	SENSOR_CTRL1
    0x0019	0x62	SENSOR_V0_THRESH
    0x001A	0x62	SENSOR_V1_THRESH
    0x001B	0x62	SENSOR_T_THRESH
    0x001C	0x00	ALARM_CSI_EN
    0x001D	0x00	ALARM_SENSE_EN
    0x001E	0x00	ALARM_BC_EN
    0x0020	0x00	CSI_POL_SEL
    0x0021	0x00	CSI_LP_POLARITY
    0x0022	0x00	CSI_EN_HSRX
    0x0023	0x00	CSI_EN_LPRX
    0x0024	0x00	CSI_EN_RXTERM
    0x0031	0x20	CSI_PKT_HDR_TINIT_CTRL
    0x0032	0x09	BCC_CONFIG
    0x0033	0x04	DATAPATH_CTL1
    0x0035	0x10	REMOTE_PAR_CAP1
    0x0037	0x60	DES_ID
    0x0039	0x00	TARGET_ID_0
    0x003A	0x00	TARGET_ID_1
    0x003B	0x00	TARGET_ID_2
    0x003C	0x00	TARGET_ID_3
    0x003D	0x00	TARGET_ID_4
    0x003E	0x00	TARGET_ID_5
    0x003F	0x00	TARGET_ID_6
    0x0040	0x00	TARGET_ID_7
    0x0041	0x00	TARGET_ID_ALIAS_0
    0x0042	0x00	TARGET_ID_ALIAS_1
    0x0043	0x00	TARGET_ID_ALIAS_2
    0x0044	0x00	TARGET_ID_ALIAS_3
    0x0045	0x00	TARGET_ID_ALIAS_4
    0x0046	0x00	TARGET_ID_ALIAS_5
    0x0047	0x00	TARGET_ID_ALIAS_6
    0x0048	0x00	TARGET_ID_ALIAS_7
    0x0049	0x00	BC_CTRL
    0x0050	0x20	REV_MASK_ID
    0x0051	0xC0	DEVICE STS
    0x0052	0x47	GENERAL_STATUS
    0x0053	0x01	GPIO_PIN_STS
    0x0054	0x00	BIST_ERR_CNT
    0x0055	0x08	CRC_ERR_CNT1
    0x0056	0x00	CRC_ERR_CNT2
    0x0057	0x00	SENSOR_STATUS
    0x0058	0x07	SENSOR_V0
    0x0059	0x07	SENSOR_V1
    0x005A	0x07	SENSOR_T
    0x005C	0x00	CSI_ERR_CNT
    0x005D	0x00	CSI_ERR_STATUS
    0x005E	0x00	CSI_ERR_DLANE01
    0x005F	0x00	CSI_ERR_DLANE23
    0x0060	0x00	CSI_ERR_CLK_LANE
    0x0061	0x2B	CSI_PKT_HDR_VC_ID
    0x0062	0xD0	PKT_HDR_WC_LSB
    0x0063	0x07	PKT_HDR_WC_MSB
    0x0064	0x00	CSI_ECC
    0x00B0	0x04	IND_ACC_CTL
    0x00B1	0x4A	IND_ACC_ADDR
    0x00B2	0x3F	IND_ACC_DATA
    0x00F0	0x5F	FPD3_TX_ID0
    0x00F1	0x55	FPD3_TX_ID1
    0x00F2	0x42	FPD3_TX_ID2
    0x00F3	0x39	FPD3_TX_ID3
    0x00F4	0x35	FPD3_TX_ID4
    0x00F5	0x33	FPD3_TX_ID5
    
    5635.RegDump954.txt
    Register Display - ALP Nano 1 - DS90UB954, Connector 1
    
    Register	Data	Name
    0x0000	0x60	I2C Device ID
    0x0001	0x00	Reset
    0x0002	0x1E	General Configuration
    0x0003	0x20	Revision/Mask ID
    0x0004	0xDF	DEVICE_STS
    0x0005	0x01	PAR_ERR_THOLD_HI
    0x0006	0x00	PAR_ERR_THOLD_LO
    0x0007	0xFE	BCC Watchdog Control
    0x0008	0x1C	I2C Control 1
    0x0009	0x10	I2C Control 2
    0x000A	0x7A	SCL High Time
    0x000B	0x7A	SCL Low Time
    0x000C	0x83	RX_PORT_CTL
    0x000D	0x09	IO_CTL
    0x000E	0x08	GPIO_PIN_STS
    0x000F	0x7F	GPIO_INPUT_CTL
    0x0010	0x00	GPIO0_PIN_CTL
    0x0011	0x00	GPIO1_PIN_CTL
    0x0012	0x00	GPIO2_PIN_CTL
    0x0013	0x00	GPIO3_PIN_CTL
    0x0014	0x00	GPIO4_PIN_CTL
    0x0015	0x00	GPIO5_PIN_CTL
    0x0016	0x00	GPIO6_PIN_CTL
    0x0017	0x00	Reserved
    0x0018	0x01	FS_CTL
    0x0019	0x00	FS_HIGH_TIME_1
    0x001A	0x00	FS_HIGH_TIME_0
    0x001B	0x00	FS_LOW_TIME_1
    0x001C	0x00	FS_LOW_TIME_0
    0x001D	0x00	MAX_FRM_HI
    0x001E	0x04	MAX_FRM_LO
    0x001F	0x03	CSI_PLL_CTL
    0x0020	0x20	FWD_CTL1
    0x0021	0x01	FWD_CTL2
    0x0022	0x00	FWD_STS
    0x0023	0x00	INTERRUPT_CTL
    0x0024	0x00	INTERRUPT_STS
    0x0025	0x00	TS_CONFIG
    0x0026	0x00	TS_CONTROL
    0x0027	0x00	TS_LINE_HI
    0x0028	0x00	TS_LINE_LO
    0x0029	0x00	TS_STATUS
    0x002A	0x00	TIMESTAMP_P0_HI
    0x002B	0x00	TIMESTAMP_P0_LO
    0x002C	0x00	TIMESTAMP_P1_HI
    0x002D	0x00	TIMESTAMP_P1_LO
    0x002E	0x00	Reserved
    0x002F	0x00	Reserved
    0x0030	0x00	Reserved
    0x0031	0x00	Reserved
    0x0032	0x00	Reserved
    0x0033	0x23	CSI_CTL
    0x0034	0x40	CSI_CTL2
    0x0035	0x00	CSI_STS
    0x0036	0x00	CSI_TX_ICR
    0x0037	0x03	CSI_TX_ISR
    0x0038	0x00	CSI_TEST_CTL
    0x0039	0x00	CSI_TEST_PATT_HI
    0x003A	0x00	CSI_TEST_PATT_LO
    0x003B	0x01	Reserved
    0x003C	0x14	Reserved
    0x003D	0x6F	Reserved
    0x003E	0x00	Reserved
    0x003F	0x40	Reserved
    0x0040	0x00	Reserved
    0x0041	0xA7	Reserved
    0x0042	0x71	AEQ_CTL1
    0x0043	0x01	AEQ_ERR_THOLD
    0x0044	0x00	Reserved
    0x0045	0x00	Reserved
    0x0046	0x00	Reserved
    0x0047	0x00	Reserved
    0x0048	0x00	Reserved
    0x0049	0x00	Reserved
    0x004A	0x00	FPD3_CAP
    0x004B	0x12	RAW_EMBED_DTYPE
    0x004C	0x01	FPD3_PORT_SEL
    0x004D	0x03	RX_PORT_STS1
    0x004E	0x1D	RX_PORT_STS2
    0x004F	0x64	RX_FREQ_HIGH
    0x0050	0x00	RX_FREQ_LOW
    0x0051	0x00	SENSOR_STS_0
    0x0052	0x00	SENSOR_STS_1
    0x0053	0x04	SENSOR_STS_2
    0x0054	0x00	SENSOR_STS_3
    0x0055	0x00	RX_PAR_ERR_HI
    0x0056	0x00	RX_PAR_ERR_LO
    0x0057	0x00	BIST_ERR_COUNT
    0x0058	0xDE	BCC_CONFIG
    0x0059	0x00	DATAPATH_CTL1
    0x005A	0x00	Reserved
    0x005B	0x30	SER_ID
    0x005C	0x18	SER_ALIAS_ID
    0x005D	0x00	TargetID[0]
    0x005E	0x00	TargetID[1]
    0x005F	0x00	TargetID[2]
    0x0060	0x00	TargetID[3]
    0x0061	0x00	TargetID[4]
    0x0062	0x00	TargetID[5]
    0x0063	0x00	TargetID[6]
    0x0064	0x00	TargetID[7]
    0x0065	0x00	TargetAlias[0]
    0x0066	0x00	TargetAlias[1]
    0x0067	0x00	TargetAlias[2]
    0x0068	0x00	TargetAlias[3]
    0x0069	0x00	TargetAlias[4]
    0x006A	0x00	TargetAlias[5]
    0x006B	0x00	TargetAlias[6]
    0x006C	0x00	TargetAlias[7]
    0x006D	0x7C	PORT_CONFIG
    0x006E	0x88	BC_GPIO_CTL0
    0x006F	0x88	BC_GPIO_CTL1
    0x0070	0x2B	RAW10_ID
    0x0071	0x2C	RAW12_ID
    0x0072	0xE4	CSI_VC_MAP
    0x0073	0x05	LINE_COUNT_HI
    0x0074	0x14	LINE_COUNT_LO
    0x0075	0x07	LINE_LEN_1
    0x0076	0xD0	LINE_LEN_0
    0x0077	0xC5	FREQ_DET_CTL
    0x0078	0x00	MAILBOX_1
    0x0079	0x01	MAILBOX_2
    0x007A	0x0C	CSI_RX_STS
    0x007B	0x10	CSI_ERR_COUNTER
    0x007C	0x20	PORT_CONFIG2
    0x007D	0x00	PORT_PASS_CTL
    0x007E	0x00	SEN_INT_RISE_CTL
    0x007F	0x00	SEN_INT_FALL_CTL
    0x00A0	0x02	Reserved
    0x00A1	0x0F	Reserved
    0x00A2	0x00	Reserved
    0x00A3	0x00	Reserved
    0x00A4	0x08	Reserved
    0x00A5	0x19	REFCLK_FREQ
    0x00A7	0x00	Reserved
    0x00A8	0x00	Reserved
    0x00A9	0x00	Reserved
    0x00AA	0x00	Reserved
    0x00AB	0x00	Reserved
    0x00AC	0x00	Reserved
    0x00AD	0x00	Reserved
    0x00AE	0x00	Reserved
    0x00AF	0x00	Reserved
    0x00B0	0x02	IND_ACC_CTL
    0x00B1	0x49	IND_ACC_ADDR
    0x00B2	0x00	IND_ACC_DATA
    0x00B3	0x08	BIST Control
    0x00B4	0x25	Reserved
    0x00B5	0x00	Reserved
    0x00B6	0x18	Reserved
    0x00B7	0x00	Reserved
    0x00B8	0x8C	MODE_IDX_STS
    0x00B9	0x33	LINK_ERROR_COUNT
    0x00BA	0x83	FPD3_ENC_CTL
    0x00BB	0x74	Reserved
    0x00BC	0x80	FV_MIN_TIME
    0x00BD	0x00	Reserved
    0x00BE	0x00	GPIO_PD_CTL
    0x00BF	0x00	Reserved
    0x00D0	0x00	PORT_DEBUG
    0x00D2	0x94	AEQ_CTL2
    0x00D3	0x02	AEQ_STATUS
    0x00D4	0x60	AEDAPTIVE EQ BYPASS
    0x00D5	0xF2	AEQ_MIN_MAX
    0x00D6	0x00	Reserved
    0x00D7	0x02	Reserved
    0x00D8	0x00	PORT_ICR_HI
    0x00D9	0x00	PORT_ICR_LO
    0x00DA	0x00	PORT_ISR_HI
    0x00DB	0x10	PORT_ISR_LO
    0x00DC	0x00	FC_GPIO_STS
    0x00DD	0x00	FC_GPIO_ICR
    0x00DE	0x00	SEN_INT_RISE_STS
    0x00DF	0x00	SEN_INT_FALL_STS
    0x00F0	0x5F	FPD3_RX_ID0
    0x00F1	0x55	FPD3_RX_ID1
    0x00F2	0x42	FPD3_RX_ID2
    0x00F3	0x39	FPD3_RX_ID3
    0x00F4	0x35	FPD3_RX_ID4
    0x00F5	0x34	FPD3_RX_ID5
    0x00F8	0x00	I2C_RX0_ID
    0x00F9	0x00	I2C_RX1_ID
    0x00FA	0x00	Reserved
    0x00FB	0x00	Reserved
    

  • Hi Dusan, 

    I'm glad you were able to solve the issue regarding the CSI errors input to the 935 and see the signal outputting to the 954.

    In the register dump, 0x4E is returning a value of 0x1D, denoting buffer error, line count change, and CSI-2 error.

    The CSI-2 errors are due to length error and checksum error, as seen in register 0x7A however, the number of errors are low. During initialization, if the CSI-2 errors are cleared, are they reoccurring? CSI-2 errors may be seen on startup due to the power up of the deserializer with respect to the serializer. However, these do not reflect CSI-2 errors during initialization. To see if these errors are reoccurring, I suggest reading 0x4E and 0x7A during initialization and seeing if there is a change in value. 

    Regarding the buffer error, this typically occurs when the input bandwidth is greater than the output bandwidth. Would you be able to share the video data parameters (resolution, bits per pixel, frame rate)? 

    Best,

    Zoe 

  • Hi Zoe,

    the CSI-2 errors were not reoccuring after initalization.

    The video data parameters are:

    size: 166x1300

    bit width: 8

    frame rate: 60fps

    Best,

    Dusan

  • Hi Dusan, 

    These video parameters are within the bandwidths limitations of the 954 and shouldn't be flagging an error. If this happens only after start up then the error can be cleared by reading the register once to clear.

    The buffer overflows when the data cannot be transmitted into the CSI output port faster than it is being received. The DS90UB954-Q1 has a 16kb line buffer (FIFO) per port, and would be able to support the format as long as the average rate of video lines coming in is slow enough to ensure that the line buffer won't overfill on the DES. Potential overflow of the DES depends on the configured CSI-2 output rate (FIFO drain rate) and the CSI-2 lane rate/line timing on the CSI-2 input side (FIFO fill rate).

    If the buffer error persists after initialization, I recommend increasing the output CSI-2 to 1.6 Gbps 0x1F=0x00 as this will increase the output bandwidth.

    Best,

    Zoe

  • Hello Zoe,

    thank you for your great support.

    Regards,

    Dusan