imx6 AI board mipi camera

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

imx6 AI board mipi camera

1,032 Views
xiaoxiongdeng
Contributor II

hi all

     recently, I imported a mipi camera to IMX6 AI board , refered to  ov5640_mipi.c

     now , when i  clicked the cam apk , IMX6 can receive the mipi data , but the picture is not correct when preview .

    

     who can help me !

     thanks a lot !

  attached is the picture when preview  . 

Labels (2)
Tags (4)
0 Kudos
2 Replies

576 Views
igorpadykov
NXP Employee
NXP Employee

Hi Xiaoxiong

you should modify mipi sources for your sensor, as it was performed at link below

Re: i.MX6 OV5647 Bayer sensor driver (ERROR: v4l2 capture: mxc_v4l_dqueue timeout enc_counter 0)

Best regards

chip

576 Views
xiaoxiongdeng
Contributor II

Hi

     chipexpert . Thanks for your help. My question had been resolved.

I had modify only 2 things . One is the IPU Channel :  using IPU1 CSI0 in IMX6Q . The other is that modify the previewsize setting in ioctl_enum_framesizes  before preview.  

    The picture is error , because of the pixel size in kernel  is not match the HAL setting .

0 Kudos