OV5640 MIPI-CSI2 driver - why the limitations?

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

OV5640 MIPI-CSI2 driver - why the limitations?

5,573 Views
jacobpedersen
Contributor I

Hi folks,

I'm using a OmniVision OV5640 MIPI-CSI2 with a iMX6 Quad board, where I'm doing some computer vision applications. I'm curious to know why the driver for the OV5640 sensor is limited to 30 fps, even though the sensor can do 60 fps at 720p and 90 fps at VGA? As far as I can see in the driver, the frame rate is clamped to maximum 30 fps.

Is there a technical reason, or is it just because it hasn't been updated for all the supported modes?

The driver also limits the available image formats, which makes one required to do the conversion in software or (as in my case) using the IPU. The IPU is fairly fast to do the simple UYVY to RGB24 conversion, but still slower than just getting an RGB image from the sensor.

Btw, am I posting this the right place? I'm not sure where the kernel folks at Freescale are to be contacted.

Best,

Jacob

Tags (4)
0 Kudos
2 Replies

910 Views
Yuri
NXP Employee
NXP Employee

  According to the following discussion

"ov5642 1080p 30 fps and sabre light"

https://community.freescale.com/message/430727#430727

it is required to create / support special command sequences (tables) to program

a camera (say, via I2C) for different modes / frame frequencies. Freescale BSP

provides only base modes.

As an example :

https://github.com/boundarydevices/linux-imx6/blob/boundary-imx_3.10.17_1.0.0_ga/drivers/media/platf...

https://github.com/boundarydevices/linux-imx6/blob/boundary-imx_3.10.17_1.0.0_ga/drivers/media/platf...

Have a great day,
Yuri

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

910 Views
jacobpedersen
Contributor I

See discussion on the meta-freescale mailing list.