<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>i.MX Processors中的主题 Re: OV7740 camera on I.MX6 using CSI0 in BT.656 mode</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/OV7740-camera-on-I-MX6-using-CSI0-in-BT-656-mode/m-p/354097#M49464</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I finally figured out what was wrong !!!&lt;/P&gt;&lt;P&gt;There is in the source linux file from freescale arch/arm/mach-imx/mach-imx6q.c a wonderful line : else if (of_machine_is_compatible("fsl,imx6dl-sabresd") ||&lt;/P&gt;&lt;P&gt;So if you try to use your own device tree file you won't get IOMUXC_GPR13 configured correctly !&lt;/P&gt;&lt;P&gt;By default IOMUXC_GPR13 has the value 0x00000008 and should be 0x0000000c for csi parallel use case ...&lt;/P&gt;&lt;P&gt;In your first line of your device tree you actually need to add compatible = XXX, "fsl,imx6dl-sabresd"; and then it will work ...&lt;/P&gt;&lt;P&gt;Hope it will help ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Mar 2015 11:56:57 GMT</pubDate>
    <dc:creator>aurelienbouin</dc:creator>
    <dc:date>2015-03-26T11:56:57Z</dc:date>
    <item>
      <title>OV7740 camera on I.MX6 using CSI0 in BT.656 mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/OV7740-camera-on-I-MX6-using-CSI0-in-BT-656-mode/m-p/354076#M49443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I am using an imx.6 Sabrelite (PN:BD-S1-imx6) from BoundaryDevices to develop a camera system. The camera sensor is the ov7740 from omnivision, attached to Sabrelite via CSI0 (8 data lines, pixelclock and camera system clock). As I do not have the possibility to connect the hsync and vsync signal this all has to work in BT.656 mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I am having issue getting images from the driver. The video for linux drivers hangs waiting for data and after a timeout breaks down the video4 linux pipeline.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;The steps I have taken so far:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;LI&gt;Started with working kernel (boundary-imx_3.10.17_1.0.0_beta) and&lt;/LI&gt;&lt;LI&gt;Made sure that the camera is detected and can be configured over I2C.&lt;/LI&gt;&lt;LI&gt;Built a driver, OV7740.c, based on OV5642.c with the following changes:&lt;OL&gt;&lt;LI&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Replaced modes&amp;nbsp; to generate a 640x480 30 fps data on the OV7740&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Changed the chip_id&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Changed ov7740_data.pix.pixelformat to V4L2_PIX_FMT_YVU420&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Added V4L2 required IOCTL functions&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Sensor is correctly detected on I2C&lt;/LI&gt;&lt;LI&gt;PCLK and XCLK are correct&lt;/LI&gt;&lt;LI&gt;Use tool: mxc_v4l2_capture.out and gstreamer to try to capture sensor data&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;The test encounter DQBUF failed during capturing, the error is as follow:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;ERROR: v4l2 capture: mxc_v4l_dqueue timeout enc_counter 0 VIDIOC_DQBUF failed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;When trying to decipher the video for linux kernel module, it seems that this occurs when the data queue hasn't been filled until a certain timeout. The queue should be filled through the CSI interrupt handler. As I can see it now, it seems that the interrupt is never raised.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I have taken the following link which have similar problem using BT656 mode to capture in progressive mode as a reference:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A _jive_internal="true" data-containerid="2004" data-containertype="14" data-content-finding="Community" data-objectid="309869" data-objecttype="1" href="https://community.nxp.com/thread/309869" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #6a737b;"&gt;https://community.freescale.com/thread/309869&lt;/A&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A _jive_internal="true" data-containerid="2004" data-containertype="14" data-content-finding="Community" data-objectid="95412" data-objecttype="102" href="https://community.nxp.com/docs/DOC-95412" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #6a737b;"&gt;https://community.freescale.com/docs/DOC-95412&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;For more info, below summarize our setting and dumped info to get the CSI BT656 without HSYNC/VSYNC working:&lt;/P&gt;&lt;OL style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;LI&gt;function ioctl_g_ifparm() sets p-&amp;gt;u.bt656.bt_sync_correct = 0:&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 11pt; font-family: Calibri, sans-serif;"&gt;modify the code in mxc_v4l2_s_param(), let csi_param.clk_mode = IPU_CSI_CLK_MODE_CCIR656_PROGRESSIVE&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 11pt; font-family: Calibri, sans-serif;"&gt;The CSI0 connects parallel, IOMUXC_GPR1 = 0x48693005 and &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 11pt;"&gt;IPU_CONF = 0x00000785&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="14010_14010.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/119902iF9CB26D8CEDDA6CF/image-size/large?v=v2&amp;amp;px=999" role="button" title="14010_14010.jpg" alt="14010_14010.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1.JPG.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/45697iB8B9AF17B922B783/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.JPG.jpg" alt="1.JPG.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="14013_14013.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/119903i2B92378E8D9B93EB/image-size/large?v=v2&amp;amp;px=999" role="button" title="14013_14013.jpg" alt="14013_14013.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="2.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/45698iEDCE71F09CA97182/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.jpg" alt="2.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I think this is due to the CSI/IPU not setup properly for BT.656 mode without hsync/vsync signals. Please give some support on how to configure the CSI/IPU with this camera?&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Aug 2014 00:55:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/OV7740-camera-on-I-MX6-using-CSI0-in-BT-656-mode/m-p/354076#M49443</guid>
      <dc:creator>robert_lim</dc:creator>
      <dc:date>2014-08-13T00:55:33Z</dc:date>
    </item>
    <item>
      <title>Re: OV7740 camera on I.MX6 using CSI0 in BT.656 mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/OV7740-camera-on-I-MX6-using-CSI0-in-BT-656-mode/m-p/354077#M49444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert, if there is no EAV/SAV embedded on date line, the VSYNC and HSYNC pins are needed for BT656 input.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Aug 2014 01:43:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/OV7740-camera-on-I-MX6-using-CSI0-in-BT-656-mode/m-p/354077#M49444</guid>
      <dc:creator>qiang_li-mpu_se</dc:creator>
      <dc:date>2014-08-13T01:43:35Z</dc:date>
    </item>
    <item>
      <title>Re: OV7740 camera on I.MX6 using CSI0 in BT.656 mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/OV7740-camera-on-I-MX6-using-CSI0-in-BT-656-mode/m-p/354078#M49445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Qiang Li,&lt;/P&gt;&lt;P&gt;The EAV/SAV was embedded on data line, as shown below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="scope_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/45836iEBB60A2A4BBDF9C8/image-size/large?v=v2&amp;amp;px=999" role="button" title="scope_0.png" alt="scope_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="scope_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/45837iB00A9A2FB1110FF1/image-size/large?v=v2&amp;amp;px=999" role="button" title="scope_1.png" alt="scope_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="scope_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/45839iBF8876537EBDE9AE/image-size/large?v=v2&amp;amp;px=999" role="button" title="scope_2.png" alt="scope_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Robert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Aug 2014 01:13:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/OV7740-camera-on-I-MX6-using-CSI0-in-BT-656-mode/m-p/354078#M49445</guid>
      <dc:creator>robert_lim</dc:creator>
      <dc:date>2014-08-15T01:13:43Z</dc:date>
    </item>
    <item>
      <title>Re: OV7740 camera on I.MX6 using CSI0 in BT.656 mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/OV7740-camera-on-I-MX6-using-CSI0-in-BT-656-mode/m-p/354079#M49446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert, from these waveform, I think it can be supported. How about the CSI_DATA_EN pin? The CSI will capture data only when this pin is active.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By th way, can you help to dump the IPU CSI related registers:&lt;/P&gt;&lt;P&gt;IPUx_CSI0_SENS_CONF&lt;/P&gt;&lt;P&gt;IPUx_CSI0_SENS_FRM_SIZE&lt;/P&gt;&lt;P&gt;IPUx_CSI0_ACT_FRM_SIZE&lt;/P&gt;&lt;P&gt;IPUx_CSI0_OUT_FRM_CTRL&lt;/P&gt;&lt;P&gt;IPUx_CSI0_CCIR_CODE_1&lt;/P&gt;&lt;P&gt;IPUx_CSI0_CCIR_CODE_2&lt;/P&gt;&lt;P&gt;IPUx_CSI0_CCIR_CODE_3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And also dump the IPU IDMAC 0 setting, it can be dumpped from file ipu_param_mem.h, function _ipu_ch_param_dump().&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Aug 2014 03:44:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/OV7740-camera-on-I-MX6-using-CSI0-in-BT-656-mode/m-p/354079#M49446</guid>
      <dc:creator>qiang_li-mpu_se</dc:creator>
      <dc:date>2014-08-15T03:44:51Z</dc:date>
    </item>
    <item>
      <title>Re: OV7740 camera on I.MX6 using CSI0 in BT.656 mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/OV7740-camera-on-I-MX6-using-CSI0-in-BT-656-mode/m-p/354080#M49447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Qiang Li,&lt;/P&gt;&lt;P&gt;Bellows are IPU_CSI and IDMAC related registers and values:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CSI_SENS_CONF = 0x000A0908&lt;/P&gt;&lt;P&gt;CSI_SENS_FRM_SIZE = 0x01DF027F&lt;/P&gt;&lt;P&gt;CSI_ACT_FRM_SIZE = 0x01DF027F&lt;/P&gt;&lt;P&gt;CSI_OUT_FRM_CTRL = 0x00000000&lt;/P&gt;&lt;P&gt;CSI_TST_CTRL = 0x00000000&lt;/P&gt;&lt;P&gt;CSI_CCIR_CODE_1 = 0x00000000&lt;/P&gt;&lt;P&gt;CSI_CCIR_CODE_2 = 0x00000000&lt;/P&gt;&lt;P&gt;CSI_CCIR_CODE_3 = 0x00000000&lt;/P&gt;&lt;P&gt;CSI_MIPI_DI = 0xFFFFFFFF&lt;/P&gt;&lt;P&gt;CSI_SKIP = 0x00000000&lt;/P&gt;&lt;P&gt;CSI_CPD_CTRL = 0x00000000&lt;/P&gt;&lt;P&gt;CSI_CPD_RC = 0x00000000&lt;/P&gt;&lt;P&gt;CSI_CPD_RS = 0x00000000&lt;/P&gt;&lt;P&gt;CSI_CPD_GRC = 0x00000000&lt;/P&gt;&lt;P&gt;CSI_CPD_GRS = 0x00000000&lt;/P&gt;&lt;P&gt;CSI_CPD_GBC = 0x00000000&lt;/P&gt;&lt;P&gt;CSI_CPD_GBS = 0x00000000&lt;/P&gt;&lt;P&gt;CSI_CPD_BC = 0x00000000&lt;/P&gt;&lt;P&gt;CSI_CPD_BS = 0x00000000&lt;/P&gt;&lt;P&gt;CSI_CPD_OFFSET1 = 0x00000000&lt;/P&gt;&lt;P&gt;CSI_CPD_OFFSET2 = 0x00000000&lt;/P&gt;&lt;P&gt;IPU_CONF = 0x00000680&lt;/P&gt;&lt;P&gt;IDMAC_CONF = 0x0000002F&lt;/P&gt;&lt;P&gt;IDMAC_CHA_EN1 = 0x10000000&lt;/P&gt;&lt;P&gt;IDMAC_CHA_EN2 = 0x00000000&lt;/P&gt;&lt;P&gt;IDMAC_CHA_PRI1 = 0x18800001&lt;/P&gt;&lt;P&gt;IDMAC_CHA_PRI2 = 0x00000000&lt;/P&gt;&lt;P&gt;IDMAC_BAND_EN1 = 0x00000000&lt;/P&gt;&lt;P&gt;IDMAC_BAND_EN2 = 0x00000000&lt;/P&gt;&lt;P&gt;IPU_CHA_DB_MODE_SEL0 = 0x00000000&lt;/P&gt;&lt;P&gt;IPU_CHA_DB_MODE_SEL1 = 0x00000000&lt;/P&gt;&lt;P&gt;IPU_CHA_TRB_MODE_SEL0 = 0x10000000&lt;/P&gt;&lt;P&gt;IPU_CHA_TRB_MODE_SEL1 = 0x00000000&lt;/P&gt;&lt;P&gt;DMFC_WR_CHAN = 0x00000090&lt;/P&gt;&lt;P&gt;DMFC_WR_CHAN_DEF = 0x202020F6&lt;/P&gt;&lt;P&gt;DMFC_DP_CHAN = 0x0000968A&lt;/P&gt;&lt;P&gt;DMFC_DP_CHAN_DEF = 0x2020F6F6&lt;/P&gt;&lt;P&gt;DMFC_IC_CTRL = 0x00000002&lt;/P&gt;&lt;P&gt;IPU_FS_PROC_FLOW1 = 0x00000000&lt;/P&gt;&lt;P&gt;IPU_FS_PROC_FLOW2 = 0x00000000&lt;/P&gt;&lt;P&gt;IPU_FS_PROC_FLOW3 = 0x00000000&lt;/P&gt;&lt;P&gt;IPU_FS_DISP_FLOW1 = 0x00000000&lt;/P&gt;&lt;P&gt;IPU_VDIC_VDI_FSIZE = 0x00000000&lt;/P&gt;&lt;P&gt;IPU_VDIC_VDI_C = 0x00000000&lt;/P&gt;&lt;P&gt;IPU_IC_CONF = 0x00000000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks for your help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Robert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Aug 2014 05:32:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/OV7740-camera-on-I-MX6-using-CSI0-in-BT-656-mode/m-p/354080#M49447</guid>
      <dc:creator>robert_lim</dc:creator>
      <dc:date>2014-08-15T05:32:14Z</dc:date>
    </item>
    <item>
      <title>Re: OV7740 camera on I.MX6 using CSI0 in BT.656 mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/OV7740-camera-on-I-MX6-using-CSI0-in-BT-656-mode/m-p/354081#M49448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert, from your setting,I had found the followed issues:&lt;/P&gt;&lt;P&gt;In CSI_SENS_CONF, CSI0_DATA_DEST should be 0x2, destination is IDMAC via SMFC.&lt;/P&gt;&lt;P&gt;In CSI_SENS_FRM_SIZE, it should include blank data of VSYNC and HSYNC, so it is not same as CSI_ACT_FRM_SIZE.&lt;/P&gt;&lt;P&gt;In CSI_CCIR_CODE_X registes, they should not be 0, please check ipu_capture.c, function ipu_csi_init_interface():&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; /* Set CCIR registers */&lt;/P&gt;&lt;P&gt; if (cfg_param.clk_mode == IPU_CSI_CLK_MODE_CCIR656_PROGRESSIVE) {&lt;/P&gt;&lt;P&gt;&amp;nbsp; ipu_csi_write(ipu, csi, 0x40030, CSI_CCIR_CODE_1);&lt;/P&gt;&lt;P&gt;&amp;nbsp; ipu_csi_write(ipu, csi, 0xFF0000, CSI_CCIR_CODE_3);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Aug 2014 06:18:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/OV7740-camera-on-I-MX6-using-CSI0-in-BT-656-mode/m-p/354081#M49448</guid>
      <dc:creator>qiang_li-mpu_se</dc:creator>
      <dc:date>2014-08-15T06:18:26Z</dc:date>
    </item>
    <item>
      <title>Re: OV7740 camera on I.MX6 using CSI0 in BT.656 mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/OV7740-camera-on-I-MX6-using-CSI0-in-BT-656-mode/m-p/354082#M49449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Qiang Li,&lt;/P&gt;&lt;P&gt;Re-dump the registers as below :&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CSI_SENS_CONF = 0x04000928&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CSI_SENS_FRM_SIZE = 0x01DF027F&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CSI_ACT_FRM_SIZE = 0x01DF027F&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;CSI_OUT_FRM_CTRL = 0x00000000&lt;/P&gt;&lt;P&gt;CSI_TST_CTRL = 0x00000000&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CSI_CCIR_CODE_1 = 0x00040030&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CSI_CCIR_CODE_2 = 0x00000000&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CSI_CCIR_CODE_3 = 0x00FF0000&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;CSI_MIPI_DI = 0xFFFFFFFF&lt;/P&gt;&lt;P&gt;CSI_SKIP = 0x00000000&lt;/P&gt;&lt;P&gt;CSI_CPD_CTRL = 0x00000000&lt;/P&gt;&lt;P&gt;CSI_CPD_RC = 0x00000000&lt;/P&gt;&lt;P&gt;CSI_CPD_RS = 0x00000000&lt;/P&gt;&lt;P&gt;CSI_CPD_GRC = 0x00000000&lt;/P&gt;&lt;P&gt;CSI_CPD_GRS = 0x00000000&lt;/P&gt;&lt;P&gt;CSI_CPD_GBC = 0x00000000&lt;/P&gt;&lt;P&gt;CSI_CPD_GBS = 0x00000000&lt;/P&gt;&lt;P&gt;CSI_CPD_BC = 0x00000000&lt;/P&gt;&lt;P&gt;CSI_CPD_BS = 0x00000000&lt;/P&gt;&lt;P&gt;CSI_CPD_OFFSET1 = 0x00000000&lt;/P&gt;&lt;P&gt;CSI_CPD_OFFSET2 = 0x00000000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IPU_CONF = 0x00000781&lt;/P&gt;&lt;P&gt;IDMAC_CONF = 0x0000002F&lt;/P&gt;&lt;P&gt;IDMAC_CHA_EN1 = 0x10000001&lt;/P&gt;&lt;P&gt;IDMAC_CHA_EN2 = 0x00000000&lt;/P&gt;&lt;P&gt;IDMAC_CHA_PRI1 = 0x18800001&lt;/P&gt;&lt;P&gt;IDMAC_CHA_PRI2 = 0x00000000&lt;/P&gt;&lt;P&gt;IDMAC_BAND_EN1 = 0x00000000&lt;/P&gt;&lt;P&gt;IDMAC_BAND_EN2 = 0x00000000&lt;/P&gt;&lt;P&gt;IPU_CHA_DB_MODE_SEL0 = 0x00000001&lt;/P&gt;&lt;P&gt;IPU_CHA_DB_MODE_SEL1 = 0x00000000&lt;/P&gt;&lt;P&gt;IPU_CHA_TRB_MODE_SEL0 = 0x10000000&lt;/P&gt;&lt;P&gt;IPU_CHA_TRB_MODE_SEL1 = 0x00000000&lt;/P&gt;&lt;P&gt;DMFC_WR_CHAN = 0x00000090&lt;/P&gt;&lt;P&gt;DMFC_WR_CHAN_DEF = 0x202020F6&lt;/P&gt;&lt;P&gt;DMFC_DP_CHAN = 0x0000968A&lt;/P&gt;&lt;P&gt;DMFC_DP_CHAN_DEF = 0x2020F6F6&lt;/P&gt;&lt;P&gt;DMFC_IC_CTRL = 0x00000002&lt;/P&gt;&lt;P&gt;IPU_FS_PROC_FLOW1 = 0x00000000&lt;/P&gt;&lt;P&gt;IPU_FS_PROC_FLOW2 = 0x00000000&lt;/P&gt;&lt;P&gt;IPU_FS_PROC_FLOW3 = 0x00000000&lt;/P&gt;&lt;P&gt;IPU_FS_DISP_FLOW1 = 0x00000000&lt;/P&gt;&lt;P&gt;IPU_VDIC_VDI_FSIZE = 0x00000000&lt;/P&gt;&lt;P&gt;IPU_VDIC_VDI_C = 0x00000000&lt;/P&gt;&lt;P&gt;IPU_IC_CONF = 0x00000000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica','sans-serif'; color: #666666;"&gt;CSI_SENS_CONF, CSI0_DATA_DEST is 0x2 (destination is IDMAC via SMFC) now.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica','sans-serif'; color: #666666;"&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica','sans-serif'; color: #666666;"&gt;CSI_CCIR_CODE_X &lt;/SPAN&gt;are not 0 now.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica','sans-serif'; color: #666666;"&gt;But &lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica','sans-serif'; color: #666666;"&gt;CSI_SENS_FRM_SIZE&lt;/SPAN&gt; is still same with &lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica','sans-serif'; color: #666666;"&gt;CSI_ACT_FRM_SIZE&lt;/SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica','sans-serif'; color: #666666;"&gt;Need your advices on how to correct this part, thanks in advanced!&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I am using BT656 mode without external VSYNC and HSYNC, should &lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica','sans-serif'; color: #666666;"&gt;CSI_SENS_FRM_SIZE&lt;/SPAN&gt;&lt;SPAN style="color: #666666; font-family: Helvetica, sans-serif; font-size: 14px;"&gt; &lt;/SPAN&gt; still be included blank data of VSYNC and HSYNC?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Robert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Aug 2014 06:41:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/OV7740-camera-on-I-MX6-using-CSI0-in-BT-656-mode/m-p/354082#M49449</guid>
      <dc:creator>robert_lim</dc:creator>
      <dc:date>2014-08-15T06:41:08Z</dc:date>
    </item>
    <item>
      <title>Re: OV7740 camera on I.MX6 using CSI0 in BT.656 mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/OV7740-camera-on-I-MX6-using-CSI0-in-BT-656-mode/m-p/354083#M49450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert, yes, CSI_SENS_FRM_SIZE should include blank data.&lt;/P&gt;&lt;P&gt;In mxc_v4l2_capture.c, the default code can only support 2 BT656 format, NTSC and PAL, you should add the other formats for OV7740. The raw_width and raw_height are the setting in CSI_SENS_FRM_SIZE, the active_width and the active_height are the setting in CSI_SENS_ACT_SIZE. And in this setting, in your ov7740 probe function, you should set ov7740_data.sen.pix.priv = 1;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ov7740_data.sen.pix.priv = 1;&amp;nbsp; /* 1 is used to indicate TV in */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;static video_fmt_t video_fmts[] = {&lt;/P&gt;&lt;P&gt; {&amp;nbsp;&amp;nbsp; /*! NTSC */&lt;/P&gt;&lt;P&gt;&amp;nbsp; .v4l2_id = V4L2_STD_NTSC,&lt;/P&gt;&lt;P&gt;&amp;nbsp; .name = "NTSC",&lt;/P&gt;&lt;P&gt;&amp;nbsp; .raw_width = 720,&amp;nbsp; /* SENS_FRM_WIDTH */&lt;/P&gt;&lt;P&gt;&amp;nbsp; .raw_height = 525,&amp;nbsp; /* SENS_FRM_HEIGHT */&lt;/P&gt;&lt;P&gt;&amp;nbsp; .active_width = 720,&amp;nbsp; /* ACT_FRM_WIDTH */&lt;/P&gt;&lt;P&gt;&amp;nbsp; .active_height = 480,&amp;nbsp; /* ACT_FRM_HEIGHT */&lt;/P&gt;&lt;P&gt;&amp;nbsp; .active_top = 13,&lt;/P&gt;&lt;P&gt;&amp;nbsp; .active_left = 0,&lt;/P&gt;&lt;P&gt;&amp;nbsp; },&lt;/P&gt;&lt;P&gt; {&amp;nbsp;&amp;nbsp; /*! (B, G, H, I, N) PAL */&lt;/P&gt;&lt;P&gt;&amp;nbsp; .v4l2_id = V4L2_STD_PAL,&lt;/P&gt;&lt;P&gt;&amp;nbsp; .name = "PAL",&lt;/P&gt;&lt;P&gt;&amp;nbsp; .raw_width = 720,&lt;/P&gt;&lt;P&gt;&amp;nbsp; .raw_height = 625,&lt;/P&gt;&lt;P&gt;&amp;nbsp; .active_width = 720,&lt;/P&gt;&lt;P&gt;&amp;nbsp; .active_height = 576,&lt;/P&gt;&lt;P&gt;&amp;nbsp; .active_top = 0,&lt;/P&gt;&lt;P&gt;&amp;nbsp; .active_left = 0,&lt;/P&gt;&lt;P&gt;&amp;nbsp; },&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Aug 2014 06:58:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/OV7740-camera-on-I-MX6-using-CSI0-in-BT-656-mode/m-p/354083#M49450</guid>
      <dc:creator>qiang_li-mpu_se</dc:creator>
      <dc:date>2014-08-15T06:58:12Z</dc:date>
    </item>
    <item>
      <title>Re: Re: OV7740 camera on I.MX6 using CSI0 in BT.656 mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/OV7740-camera-on-I-MX6-using-CSI0-in-BT-656-mode/m-p/354084#M49451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Qiang Li,&lt;/P&gt;&lt;P&gt;For further confirmation, meaning I should add/modify the following codes in ov7740.c?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;static video_fmt_idx video_idx = OV7740_PAL;&amp;nbsp; &amp;lt;-- Pick PAL as example.&lt;/P&gt;&lt;P&gt;typedef enum {&lt;/P&gt;&lt;P&gt;&amp;nbsp; OV7740_NTSC = 0, /*!&amp;lt; Locked on (M) NTSC video signal. */&lt;/P&gt;&lt;P&gt;&amp;nbsp; OV7740_PAL, /*!&amp;lt; (B, G, H, I, N)PAL video signal. */&lt;/P&gt;&lt;P&gt;} video_fmt_idx;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;static video_fmt_t video_fmts[] = {&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;{&amp;nbsp;&amp;nbsp; /*! NTSC */&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; .v4l2_id = V4L2_STD_NTSC,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; .name = "NTSC",&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; .raw_width = 720,&amp;nbsp; /* SENS_FRM_WIDTH */&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; .raw_height = 525,&amp;nbsp; /* SENS_FRM_HEIGHT */&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; .active_width = 720,&amp;nbsp; /* ACT_FRM_WIDTH */&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; .active_height = 480,&amp;nbsp; /* ACT_FRM_HEIGHT */&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; .active_top = 13,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; .active_left = 0,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; },&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;{&amp;nbsp;&amp;nbsp; /*! (B, G, H, I, N) PAL */&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; .v4l2_id = V4L2_STD_PAL,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; .name = "PAL",&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; .raw_width = 720,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; .raw_height = 625,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; .active_width = 720,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; .active_height = 576,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; .active_top = 0,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; .active_left = 0,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; },&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;In probe function:&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;ov7740_data.sen.pix.width = video_fmts[video_idx].raw_width;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;ov7740_data.sen.pix.height = video_fmts[video_idx].raw_height;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;ov7740_data.sen.pix.pixelformat = V4L2_PIX_FMT_UYVY;&amp;nbsp; /* YUV422 */&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;ov7740_data.sen.pix.priv = 1;&amp;nbsp; /* 1 is used to indicate TV in */&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;ov7740_data.sen.on = true;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following are original codes from my implementation:&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;ov7740_data.pix.pixelformat = V4L2_PIX_FMT_YUYV;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;ov7740_data.pix.width = 640;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;ov7740_data.pix.height = 480;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was fixed the width = 640 and height = 480 as in ov5642.c, and n&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;o data.sen.pix.priv was set.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Robert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Aug 2014 07:27:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/OV7740-camera-on-I-MX6-using-CSI0-in-BT-656-mode/m-p/354084#M49451</guid>
      <dc:creator>robert_lim</dc:creator>
      <dc:date>2014-08-15T07:27:32Z</dc:date>
    </item>
    <item>
      <title>Re: Re: OV7740 camera on I.MX6 using CSI0 in BT.656 mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/OV7740-camera-on-I-MX6-using-CSI0-in-BT-656-mode/m-p/354085#M49452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For the BT656 input with EAV/SAV, you should reference to the TVin driver, such as the adv7180.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Aug 2014 09:20:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/OV7740-camera-on-I-MX6-using-CSI0-in-BT-656-mode/m-p/354085#M49452</guid>
      <dc:creator>qiang_li-mpu_se</dc:creator>
      <dc:date>2014-08-15T09:20:41Z</dc:date>
    </item>
    <item>
      <title>Re: OV7740 camera on I.MX6 using CSI0 in BT.656 mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/OV7740-camera-on-I-MX6-using-CSI0-in-BT-656-mode/m-p/354086#M49453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Qiang Li,&lt;/P&gt;&lt;P&gt;ov7740 is a digital camera, it support only VGA, QVGA, CIF and any size smaller. Adv7180 is a analog divice which support NTSC and PAL mode. Your suggestion is to add NTSC and PAL supports for ov7740, because i&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;n mxc_v4l2_capture.c, the default code can only support 2 BT656 format-- NTSC and PAL. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To make it works, Is it possible to force the digital camera to support analog format? Or is it an easier way to change &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;mxc_v4l2_capture.c&lt;/SPAN&gt; to support VGA for BT656 format than transform digital to analog format? From &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;mxc_v4l2_capture.c I found that only mxc_v4l2_s_std() function implements for these modes. Not sure if the video for linux layer support only PAL and NTSC for BT656?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advanced for your advice. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Robert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Aug 2014 08:15:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/OV7740-camera-on-I-MX6-using-CSI0-in-BT-656-mode/m-p/354086#M49453</guid>
      <dc:creator>robert_lim</dc:creator>
      <dc:date>2014-08-18T08:15:10Z</dc:date>
    </item>
    <item>
      <title>Re: OV7740 camera on I.MX6 using CSI0 in BT.656 mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/OV7740-camera-on-I-MX6-using-CSI0-in-BT-656-mode/m-p/354087#M49454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My suggestion is to add new formats for your camera sensor, just reference to the current PAL and NTSC.&lt;/P&gt;&lt;P&gt;In fact, I think the key point is that you should set CSI_SENS_FRM_SIZE with blank size, if you use the default camera sensor driver code, the CSI_SENS_FRM_SIZE will be set to same as CSI_SENS_ACT_SIZE.&lt;/P&gt;&lt;P&gt;For test, I think you can also hardcoding the CSI_SENS_FRM_SIZE. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Aug 2014 08:26:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/OV7740-camera-on-I-MX6-using-CSI0-in-BT-656-mode/m-p/354087#M49454</guid>
      <dc:creator>qiang_li-mpu_se</dc:creator>
      <dc:date>2014-08-18T08:26:47Z</dc:date>
    </item>
    <item>
      <title>Re: OV7740 camera on I.MX6 using CSI0 in BT.656 mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/OV7740-camera-on-I-MX6-using-CSI0-in-BT-656-mode/m-p/354088#M49455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Robert&lt;/P&gt;&lt;P&gt;Has the issue resolved? If yes, please close this DI and other one with the same title.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Yixing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Sep 2014 03:30:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/OV7740-camera-on-I-MX6-using-CSI0-in-BT-656-mode/m-p/354088#M49455</guid>
      <dc:creator>YixingKong</dc:creator>
      <dc:date>2014-09-02T03:30:03Z</dc:date>
    </item>
    <item>
      <title>Re: OV7740 camera on I.MX6 using CSI0 in BT.656 mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/OV7740-camera-on-I-MX6-using-CSI0-in-BT-656-mode/m-p/354089#M49456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yixing and QiangLi,&lt;/P&gt;&lt;P&gt;Thanks to all the advices, I have followed the suggestions but it was still not working on my system. Instead of keeping trial and error that behind my schedule, we added Vsync to make it works so as to go to the next work. But it just a workaround so that we can start with subsequent works, the product is stick to use BT656 without Vsync/Hsync, I will have to solve this problem in the future, it would be great if the issue is still open. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Robert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2014 02:08:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/OV7740-camera-on-I-MX6-using-CSI0-in-BT-656-mode/m-p/354089#M49456</guid>
      <dc:creator>robert_lim</dc:creator>
      <dc:date>2014-09-03T02:08:04Z</dc:date>
    </item>
    <item>
      <title>Re: OV7740 camera on I.MX6 using CSI0 in BT.656 mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/OV7740-camera-on-I-MX6-using-CSI0-in-BT-656-mode/m-p/354090#M49457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;LI Qiang, the customer still could not get the camera working. Do you have any more suggestion?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Yixing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2014 03:46:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/OV7740-camera-on-I-MX6-using-CSI0-in-BT-656-mode/m-p/354090#M49457</guid>
      <dc:creator>YixingKong</dc:creator>
      <dc:date>2014-09-03T03:46:20Z</dc:date>
    </item>
    <item>
      <title>Re: OV7740 camera on I.MX6 using CSI0 in BT.656 mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/OV7740-camera-on-I-MX6-using-CSI0-in-BT-656-mode/m-p/354091#M49458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert, you can also reference to that link: &lt;A _jive_internal="true" href="https://community.nxp.com/thread/295157"&gt;https://community.freescale.com/thread/295157&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In that link, we verified iMX53 CSI without VSYNC and HSYNC connected (720x480P with BT1120). Currently we have no iMX6 reference board which can support BT656 progressive input, but the iMX6 and iMX5 CSI are same.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2014 03:53:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/OV7740-camera-on-I-MX6-using-CSI0-in-BT-656-mode/m-p/354091#M49458</guid>
      <dc:creator>qiang_li-mpu_se</dc:creator>
      <dc:date>2014-09-03T03:53:42Z</dc:date>
    </item>
    <item>
      <title>Re: OV7740 camera on I.MX6 using CSI0 in BT.656 mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/OV7740-camera-on-I-MX6-using-CSI0-in-BT-656-mode/m-p/354092#M49459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks QiangLi,&lt;/P&gt;&lt;P&gt;Currently I am using &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;VSYNC and HSYNC connected&lt;/SPAN&gt; for BT656. I will try this and update status here afterwards :smileyhappy: &lt;/P&gt;&lt;P&gt;Appreciate your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Robert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Sep 2014 02:31:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/OV7740-camera-on-I-MX6-using-CSI0-in-BT-656-mode/m-p/354092#M49459</guid>
      <dc:creator>robert_lim</dc:creator>
      <dc:date>2014-09-05T02:31:56Z</dc:date>
    </item>
    <item>
      <title>Re: OV7740 camera on I.MX6 using CSI0 in BT.656 mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/OV7740-camera-on-I-MX6-using-CSI0-in-BT-656-mode/m-p/354093#M49460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you update ?&lt;/P&gt;&lt;P&gt;I have the same problem !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks :smileyhappy:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Oct 2014 13:19:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/OV7740-camera-on-I-MX6-using-CSI0-in-BT-656-mode/m-p/354093#M49460</guid>
      <dc:creator>pchevalier</dc:creator>
      <dc:date>2014-10-15T13:19:27Z</dc:date>
    </item>
    <item>
      <title>Re: OV7740 camera on I.MX6 using CSI0 in BT.656 mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/OV7740-camera-on-I-MX6-using-CSI0-in-BT-656-mode/m-p/354094#M49461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Robert,&lt;/P&gt;&lt;P&gt;I do have the same OV7740 sensor, and even with VSYNC and HSYNC connected I am unable to get any picture, i get the same error "mxc_v4l_dqueue timeout enc_counter 0 VIDIOC_DQBUF failed"&lt;/P&gt;&lt;P&gt;Could you share your source code it could really help me&lt;/P&gt;&lt;P&gt;Thank you for your help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aurelien&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2015 11:26:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/OV7740-camera-on-I-MX6-using-CSI0-in-BT-656-mode/m-p/354094#M49461</guid>
      <dc:creator>aurelienbouin</dc:creator>
      <dc:date>2015-03-10T11:26:28Z</dc:date>
    </item>
    <item>
      <title>Re: OV7740 camera on I.MX6 using CSI0 in BT.656 mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/OV7740-camera-on-I-MX6-using-CSI0-in-BT-656-mode/m-p/354095#M49462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;I am really unable to get any data from my sensor ... I use this configuration in dts :&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt; &lt;/TD&gt;&lt;TD&gt; MX6QDL_PAD_CSI0_DAT12__IPU1_CSI0_DATA12&lt;/TD&gt;&lt;TD&gt;0x80000000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt; MX6QDL_PAD_CSI0_DAT13__IPU1_CSI0_DATA13&lt;/TD&gt;&lt;TD&gt;0x80000000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt; MX6QDL_PAD_CSI0_DAT14__IPU1_CSI0_DATA14&lt;/TD&gt;&lt;TD&gt;0x80000000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt; MX6QDL_PAD_CSI0_DAT15__IPU1_CSI0_DATA15&lt;/TD&gt;&lt;TD&gt;0x80000000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt; MX6QDL_PAD_CSI0_DAT16__IPU1_CSI0_DATA16&lt;/TD&gt;&lt;TD&gt;0x80000000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt; MX6QDL_PAD_CSI0_DAT17__IPU1_CSI0_DATA17&lt;/TD&gt;&lt;TD&gt;0x80000000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt; MX6QDL_PAD_CSI0_DAT18__IPU1_CSI0_DATA18&lt;/TD&gt;&lt;TD&gt;0x80000000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt; MX6QDL_PAD_CSI0_DAT19__IPU1_CSI0_DATA19&lt;/TD&gt;&lt;TD&gt;0x80000000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt; MX6QDL_PAD_CSI0_DATA_EN__IPU1_CSI0_DATA_EN &lt;/TD&gt;&lt;TD&gt;0x80000000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt; MX6QDL_PAD_CSI0_PIXCLK__IPU1_CSI0_PIXCLK&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;0x80000000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt; MX6QDL_PAD_CSI0_MCLK__IPU1_CSI0_HSYNC&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;0x80000000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt; MX6QDL_PAD_CSI0_VSYNC__IPU1_CSI0_VSYNC &lt;/TD&gt;&lt;TD&gt;0x80000000&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;Here is my driver for ov7740 : &lt;A href="http://pastebin.com/CDChJH55" title="http://pastebin.com/CDChJH55"&gt;ov7740.c - Pastebin.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I keep getting : ERROR: v4l2 capture: mxc_v4l_dqueue timeout enc_counter 0&lt;/P&gt;&lt;P&gt;Here is a log if it can help solved the problem : &lt;A href="http://pastebin.com/328M7EMK" title="http://pastebin.com/328M7EMK"&gt;http://pastebin.com/328M7EMK&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I checked on the pins signals everything seemsnormal ... pixclock is here&lt;/P&gt;&lt;P&gt;Thank you for your support,&lt;/P&gt;&lt;P&gt;Sincerely&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aurelien BOUIN&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Mar 2015 14:55:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/OV7740-camera-on-I-MX6-using-CSI0-in-BT-656-mode/m-p/354095#M49462</guid>
      <dc:creator>aurelienbouin</dc:creator>
      <dc:date>2015-03-13T14:55:23Z</dc:date>
    </item>
  </channel>
</rss>

