Hi All,
I'm using OV5640 mipi camera in imx6 and I'm getting below error.
[ 2.004525] ov564x_mipi 3-003c: found pwm2, period=0
[ 2.296520] ov5640_read_reg:write reg error:reg=300a
[ 2.296522] camera ov5640_mipi is not found
What is the reason for this error.?
How to fix this.
Regards,
Aravinth
Hi Aravinth
issue may be related to i2c problems, one can try to debug it using
Chapter 19 OmniVision Camera Driver attached Linux manual.
i2c also can be tested using baremetal sdk found on SMP Enable in IMX6
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi igor,
Thanks for your response. I have configured as mentioned in document. But I don't know why I'm facing this issue.?
Regards,
Aravinth
Hi Aravinth
>But I don't know why I'm facing this issue
reason may be that i2c is not working
Best regards
igor
Hi igor,
I2C interface and camera both are working, I have validated in linux BSP and camera driver as module (.ko).
If I make it as inbuilt it's not working in linunx BSP. In Android BSP camera not at all working in both module and inbuilt build.
Regards.
Aravinth
Thanks igor, It's default driver code.
Finally I have fixed that issue.
Regards,
Aravinth
Hi Aravinth
How do you fixed that issue?