Hello everyone,
I encountered some werid problems when debugging the tdes954 and tdes953 chip, which troubled us for a long time.
It is aboout i2c bus issue, the following is the details:
I connect a ov5647 sensor to the tdes serial device, and connect it to the RPI platform. After init the device, I can detect
the device address as normal shown as the follow image: so I think the tdes device is normal.
And then, when I try to init the camera, the issue occurred, I wirte a test script to write the sensor register, it will return a error.
I grab the i2c write timing. and see after the eighth clock the chip will stretch the sck to low level and keep
pulling it low until the host time out and exit. the low time up to 250 ms, which is abnormal.
I try to add delay between init tdes954 and tdes953 chip but the same result.
This is the source code
Another issue:
After init the tdes954 deivce and camera, I need to reinit the tdes device to get image. I don't know why.
As I understand, after init the tdes deivce, I just need to configure the camera and get image instead of init the
tdes devuce after each the camera stream on.