ov5640_mipi probe fail (I2C access fail)

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

ov5640_mipi probe fail (I2C access fail)

Jump to solution
1,379 Views
xingruizhu
Contributor III

Dear supporter

 

Our project base on android 5.0.2 , and imx6dl-sabresd.

 

error log as below:

 

<4>[    5.740524] ft5x0x:ft5x0x_ts_probe() - sysfs_create_group() succeeded.

<4>[    5.747638] i2c-core: driver [isl29023] using legacy suspend method

<4>[    5.753922] i2c-core: driver [isl29023] using legacy resume method

<6>[    5.760982] snvs_rtc 20cc034.snvs-rtc-lp: rtc core: registered 20cc034.snvs-rtc-lp as rtc0

<6>[    5.769435] i2c /dev entries driver

<4>[    5.774762] ov5640_mipi 0-003c: xxxxx dev->of_node = ov5640_mipi, dev->of_node->full_name = /soc/aips-bus@02100000/i2c@021a0000/ov5640_mipi@3c

<4>[    5.787834] ov5640_mipi 0-003c: xxxxx rst_gpio = 155

<4>[    5.792896] xxxxx ov5640_data.mclk = 24000000

<4>[    5.797376] xxxxx ov5640_data.mclk_source = 0

<4>[    5.801832] xxxxx ov5640_data.csi = 1

<3>[    5.915855] xxxxx i2c addr = 0x3c

<3>[    5.919414] ov5640_read_reg:write reg error:reg=300a

<4>[    5.924390] camera ov5640_mipi is not found

<6>[    5.929317] mxc_v4l2_output v4l2_out.32: V4L2 device registered as video16

<6>[    5.936422] mxc_v4l2_output v4l2_out.32: V4L2 device registered as video17

<6>[    5.943679] usbcore: registered new interface driver uvcvideo

<6>[    5.949469] USB Video Class driver (1.1.1)

<6>[    5.953577] gspca_main: v2.14.0 registered

Original Attachment has been moved to: ov5640_mipi.c.zip

Original Attachment has been moved to: imx6qdl-sabresd.dtsi.zip

Labels (5)
0 Kudos
1 Solution
869 Views
xingruizhu
Contributor III

Dear supporter

With oscilloscope, we find the MCLK clock cannot output when camera driver probe on android 5.0.2.

And we confirm the HW is ok on android 4.2.2.

could you give us some suggestion ?

thank you.

View solution in original post

0 Kudos
2 Replies
869 Views
igorpadykov
NXP Employee
NXP Employee

Hi xingrui

please check I2C pull-up resistor and signals with oscilloscope.

Check if other devices on I2C bus can prevent communication,

disconnect them temporarily.

It may be useful to run SDK mipi test for testing ov5640:

Software Development Kits (3)

i.MX 6Series Platform SDK (REV 1.1)

SABRE Board Reference Design|Freescale

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 Kudos
870 Views
xingruizhu
Contributor III

Dear supporter

With oscilloscope, we find the MCLK clock cannot output when camera driver probe on android 5.0.2.

And we confirm the HW is ok on android 4.2.2.

could you give us some suggestion ?

thank you.

0 Kudos