Part Number: TDA2P-ABZ
Tool/software:
Hi,
we are trying to bring up our new imager of resolution 1764x1400 yuv422 8bpp with serializer 935 and deserializer 960 & soc tda2px.
interfacing through ipu2 core.
with the initial configuration we see link is up, but immediately it losses the lock. Here is our configuration,
can you please review this configuration and let us know the any extra configuration needs to be done
{0x01, 0x01}, // Digital reset
{0x1F, 0x05}, // csi_tx speed (1.2 GHz) & ref_clk_mode (pll , clk-100 MHz)
{0x4C, 0x01}, // Port Select P0
{0x58, 0x5E}, // Back chn enb 2.5 Mbps, Back chn crc gen, I2c pass through all // 50 Mbps
// {0x58, 0x58}, // Back chn enb 2.5 Mbps, Back chn crc gen, I2c pass through all
{0x5C, ((uint8)(lvdsSensorInterfaceInfo.serializerI2cAddr[0] << 1U))}, // serializer alias add
//{0x5C, 0x30},
{0x5D, (BOARD_OVT_X3N_I2C_ADDR << 1U)},
{0x65, ((uint8)(lvdsSensorInterfaceInfo.sensorI2cAddr[0] << 1U))},
{0x5E, (BOARD_OVT_X3N_I2C_ADDR << 1U)}, //sensor adde
{0x66, ((uint8)(lvdsSensorInterfaceInfo.sensorBroadcastAddr << 1U))}, // brdcast addre
{0x7C, 0x40}, // port cfg
{0x6e, 0x99}, // BC_GPIO_1 & BC_GPIO_0
{0x70, 0x1E}, // vcid & data format YUV (10 bit)
{0x6D, 0xBC}, // port cfg
{0xB0, 0x1C},
{0xB1, 0x13},
{0xB2, 0x1F},
{0xBC, 0x00},
{0x32, 0x01},
{0x33, 0x01}, // csi lane count 4 , lane speed if to 800 then 0x11
{0x20, 0x00}, // csi related
{0x21, 0x81}, // csi related
//Cam Lock pin
{0x10, 0x81}, // port 0 - lock status - GPIO - 0
{0x17, 0x85}, // port 1 - lock status - GPIO - 7
{0x16, 0x89}, // port 2 - lock status - GPIO - 6
{0x13, 0x8D} // port 3 - lock status - GPIO - 3
------------------------
Serializer
UB935ConfigRegisters
{0x03, 0x55},
{0x02, 0x71},
{0x06, 0x23},
{0x39, 0x18},
{0x41, (lvdsSensorInterfaceInfo.serializerI2cAddr[0] << 1)},
{0x3A, ( BOARD_OVT_X3N_I2C_ADDR << 1)},
{0x42, (lvdsSensorInterfaceInfo.sensorI2cAddr[0] << 1)},
{0x0D, 0xAA},
{0x0E, 0xA5},
{0x32, 0xE8},
#if 1
/* Changing the default I2C clock rate to 100 KHz */
/* Default 0x82 = 74 kbits/sec
0x64 = 100 kbps
0x32 = 400 kbps */
{0x0B, 0X32}, /* SCL High period */
{0x0C, 0x32}
#endif