Hi,
I should configure the register before configuring camera, is it right?
So I use the fucntion i2c_reg_read first,
r_tca=i2c_reg_read(&Iic, MUX_IIC_ADDRESS, 0x00E1);
and use the function i2c_reg_write,
i2c_reg_write(&Iic, MUX_IIC_ADDRESS, 0x00E0,0x07);
and read again:
r_tca=i2c_reg_read(&Iic, MUX_IIC_ADDRESS, 0x00E1);
The value of r_tca does not change, and the value is equal to 0x000041, of which the bit B2 is equal to 0. The value is obviously incorrect.
What is the problem?
Sorry to bother you again
