my configure set below
UBUNTU 12.04
kernel 3.0.35
LTIB
i.mx6q sabresd board.
Hello.
I want to confirm i2c data of ov5640 camera when boot i.mx6 board.
So.. I was check clk for i2c (R181 & R182) of CSI0(ov5640 camera).
But I don't know that is correct data.
when i check i2c data,
it is 0x38 ack 0x0D ack 0x39 ack 0x15..... i think .. it's wrong
If you have ov5640 camera initialize i2c data, share for me.
Thank you.
ps.
Where can i search i2c data for changing data ?
Solved! Go to Solution.
one more suggestion for you:
You can check the ov5640.c driver source code. It is located in linux/drivers/media/video/mxc/capture/.
There are two functions ov5640_write_reg() and ov5640_read_reg() using i2c for read and write the ov5640's registers.
And when run the ov5640_probe(), It will using ov5640_read_reg() to read the chip_id higher and lower bytes first. After checked the camera is ov5640, then it will initialize the camera by sending a set of data in ov5640_global_init_setting[],
one more suggestion for you:
You can check the ov5640.c driver source code. It is located in linux/drivers/media/video/mxc/capture/.
There are two functions ov5640_write_reg() and ov5640_read_reg() using i2c for read and write the ov5640's registers.
And when run the ov5640_probe(), It will using ov5640_read_reg() to read the chip_id higher and lower bytes first. After checked the camera is ov5640, then it will initialize the camera by sending a set of data in ov5640_global_init_setting[],
Hi Hanseung
one can look at attached baremetal ov5640 camera codes from sdk.
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------