OV5640 image quality in Android 11 imx8mm , Horizontal RGB Lines

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

OV5640 image quality in Android 11 imx8mm , Horizontal RGB Lines

819 Views
deepakbeniya
Contributor III

Hi NXP 

I am using custom imx8mm board with Android 11 , kernel 5.4.70  booting properly. OV5640 camera driver is intigreted and Display driver is integreted  everything works fine.
Display works fine , When I open the camera app horizontal RGB lines are coming , after capturing the picture  also its same . 
whole picture is coming blue colour.
How to solve the RGB lines and it should auto focus?

Does anyone have any solution or any referance link, pdf that will be helpfull.

clock for the camera is 24 MHz.


Camera is MIPI-CSI2 and Display is MIPI-DSI .

I have attached the sample captured images and logcat of camera open, then captured a picture,then closed the camera application .

Thanks and Regards
Deepak Kumar Beniya

0 Kudos
3 Replies

599 Views
TomE
Specialist II

Wrong Forum. You want the i.MX one.

0 Kudos

620 Views
deepakbeniya
Contributor III

hi @Bio_TICFSL 
I have checked ./drivers/media/platform/mxc/capture/ov5640_mipi_v2.c file but could not abel to find the things here.

May I know the reason why the RGB Lines are coming ? and where can i change to solve the problem .
Really need your help.

Thanks and Regards 
Deepak Beniya

0 Kudos

772 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

There are other references to the framerate here

./drivers/media/i2c/ov5640.c
./drivers/media/platform/mxc/capture/ov5640_v2.c
./drivers/media/platform/mxc/capture/ov5640.c
./drivers/media/platform/mxc/capture/ov5640_mipi.c
./drivers/media/platform/mxc/capture/ov5640_mipi_v2.c
./drivers/media/platform/imx8/ov5640_mipi_v3.c
./drivers/media/platform/imx8/ov5640_v3.c

And the second part of my question was adding a new camera sensor, I suggest taking a look at the i.MX_BSP_Porting_Guide at chapter 13.2:

"13.2 Adding support for a new CMOS camera sensor"

Which explains how to add a driver to the make menuconfig to compile it.

 

Regards

0 Kudos