iMX31 with OV3640 camera sensor

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

iMX31 with OV3640 camera sensor

跳至解决方案
5,313 次查看
Anuva
Contributor II

Hi

 

We are trying to build an embedded application using iMX31 PDLite kit and OV3640 sensor module with Linux as the OS.  We have been having problems with getting the driver to work... Has any one done this integration? can any one help? is there a driver available. If any one has worked on this or can help please respond. Thanks

标记 (1)
0 项奖励
回复
1 解答
1,854 次查看
Anuva
Contributor II

Hi

 

We managed to capture images after we changed the IO voltage to 2.8V ...

 

We now have a problem with high resolution capture... we have written a driver for working in linux 2.6.24 for using the same for our capture and view application.


We are able to achieve 2048x1536 resolution in mxc_v4l2_overlay application and also able to view the full image on the LCD. But the observation is that the in the same mode - 2048x1536, when we try for still image capture using mxc_v4l2_still application, we find that the mxc_v4l2_read error is coming. Can you let us know if there is anything that we can do to get around this problem?

 

Thanks and best  regards

在原帖中查看解决方案

0 项奖励
回复
8 回复数
1,854 次查看
vahidnoori
Contributor II

hi .

i am beginning in embedded.

i am going to config imx by ov3640 .

can u help me about this circuit between imx and ov3640?

0 项奖励
回复
1,854 次查看
fabio_estevam
NXP Employee
NXP Employee

We do have OV3640 camera support on the MX51EVK board (needs an expansion board).

 

You can refer to to the following file: linux/drivers/media/video/mxc/capture/ov3640.c

 

The MX51 BSP can be downloaded from: http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=MCIMX51EVKJ&fpsp=1&tab=Design_Tools_T...

 

(Click on IMX_SDK16_LINUX_BSP )

 

 

Regards,

 

Fabio Estevam 

0 项奖励
回复
1,854 次查看
Anuva
Contributor II

Hi

 

Thanks for the feedback. Can this driver be used with iMX31??  We have been trying and have not had success with the modifications we have done to use this driver with iMX31. We already have the iMX31 based board designed... Thanks for yoru feedback in advance

0 项奖励
回复
1,854 次查看
fabio_estevam
NXP Employee
NXP Employee

Yes, it can be used on a MX31 design.

 

Make sure that you have setup the IOMUX for the camera input pins.

 

Regards,

 

Fabio Estevam

0 项奖励
回复
1,854 次查看
Anuva
Contributor II

Hi

 

Thanks! Yes we have ported the driver and we have configured the IOMUX pins. We are getting green patched image though the test pattern capture is correct. Enclosed are the images. Can u see and help us on this? Thanks!

 

with best regards

 

 

 

0 项奖励
回复
1,854 次查看
fabio_estevam
NXP Employee
NXP Employee

I suggest you to check for the camera voltages and clocks.

 

Regards,

 

Fabio Estevam

0 项奖励
回复
1,854 次查看
Anuva
Contributor II

Hi

 

The camera voltages and the CLK are correct. We are unable to understand the reason for the green tinge in the image. The settings for the camera module have been provided by OV...

 

would appreciate your insight into this.

 

thanks and best regards

0 项奖励
回复
1,855 次查看
Anuva
Contributor II

Hi

 

We managed to capture images after we changed the IO voltage to 2.8V ...

 

We now have a problem with high resolution capture... we have written a driver for working in linux 2.6.24 for using the same for our capture and view application.


We are able to achieve 2048x1536 resolution in mxc_v4l2_overlay application and also able to view the full image on the LCD. But the observation is that the in the same mode - 2048x1536, when we try for still image capture using mxc_v4l2_still application, we find that the mxc_v4l2_read error is coming. Can you let us know if there is anything that we can do to get around this problem?

 

Thanks and best  regards

0 项奖励
回复