OV5640 image quality in Android 11 imx8mm , Horizontal RGB Lines

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

OV5640 image quality in Android 11 imx8mm , Horizontal RGB Lines

1,123 次查看
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 项奖励
回复
3 回复数

903 次查看
TomE
Specialist II

Wrong Forum. You want the i.MX one.

0 项奖励
回复

924 次查看
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 项奖励
回复

1,076 次查看
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 项奖励
回复