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.

About changing 8127 sensor



Hi!
I am using 8127 ipnc,  I change sensor to tcm3231, the M3 processor is down when call  the function Iss_platformTi814xSelectSensor, this function has two parameter, but none of them is used in the function body.

I finnaly found the program crashed at Iss_deviceRawWrite8 which be called in Iss_platformTi814xSelectSensor.

I know Iss_deviceRawWrite8 is just a macro to Vps_deviceRawWrite8, I read the hdvpss driver api guide which told me the first parameter is VPS_DEVICE_I2C_INST_ID_0 or VPS_DEVICE_I2C_INST_ID_1, but  why the Iss_platformTI814xGetI2cInstId return VPS_DEVICE_I2C_INST_ID_2 to i2cInstd?

Another question is what's the i2cDevAddr which is 0x27.

As I have dobout in the fucntion, I comment it. But the function is crashed in :

pInst->SensorHandle = FVID2_create(pInstPrm->videoDecoderId,0,......);

I found that the videoDecoderId is right ,but I don't how to test whether the driver is right!

Please give me some advice !

THX!