i.mx25 pdk and ov2640 cmos sensor

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

i.mx25 pdk and ov2640 cmos sensor

1,056 Views
garytee
Contributor I

Has anyone in this community used the ov2640 cmos sensor on the imx25-3stack board?

I have the i.mx25 pdk 3-stack development kit and I'm using L2.6.31_09.12.00_sdk_source. I'm trying to run /unit_tests/csi_v4l2_capture.out and /unit_tests/csi_v4l2_overlay.out. These test applications fail with the following message:  >>i2c-adapter i2c-0: ACK not received<<.

I have verified that the dip switches on the personality board are set for i2c1 and I'm not enabling 'sim' on the boot command line.

Thank you for your time.

Labels (1)
Tags (2)
0 Kudos
4 Replies

747 Views
chrisruehl
Contributor III

Hi Garytee,

I haven't a imx25 but fight with i2c with our new development.

I found the tool

i2cdetect -y 0

     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f

00:          -- -- -- -- -- -- -- -- -- -- -- -- --

10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

30: UU -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

70: -- -- -- -- -- -- -- --            

very helpful to see if the ov2640 is responding on the i2c bus

(in my case on address 0x30)

I remember some people change/add pull-downs to the i2c bus to stabilize it.

cheers

Chris

0 Kudos

747 Views
garytee
Contributor I

Chris,

Thank you very much for your reply. I will try i2cdetect -y 0 and let you know what I discover. Thank you for your reminder on increasing the I2C pull ups. I believe the hardware engineer had to change those on our client's board which is based on the 3-stack design.

Best Regards,

Gary

0 Kudos

748 Views
YixingKong
Senior Contributor IV

Gary, if Chris's comment helps you, please click Correct Answer/Helpful answer.

Thanks,

Yixing

0 Kudos

748 Views
chrisruehl
Contributor III

Gary,

yeah I2C is very sensitive. Good luck with it.

Chris

0 Kudos