i.MX6 Parallel camera driver.

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

i.MX6 Parallel camera driver.

2,062 Views
raghavendrabomm
Contributor I

Hi ,

Platform:i.MX6 solo.

Image sensor: MT9D115.

Driver code: https://github.com/Aptina/i.MX6/tree/master/MT9D115_SOC2031 (BoundaryDevice imx-android r13.4-1(branch) with kernel 3.0.35)

image format: YUV422 (UYVY)

Issue: Getting greenish image. (color bar test pattern)

The driver has been verified with Boundrydevice i.MX6 Saberlite board and working fine . But when integrated on dual lite i am seeing this issue.

I have checked from camera side and camera is configured correctly, I am capturing images at the kernel level and i guess i dont need to configure IPU yet.

I am not sure is there something i am missing for Host side (iMX6 side). like IDMAC etc

I also read below note from one of the discussion, how does below point affect my YUV422 configuration?

"

1. According to IPUv3 spec, CSI can not capture YUV420 pixel.

2. After CSI captures YUV422 pixels, YUV422 pixels are converted to YUV444 pixels. When pixels need to be written to memory, IDMAC converts YUV444 pixels to YUV420 pixels( CPMEM’s PFS, UBO and VBO entries determine the pixel format. Of course, UBO and VBO are only valid for non-interleaved and partial interleaved pixel formats. ).


"

Can someone help me out here ?

Thanks

Raghav

Labels (6)
0 Kudos
2 Replies

790 Views
igorpadykov
NXP Employee
NXP Employee

Hi Raghavendra

I would suggest to check if this driver uses parallel port, because

there are references in code as "aptina_mt9d115_mipi", probably it is

for MIPI port.

Second suggest to check IOMUX settings for camera signals and

i.MX6Q has two IPUs while Solo only one IPU. So one needs to route

camera signals to correct IPU.

Best regards

igor

0 Kudos

790 Views
raghavendrabomm
Contributor I

Hi Igor,

Thanks for your reply,

The Git driver is for MIPI and it has been changed for parallel.

Sure i will check camera signals to IPU routing.

Thanks

Raghav

0 Kudos