iMX31 with OV3640 camera sensor

cancel
Showing results for 
Search instead for 
Did you mean: 

iMX31 with OV3640 camera sensor

Jump to solution
3,839 Views
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

Tags (1)
0 Kudos
1 Solution
380 Views
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

View solution in original post

0 Kudos
8 Replies
380 Views
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 Kudos
380 Views
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 Kudos
380 Views
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 Kudos
380 Views
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 Kudos
380 Views
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 Kudos
380 Views
fabio_estevam
NXP Employee
NXP Employee

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

 

Regards,

 

Fabio Estevam

0 Kudos
380 Views
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 Kudos
381 Views
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 Kudos