Joshua Parrish

camera on CSI

Discussion created by Joshua Parrish on Nov 18, 2011
Latest reply on Dec 2, 2011 by Daiane Angolini

Hello all,

 

I've recently been trying to set up an ov7725 on the csi 0 line. 

I have it coming up and being recognized as a device. 

However, when I try to get a picture out I get nothing. 

 

I've used a couple different tests. but nothing gets a real response.

 

The output I have from /unit_tests/mxc_v4l2_overlay.out is 

g_display_width=240, g_display_height =320

g_display_top=0,g_display_left=0

sensor chip is ov7725

sensor frame size is 640x480

sensor frame format is UYVY

frame_rate is 30

 

frame buffer width 1024, height 768, bytesperline 2048

 

 

 

 

Then about 3 seconds later I get a green pattern at the top of my screen. 

 

My sensor by default puts out 60 frames per second (I have used i2c to control it down to 30 fps). It outputs in 640x480 in YUV format. 

 

The driver I'm using is a clone of the ov3640 driver included with the BSP. 

The big difference between the two drivers is that I have eliminated all the i2c set up data. 

and replaced ov3640 with ov7725. 

 

The main issue here is that I am not getting a picture. Could anyone offer suggestions?

Outcomes