Dear Sir,
My customer using UB953+UB954; found UB954 CSI_CLK0 has no o/p, CSI_D0~CSI_D3 has o/p.
If active internal pattern gen, CSI_CLK0 and CSI_D0~CSI_D3 will has o/p.
Would you pls advise what happen? (Sensor resolution is 1920x1080)
Here are register dump as below,
static UINT8 ti954_reset[]=
{
0x01, 0x03, // Reset
0xff, 0x0a, // delay 0-0xfe
0xff, 0xff // end loop
};
static UINT8 ti954_init_ch1[]=
{
0x4c, 0x01, // enable reg write for RX0 port
0x58, 0x5d, // enable I2C pass through 0x5e<=not work
0x5c, ALIAS_ID_DESER_CH1, // set Remote SER Alias
0x5d, IDC_ID_BRV0200_CH1, // device_slave_id
0x65, ALIAS_ID_SENSOR_CH1, // device_slave_Alias_id
0xff, 0xff // end loop
};
static UINT8 ti954_init_ch2[]=
{
0x4c, 0x01, // enable reg write for R0 port
0x58, 0x5d,//0x9a,//0x58, // enable I2C pass through 0x5e<=not work
0x5c, ALIAS_ID_DESER_CH2, // set SER Alias
0x5d, IDC_ID_BRV0200_CH2, // device_slave_id
0x65, ALIAS_ID_SENSOR_CH2, // device_slave_Alias_id
0xff, 0xff // end loop
};
static UINT8 ti954_enable[]=
{
0x33, 0x03, // CSI_CTL Enable CSI output
0xff, 0x64, // delay
0x20, 0x20, // Forwarding control enable R0 Port
0xff, 0xf0, // delay
0x0c, 0x01, // Enable Port 0 Receiver
0xff, 0xff // end loop
};
//--------------------------------------------------------------
static UINT8 ti953_init[]=
{
0x07, 0x14, // N CLKOUT_CTRL1
0xff, 0x64, // delay
0x0e, 0xf0, // gpio output enable
0x0d, 0x0c, // set SEN_RSTn, PWDN
0xff, 0x0a, // delay
0x0d, 0x08, // sensor reset
0xff, 0x64, // delay
0x0d, 0x0c, // set SEN_RSTn, PWDN
0xff, 0x0a, // delay
0x0b, 0x28, // set UB953 I2C rate
0x0c, 0x28, //
0x02, 0x73, // Set the continue mode sjq important
0xff, 0x10, // delay
0x1c, 0x3f, // ALARM_CSI_EN
0x1e, 0x03, // ALARM_BC_EN
0x49, 0x28, // BC_CTRL
0xff, 0xff // end loop
};
Initial steps,
1. ti954_reset
2. ti954_init
3. ti953_init
4. Sensor Init
5. ti954_enable
Thanks, Ian.