Hi,
I am working on imx6ull based custom board. So in that board we have configured camera ov5640 under i2c.
root@imx6ul7d:~# i2cdetect -y 0
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- UU -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
when i am trying to read or write showing failed.
root@imx6ul7d:~# i2cset -f -y 0 0x3c 0x32 0x12
Error: Write failed
When i searched i saw like if we are loading driver we cant read or write. if driver not loaded it should show slave address 3c but for me its not showing so can you give me solution for this is there any way i can write or read?
what all i have to write to i2c is there in the attachment. please have a look at it, hoping for your reply.
Hello,
The camera i2c is not loaded successfully by Linux, so the UU showed and you can't control it. You can check the kernel boot log, there should be some errors.
Best Regards,
Zhiming
Hi,
Thanks for the reply, with dmesg i checked the kernal log but i didnt see any error message related to i2c or camera.
Hello,
You can try to use v4l2-ctl to set or get specific registers.
Best Regards,
Zhiming