i.mx25 pdk and ov2640 cmos sensor

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

i.mx25 pdk and ov2640 cmos sensor

1,223 次查看
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.

标签 (1)
标记 (2)
0 项奖励
回复
4 回复数

914 次查看
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 项奖励
回复

914 次查看
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 项奖励
回复

915 次查看
YixingKong
Senior Contributor IV

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

Thanks,

Yixing

0 项奖励
回复

915 次查看
chrisruehl
Contributor III

Gary,

yeah I2C is very sensitive. Good luck with it.

Chris

0 项奖励
回复