AnsweredAssumed Answered

Unable to capture video on IMX6Q

Question asked by Jemish Patel on Jan 21, 2016
Latest reply on Jan 26, 2016 by Jemish Patel

Hi All,

 

We have unit made of two boards. One board with IMX6Q processor and another with DM8148 processor.

Board with DM8148 processor is sending video on 8-bit lines with BT.656 (embedded sync) configuration.

 

In this case we don't need any decoder chip or camera sensor we are getting digital data directly from DM8148.

This is data is as per BT.656 format and NTSC (720 x 480).  To capture this data I have hard coded BT.656 , NTSC and () resolution in "mxc_v4l2_capture.c" file.

We checked in scope that clock is coming properly (27 Mhz) and data is also coming. 

Still when we try to capture data using v4l2 application we are getting below error.

 

ERROR: v4l2 capture: mxc_v4l_dqueue timeout enc_counter 0

 

Below are the pins we are using and configuration in dtsi file.

                                MX6QDL_PAD_CSI0_DAT12__IPU1_CSI0_DATA12    0x80000000

                                MX6QDL_PAD_CSI0_DAT13__IPU1_CSI0_DATA13    0x80000000

                                MX6QDL_PAD_CSI0_DAT14__IPU1_CSI0_DATA14    0x80000000

                                MX6QDL_PAD_CSI0_DAT15__IPU1_CSI0_DATA15    0x80000000

                                MX6QDL_PAD_CSI0_DAT16__IPU1_CSI0_DATA16    0x80000000

                                MX6QDL_PAD_CSI0_DAT17__IPU1_CSI0_DATA17    0x80000000

                                MX6QDL_PAD_CSI0_DAT18__IPU1_CSI0_DATA18    0x80000000

                                MX6QDL_PAD_CSI0_DAT19__IPU1_CSI0_DATA19    0x80000000

                                MX6QDL_PAD_CSI0_DATA_EN__IPU1_CSI0_DATA_EN 0x80000000

                                MX6QDL_PAD_CSI0_PIXCLK__IPU1_CSI0_PIXCLK   0x80000000

                                MX6QDL_PAD_CSI0_MCLK__IPU1_CSI0_HSYNC      0x80000000

                                MX6QDL_PAD_CSI0_VSYNC__IPU1_CSI0_VSYNC     0x80000000

 

Any suggestions will appreciated for this issue?

Do we need any additional configuration? Any thing needed from our side.

 

Thanks,

Jemish

Outcomes