<?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>topic i.MX6Q CSI Parallel Generic Data in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-CSI-Parallel-Generic-Data/m-p/1422901#M187771</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;We have been unsuccessfully trying to collect generic data supplied by an FPGA over the IPU parallel interface. We have patched the kernel and device tree to enable greyscale/generic data and can receive data into the i.MX6 memory. However, the data is striped with repeated erroneous values.&lt;/P&gt;&lt;P&gt;Consider the following logic analyzer capture,&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="FPGA_Par_Bus.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/172449iE5F53E06A655C3F2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="FPGA_Par_Bus.png" alt="FPGA_Par_Bus.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;This results in the following pattern in the i.MX6 memory,&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="iMX6_Bad_Pattern.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/172450i67928C1FC7E7978E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="iMX6_Bad_Pattern.png" alt="iMX6_Bad_Pattern.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;According to the CSI_Timing.pdf from&amp;nbsp;&lt;A href="https://community.nxp.com/t5/i-MX-Processors/iMX6-custom-video-capture-via-Parallel-camera-interface/m-p/393540/highlight/true#M57493" target="_blank" rel="noopener"&gt;this post&lt;/A&gt;&amp;nbsp;we are using so-called JPEG mode. Does this imply that the data is to be formatted as a JPEG?&lt;/P&gt;&lt;P&gt;Can someone further elaborate on the timings specified in that document, and which timing is appropriate for parallel generic data?&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Curtis&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Edit:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Additional confusion arises from the IMXQRM.pdf, consider figure 37-18&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="imx6_csi_nongated.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/172451iE30CC4D18C3721F3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="imx6_csi_nongated.png" alt="imx6_csi_nongated.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This agrees with the so-called "non-gated mode" described in CSI_Timing.pdf.&lt;/P&gt;&lt;P&gt;However, figure 37-17&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="imx6_csi_gated.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/172452i3FE41FA14D7DB8CA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="imx6_csi_gated.png" alt="imx6_csi_gated.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;is called "JPEG mode" in CSI_Timing.pdf.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where does CSI_Timing.pdf come from, and are those timings to be trusted?&lt;/P&gt;</description>
    <pubDate>Thu, 03 Mar 2022 20:06:30 GMT</pubDate>
    <dc:creator>curtis1</dc:creator>
    <dc:date>2022-03-03T20:06:30Z</dc:date>
    <item>
      <title>i.MX6Q CSI Parallel Generic Data</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-CSI-Parallel-Generic-Data/m-p/1422901#M187771</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;We have been unsuccessfully trying to collect generic data supplied by an FPGA over the IPU parallel interface. We have patched the kernel and device tree to enable greyscale/generic data and can receive data into the i.MX6 memory. However, the data is striped with repeated erroneous values.&lt;/P&gt;&lt;P&gt;Consider the following logic analyzer capture,&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="FPGA_Par_Bus.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/172449iE5F53E06A655C3F2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="FPGA_Par_Bus.png" alt="FPGA_Par_Bus.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;This results in the following pattern in the i.MX6 memory,&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="iMX6_Bad_Pattern.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/172450i67928C1FC7E7978E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="iMX6_Bad_Pattern.png" alt="iMX6_Bad_Pattern.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;According to the CSI_Timing.pdf from&amp;nbsp;&lt;A href="https://community.nxp.com/t5/i-MX-Processors/iMX6-custom-video-capture-via-Parallel-camera-interface/m-p/393540/highlight/true#M57493" target="_blank" rel="noopener"&gt;this post&lt;/A&gt;&amp;nbsp;we are using so-called JPEG mode. Does this imply that the data is to be formatted as a JPEG?&lt;/P&gt;&lt;P&gt;Can someone further elaborate on the timings specified in that document, and which timing is appropriate for parallel generic data?&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Curtis&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Edit:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Additional confusion arises from the IMXQRM.pdf, consider figure 37-18&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="imx6_csi_nongated.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/172451iE30CC4D18C3721F3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="imx6_csi_nongated.png" alt="imx6_csi_nongated.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This agrees with the so-called "non-gated mode" described in CSI_Timing.pdf.&lt;/P&gt;&lt;P&gt;However, figure 37-17&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="imx6_csi_gated.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/172452i3FE41FA14D7DB8CA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="imx6_csi_gated.png" alt="imx6_csi_gated.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;is called "JPEG mode" in CSI_Timing.pdf.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where does CSI_Timing.pdf come from, and are those timings to be trusted?&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2022 20:06:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-CSI-Parallel-Generic-Data/m-p/1422901#M187771</guid>
      <dc:creator>curtis1</dc:creator>
      <dc:date>2022-03-03T20:06:30Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6Q CSI Parallel Generic Data</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-CSI-Parallel-Generic-Data/m-p/1426950#M188111</link>
      <description>&lt;P&gt;We found that the &lt;EM&gt;mxc_v4l_open&lt;/EM&gt; function in the &lt;STRONG&gt;mxc_v4l2_capture&lt;/STRONG&gt; module did not properly set the external vsync option. Testing confirms that internal vsync causes the data corruption we see.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Mar 2022 14:45:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-CSI-Parallel-Generic-Data/m-p/1426950#M188111</guid>
      <dc:creator>curtis1</dc:creator>
      <dc:date>2022-03-11T14:45:29Z</dc:date>
    </item>
  </channel>
</rss>

