1839275_en-US

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

1839275_en-US

1839275_en-US

OV5640 image quality in Android 11 imx8mm , Horizontal RGB Lines

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

AndroidGraphics & Displayi.MX 8 Family | i.MX 8QuadMax (8QM) | 8QuadPlusi.MX 8M | i.MX 8M Mini | i.MX 8M NanoRe: OV5640 image quality in Android 11 imx8mm , Horizontal RGB Lines

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.

Re: OV5640 image quality in Android 11 imx8mm , Horizontal RGB Lines

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


Re: OV5640 image quality in Android 11 imx8mm , Horizontal RGB Lines

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

Re: OV5640 image quality in Android 11 imx8mm , Horizontal RGB Lines

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.

Re: OV5640 image quality in Android 11 imx8mm , Horizontal RGB Lines

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



Thanks
Deepak Beniya


Re: OV5640 image quality in Android 11 imx8mm , Horizontal RGB Lines

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

Tags (1)
No ratings
Version history
Last update:
‎11-21-2025 04:23 PM
Updated by: