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.

RTOS/TDA2P-ACD: FPDLink III Link Loss Handling

Part Number: TDA2P-ACD


Tool/software: TI-RTOS

Dear All,

I want to know in the ISS framework of Processor SDK 03.03, how the link loss mechanism is taken care of for new camera sensor and SERDES. 

I am using AR0220 camera sensor with UB953/UB954 SERDES. From the datasheet of UB954, I found that there are following registers,

LINK_ERROR_COUNT (Address 0xB9) & RX_PORT_STS2 (Address 0x4E), to detect FPD-Link III Encoder errors.

But setting of UB954 registers is done at once as below,

BspUtils_Ub960I2cParams gAppIssUtilsUb954Cfg_AR0220_CSI2_DesCfg[AR0220_CSI2_DES_CFG_SIZE] = {

{0x0C, 0x83, 0x10},
{0x1F, 0x03, 0x10}, /* 400 CSI Freq */


{0x4C, 0x01, 0x1}, /*Page FPD3 port RX0 registers for R/W*/
{0x58, 0x5D , 0x1}, /*Enable and set backchannel rate to 25Mbs / I2C passthrough enabled*/
{0x5C, 0x30, 0x1}, /*set serializer alias to Ox18 (7-bit)*/
{0x5D, ((uint8_t) (UB953_I2C_ADDRESS << 1U)), 0x0},
{0x65, ((uint8_t) (UB953_I2C_ALIAS_ADDRESS << 1U)), 0x0},
{0x5E, ((uint8_t) (AR0220_I2C_ADDRESS << 1U)), 0x0},
{0x66, ((uint8_t) (AR0220_I2C_ALIAS_ADDRESS << 1U)), 0x0},
{0x6D, 0x7C, 0x1}, /*CSI and coax mode*/
{0xD5, 0xF0, 0x1}, /* Set AEQ MIN/MAX widest values*/
{0x7C, 0x00, 0x1}, /* disabled FV Polarity */
{0x71, 0x2C, 0x1},
{0x72, 0xE4, 0x1},

{0x32, 0x01, 0x1}, /*CSI0 select*/
{0x33, 0x03, 0x1}, /*CSI_EN & CSI0 4L*/
{0x21, 0x41, 0x1},
{0x20, 0x00, 0x1},
{0xB9, 0x18, 0x1}, /*ENABLE PARITY ERROR COUNT*/
{0x42, 0x71, 0x1}, /*ENABLE S-Filter with AEQ*/
{0x10, 0x59, 0x1}, /*Output Frame on GPIO0 */
};

So in runtime how can we read the status registers to detect link loss errors. Is the link loss handling done in any of the sensor codes available in Vision SDK that we can refer.

If yes, can we get the reference.

Thanks,

Abhay