<?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: i.mx6ul CSI receive interlace ccir656 video issue</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-mx6ul-CSI-receive-interlace-ccir656-video-issue/m-p/730999#M113700</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi frank&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;had you tried ADV7180 patch.&lt;/P&gt;&lt;P&gt;Unfortunately I am not aware of additional documentation for CSI&lt;/P&gt;&lt;P&gt;deinterlacing registers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Apr 2018 08:47:00 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2018-04-17T08:47:00Z</dc:date>
    <item>
      <title>i.mx6ul CSI receive interlace ccir656 video issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-mx6ul-CSI-receive-interlace-ccir656-video-issue/m-p/730994#M113695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I'm developing a&amp;nbsp;project based on imx6ul and using csi driver example from SDK not linux version. My hardware looks like below illustration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;analog camera -&amp;gt; TW9900(ccir656 720x480 out) -&amp;gt; imx6ul csi -&amp;gt; imx6 pxp&amp;nbsp; -&amp;gt; ch7026 -&amp;gt; cvbs out&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I already verified this path &lt;STRONG&gt;"&lt;/STRONG&gt;&lt;SPAN&gt;&lt;STRONG&gt;imx6 pxp&amp;nbsp; -&amp;gt; ch7026 -&amp;gt; cvbs out"&lt;/STRONG&gt; by inputting fixed color array data and it works fine.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Image 4.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/8191iFF7723C20A1D6189/image-size/large?v=v2&amp;amp;px=999" role="button" title="Image 4.png" alt="Image 4.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But when I use CSI function to get video data from tw9900 connecting with an analog camera, cvbs&amp;nbsp;out can't show stable video on the monitor as below.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Image 1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/8110i606ADA5059CE7A96/image-size/large?v=v2&amp;amp;px=999" role="button" title="Image 1.png" alt="Image 1.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I check with TW9900 FAE, he feedbacks me below information&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; color: #1f497d;"&gt;ITU-R BT.656 for the 525-line system has 244 video active lines&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; color: #1f497d;"&gt;in odd field and 243 video active lines in even field. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; color: #1f497d;"&gt;TW9900 doesn’t do any de-interlacing and its output is &lt;SPAN style="text-decoration: underline; font-size: 30px;"&gt;&lt;STRONG&gt;interlaced.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also check CSI example code from SDK, it mentions below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Image 6.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/8267i93FE10E350557D08/image-size/large?v=v2&amp;amp;px=999" role="button" title="Image 6.png" alt="Image 6.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="text-decoration: underline; font-size: 22px;"&gt;CSI work mode: The CCIR656 interlace mode is not supported currently&lt;/SPAN&gt;.:smileycry:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I solve this issue?&lt;/P&gt;&lt;P&gt;TW9900 only outputs interlace mode but imx6 doesn't support interlace mode.&lt;/P&gt;&lt;P&gt;Does anyone know how to setting interlace mode on imx6 CSI function?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2018 11:35:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-mx6ul-CSI-receive-interlace-ccir656-video-issue/m-p/730994#M113695</guid>
      <dc:creator>frank_chiang</dc:creator>
      <dc:date>2018-04-13T11:35:24Z</dc:date>
    </item>
    <item>
      <title>Re: i.mx6ul CSI receive interlace ccir656 video issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-mx6ul-CSI-receive-interlace-ccir656-video-issue/m-p/730995#M113696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi frank&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not aware of non-linux CSI CCIR656 interlace mode examples,&lt;/P&gt;&lt;P&gt;in general one can check description in Reference Manual of&lt;/P&gt;&lt;P&gt;CSI_CSICR18 bit BIT_DEINTERLACE_EN, setting stride&lt;BR /&gt;DEINTERLACE_STRIDE register CSI_CSIFBUF_PARA, and can look at&lt;BR /&gt;driver sorces in linux/drivers/media/platform/mxc/subdev/mx6s_capture.c&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/media/platform/mxc/subdev/mx6s_capture.c?h=imx_4.1.15_2.0.0_ga" title="https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/media/platform/mxc/subdev/mx6s_capture.c?h=imx_4.1.15_2.0.0_ga"&gt;mx6s_capture.c\subdev\mxc\platform\media\drivers - linux-imx - i.MX Linux kernel&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Apr 2018 22:49:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-mx6ul-CSI-receive-interlace-ccir656-video-issue/m-p/730995#M113696</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2018-04-15T22:49:19Z</dc:date>
    </item>
    <item>
      <title>Re: i.mx6ul CSI receive interlace ccir656 video issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-mx6ul-CSI-receive-interlace-ccir656-video-issue/m-p/730996#M113697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igorpadykov,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WE had check this patch code&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="link-titled" href="https://community.nxp.com/servlet/JiveServlet/download/938610-1-408901/0001-Enable-CSI-support-BT656-interlace-and-add-adv7180.patch.zip" title="https://community.nxp.com/servlet/JiveServlet/download/938610-1-408901/0001-Enable-CSI-support-BT656-interlace-and-add-adv7180.patch.zip"&gt;https://community.nxp.com/servlet/JiveServlet/download/938610-1-408901/0001-Enable-CSI-support-BT656-interlace-and-add-a…&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WE know ADV7180 is work in interlace mode.&lt;/P&gt;&lt;P&gt;But we don't seet bit27 set to 1 in&amp;nbsp;CSI_CSICR1 REG&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does any CCIR656 interlace step by step guide ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2018 12:22:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-mx6ul-CSI-receive-interlace-ccir656-video-issue/m-p/730996#M113697</guid>
      <dc:creator>Danube</dc:creator>
      <dc:date>2018-04-16T12:22:10Z</dc:date>
    </item>
    <item>
      <title>Re: i.mx6ul CSI receive interlace ccir656 video issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-mx6ul-CSI-receive-interlace-ccir656-video-issue/m-p/730997#M113698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Hi igorpadykov,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;I try to set some bits as below. But it still doesn't work.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;BTW, TW9900 uses 27MHz external crystal. Originally EVB uses OV5640 and it&amp;nbsp;use24MHz.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Do you have any idea how solve this issue?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. CSI_CSICR1&lt;/P&gt;&lt;P&gt;bit27 =&amp;gt; 1&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/11543iA7D2C2ED6B5AE2D2/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. CSI_CSIFBBUF_PARA&lt;/P&gt;&lt;P&gt;bit 31-16 :&amp;nbsp;(720*2) / 8&amp;nbsp;&lt;/P&gt;&lt;P&gt;bit 15-0 :&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;(720*2) / 8&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="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/11776iBCE0A0C2D441D6BD/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;3.CSI_CSICR18&lt;/P&gt;&lt;P&gt;bit2 : 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/11936i87D2DA43A7A2785B/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2018 19:04:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-mx6ul-CSI-receive-interlace-ccir656-video-issue/m-p/730997#M113698</guid>
      <dc:creator>frank_chiang</dc:creator>
      <dc:date>2018-04-16T19:04:18Z</dc:date>
    </item>
    <item>
      <title>Re: i.mx6ul CSI receive interlace ccir656 video issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-mx6ul-CSI-receive-interlace-ccir656-video-issue/m-p/730998#M113699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Hi Igorpadykov,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;It's mention of deinterlacing function in the specification as below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/12005iA1F23B5C075E86DC/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/12116i5340EA23108FF250/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;So I think just need setting some registers. But I totally have not idea how to do it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2018 19:58:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-mx6ul-CSI-receive-interlace-ccir656-video-issue/m-p/730998#M113699</guid>
      <dc:creator>frank_chiang</dc:creator>
      <dc:date>2018-04-16T19:58:59Z</dc:date>
    </item>
    <item>
      <title>Re: i.mx6ul CSI receive interlace ccir656 video issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-mx6ul-CSI-receive-interlace-ccir656-video-issue/m-p/730999#M113700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi frank&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;had you tried ADV7180 patch.&lt;/P&gt;&lt;P&gt;Unfortunately I am not aware of additional documentation for CSI&lt;/P&gt;&lt;P&gt;deinterlacing registers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2018 08:47:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-mx6ul-CSI-receive-interlace-ccir656-video-issue/m-p/730999#M113700</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2018-04-17T08:47:00Z</dc:date>
    </item>
    <item>
      <title>Re: i.mx6ul CSI receive interlace ccir656 video issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-mx6ul-CSI-receive-interlace-ccir656-video-issue/m-p/731000#M113701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi igorpadykov&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, I have tried&amp;nbsp;the ADV7180 patch&amp;nbsp;to use the different settings on my platform.&lt;/P&gt;&lt;P&gt;I find out some confusing registers setting as below. But I can't get more information about this register.&lt;/P&gt;&lt;P&gt;Where can I get more information&amp;nbsp;about register setting?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/17560i1C1C9E4B9CF8ADB1/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2018 18:24:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-mx6ul-CSI-receive-interlace-ccir656-video-issue/m-p/731000#M113701</guid>
      <dc:creator>frank_chiang</dc:creator>
      <dc:date>2018-04-17T18:24:26Z</dc:date>
    </item>
    <item>
      <title>Re: i.mx6ul CSI receive interlace ccir656 video issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-mx6ul-CSI-receive-interlace-ccir656-video-issue/m-p/731001#M113702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Frank,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you manage to get the interlaced video input working? I am using the ADV7280M with an iMX7 (doesn't have an IPU) and have reached a similar issue. I can get a stable image using a PAL camera input, but only when CCIR is NOT enabled. The problem is that I get 2 images, one on top of each other, due to the interlaced video. When I try and enable CCIR / Interlaced mode everything stops and I can't capture anything.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2018 14:32:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-mx6ul-CSI-receive-interlace-ccir656-video-issue/m-p/731001#M113702</guid>
      <dc:creator>dh29</dc:creator>
      <dc:date>2018-07-02T14:32:12Z</dc:date>
    </item>
    <item>
      <title>Re: i.mx6ul CSI receive interlace ccir656 video issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-mx6ul-CSI-receive-interlace-ccir656-video-issue/m-p/1314065#M177536</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/157338"&gt;@frank_chiang&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I had success capture video interlaced ccir656. But how to control imx6 pxp to&amp;nbsp; output analog video like your image?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jul 2021 18:57:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-mx6ul-CSI-receive-interlace-ccir656-video-issue/m-p/1314065#M177536</guid>
      <dc:creator>hoanganh</dc:creator>
      <dc:date>2021-07-27T18:57:05Z</dc:date>
    </item>
  </channel>
</rss>

