OV5640 image quality in Android 11 imx8mm , Horizontal RGB Lines

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

OV5640 image quality in Android 11 imx8mm , Horizontal RGB Lines

跳至解决方案
590 次查看
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 项奖励
1 解答
243 次查看
deepakbeniya
Contributor III

The issue is solved
The problem was with camera power supply section .

It was having noise in analog and digital power section .

we have given external power supply to camera the lines were dissapeared.

在原帖中查看解决方案

0 项奖励
6 回复数
244 次查看
deepakbeniya
Contributor III

The issue is solved
The problem was with camera power supply section .

It was having noise in analog and digital power section .

we have given external power supply to camera the lines were dissapeared.

0 项奖励
343 次查看
deepakbeniya
Contributor III

I have done Camera Test Pattern 
Pattern testing is perfect .
I have register values   {0x503d, 0x80, 0, 0},{0x4741, 0x00, 0, 0}
Test_Pattern2.jpegTest_Pattern2.jpeg

0 项奖励
299 次查看
jimmychan
NXP TechSupport
NXP TechSupport

Then, for the camera configuration in Android, please read the Chapter 8.1 in Android User's Guide.

https://www.nxp.com/docs/en/user-guide/ANDROID_USERS_GUIDE.pdf

 

0 项奖励
487 次查看
deepakbeniya
Contributor III

Connection is proper.
It have AXT connectors.
Is there any other solution for this. 
So, I could solve this Problem



Thanks
Deepak Beniya

 

0 项奖励
457 次查看
jimmychan
NXP TechSupport
NXP TechSupport

https://www.nxp.com.cn/docs/en/reference-manual/IMX_REFERENCE_MANUAL.pdf

There are different ov564 driver in the kernel. Please double check the driver you are using is proper or not. Please check the above manual Chapter 6.1.2. For i.MX 8M, select > OmniVision ov5640 camera support (MXC_CAMERA_OV5640_V2) and OmniVision ov5640 camera support using MIPI (MXC_CAMERA_OV5640_MIPI_V2).

 

You may try to run Linux to test the camera first. make sure the camera is working well on the board.

0 项奖励
528 次查看
jimmychan
NXP TechSupport
NXP TechSupport

It seems is like the hardware connection between camera and the board is not good. Please double check the connection.

0 项奖励