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

Jump to solution
448 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
1 Solution
101 Views
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.

View solution in original post

0 Kudos
6 Replies
102 Views
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 Kudos
201 Views
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 Kudos
157 Views
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 Kudos
345 Views
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 Kudos
315 Views
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 Kudos
386 Views
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 Kudos