OV5640 camera not detected

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

OV5640 camera not detected

3,742 次查看
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 

标签 (4)
0 项奖励
7 回复数

2,763 次查看
igorpadykov
NXP Employee
NXP Employee

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 项奖励

2,763 次查看
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 项奖励

2,763 次查看
igorpadykov
NXP Employee
NXP Employee

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 项奖励

2,763 次查看
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 项奖励

2,763 次查看
igorpadykov
NXP Employee
NXP Employee

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 项奖励

2,763 次查看
aravinthkumarja
Senior Contributor II

Thanks igor, It's default driver code. 

Finally I have fixed that issue. 

Regards,

Aravinth

0 项奖励

2,763 次查看
leeshuai
Contributor III

Hi Aravinth

          How do you fixed that issue?

0 项奖励