OV5640 camera not detected

cancel
Showing results for 
Search instead for 
Did you mean: 

OV5640 camera not detected

1,518 Views
aravinthkumarja
Senior Contributor II

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 

Labels (4)
0 Kudos
7 Replies

539 Views
igorpadykov
NXP TechSupport
NXP TechSupport

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!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

539 Views
aravinthkumarja
Senior Contributor II

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

0 Kudos

539 Views
igorpadykov
NXP TechSupport
NXP TechSupport

Hi Aravinth

>But I don't know why I'm facing this issue

reason may be that i2c is not working

Best regards
igor

0 Kudos

539 Views
aravinthkumarja
Senior Contributor II

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

0 Kudos

539 Views
igorpadykov
NXP TechSupport
NXP TechSupport

Hi Aravinth

if i2c is working one can try to debug it in camera driver described in sect.6.1.8

Source Code Structure attached Linux Manual.

Best regards
igor

0 Kudos

539 Views
aravinthkumarja
Senior Contributor II

Thanks igor, It's default driver code. 

Finally I have fixed that issue. 

Regards,

Aravinth

0 Kudos

539 Views
leeshuai
Contributor III

Hi Aravinth

          How do you fixed that issue?

0 Kudos