<?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中的主题 i.MX6Q MIPI CSI2: Capturing RAW12 generic data</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-MIPI-CSI2-Capturing-RAW12-generic-data/m-p/285443#M33503</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone succeeded to capture RAW12 data from some MIPI CSI-2 sensor on i.MX6Q/D ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to the reference manual this format is supported: "Figure 19-19. RAW-12 data reception"&lt;/P&gt;&lt;P&gt;explains how the data is input to the IPU 16-bit data bus. How are the IPU IDMAC CPMEM parameters&lt;/P&gt;&lt;P&gt;BPP, NPB and FPS supposed to be configured to read RAW12 data from the 16-bit data bus?&lt;/P&gt;&lt;P&gt;What is the resulting pixel format in system memory?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Mar 2014 15:45:18 GMT</pubDate>
    <dc:creator>agust</dc:creator>
    <dc:date>2014-03-10T15:45:18Z</dc:date>
    <item>
      <title>i.MX6Q MIPI CSI2: Capturing RAW12 generic data</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-MIPI-CSI2-Capturing-RAW12-generic-data/m-p/285443#M33503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone succeeded to capture RAW12 data from some MIPI CSI-2 sensor on i.MX6Q/D ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to the reference manual this format is supported: "Figure 19-19. RAW-12 data reception"&lt;/P&gt;&lt;P&gt;explains how the data is input to the IPU 16-bit data bus. How are the IPU IDMAC CPMEM parameters&lt;/P&gt;&lt;P&gt;BPP, NPB and FPS supposed to be configured to read RAW12 data from the 16-bit data bus?&lt;/P&gt;&lt;P&gt;What is the resulting pixel format in system memory?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2014 15:45:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-MIPI-CSI2-Capturing-RAW12-generic-data/m-p/285443#M33503</guid>
      <dc:creator>agust</dc:creator>
      <dc:date>2014-03-10T15:45:18Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6Q MIPI CSI2: Capturing RAW12 generic data</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-MIPI-CSI2-Capturing-RAW12-generic-data/m-p/285444#M33504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear agust, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your post, however please consider moving it to the right community place for better visibility.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For details please see general advice &lt;/SPAN&gt;&lt;A class="jive-link-wiki-small" data-containerid="2001" data-containertype="14" data-objectid="99909" data-objecttype="102" href="https://community.freescale.com/docs/DOC-99909"&gt;https://community.freescale.com/docs/DOC-99909&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for using Freescale Community.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Wlodek_D. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2014 14:45:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-MIPI-CSI2-Capturing-RAW12-generic-data/m-p/285444#M33504</guid>
      <dc:creator>Wlodek_D_</dc:creator>
      <dc:date>2014-03-11T14:45:54Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6Q MIPI CSI2: Capturing RAW12 generic data</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-MIPI-CSI2-Capturing-RAW12-generic-data/m-p/285445#M33505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For RAW12 format capture, the CSI need use generic mode to capture, so in system memory, the data format is same as "Data in receiver's buffer" of Figure 40-27.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;In IDMAC CPMEM, it shold be generic mode setting, PFS must be 0x6 Generic data, BPP can be 8, 16, or 32, the only thing should be cared is that (BPP/8) * FW * FH should be same the RAW12 frame size. For NPB setting, it sepends on BPP settting, and needs be aligned with SMFC burst size setting.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;To support generic 16 mode capture, the attached pacth was needed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2014 02:11:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-MIPI-CSI2-Capturing-RAW12-generic-data/m-p/285445#M33505</guid>
      <dc:creator>qiang_li-mpu_se</dc:creator>
      <dc:date>2014-03-19T02:11:00Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6Q MIPI CSI2: Capturing RAW12 generic data</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-MIPI-CSI2-Capturing-RAW12-generic-data/m-p/285446#M33506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In my setup with a sensor delivering 352x288 images I tried with PFS=0x6 and BPP=16 and configured FW=264 and FH=288.&lt;/P&gt;&lt;P&gt;The stride parameter SL is set to 527 bytes (352 * 12 / 8 - 1). Additionally NPB=3 setting was needed to get a whole frame in an&lt;/P&gt;&lt;P&gt;image. Unfortunately it didn't work, I got images like below (after converting the V4L2 buffer data to a grey-scale bitmap) :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="csi2-test-NON-GATED-NPB3.bmp"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/14837i7BF02CF1BBBD51C3/image-size/large?v=v2&amp;amp;px=999" role="button" title="csi2-test-NON-GATED-NPB3.bmp" alt="csi2-test-NON-GATED-NPB3.bmp" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;As you can see, the half of the columns is missing and many pixels are corrupted. &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I always tried in Non-Gated mode since the&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; reference manual states that with MIPI sensors the Non-Gated &lt;/SPAN&gt;mode should be used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I did some experiments and also configured Gated mode in the CSI2IPU_SW_RST register (CLK_SEL bit cleared).&lt;/P&gt;&lt;P&gt;In Gated mode and with BPP=16, NPB=15, FW=264 and FH=288 the image data looks a little better, but the vertical sync&lt;/P&gt;&lt;P&gt;doesn't work and I get two image halves in a single frame:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="csi2-test-GATED-NPB15_sync_issue.bmp"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/43409i41A1CC61B48249DC/image-size/large?v=v2&amp;amp;px=999" role="button" title="csi2-test-GATED-NPB15_sync_issue.bmp" alt="csi2-test-GATED-NPB15_sync_issue.bmp" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After many experiments and configuring CSI0_SENS_FRM_WIDTH=351, CSI0_SENS_FRM_HEIGHT=575,&lt;/P&gt;&lt;P&gt;CSI0_ACT_FRM_WIDTH=351, CSI0_ACT_FRM_HEIGHT=575 I get a whole frame, but there are still some&lt;/P&gt;&lt;P&gt;corrupted lines in the resulting image:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="csi2-test-GATED-NPB15.bmp"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/43410i6F237CC3758908BF/image-size/large?v=v2&amp;amp;px=999" role="button" title="csi2-test-GATED-NPB15.bmp" alt="csi2-test-GATED-NPB15.bmp" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;What could be the reason for this corruption pattern?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Must Non-Gated mode really be used when capturing from MIPI sensor (as stated in the manual)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Apr 2014 11:02:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-MIPI-CSI2-Capturing-RAW12-generic-data/m-p/285446#M33506</guid>
      <dc:creator>agust</dc:creator>
      <dc:date>2014-04-02T11:02:04Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6Q MIPI CSI2: Capturing RAW12 generic data</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-MIPI-CSI2-Capturing-RAW12-generic-data/m-p/285447#M33507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For the corruption pattern, I think you can set your sensor to output test pattern, in this case you can check if the issue was caused by sensor capture or data capture in MIPI-&amp;gt;CSI.&lt;/P&gt;&lt;P&gt;For clock mode, I think it depends on camera sensor, on Freescale SabreSD reference board with ov5640 mipi camera, gated clock mode was used.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Apr 2014 05:09:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-MIPI-CSI2-Capturing-RAW12-generic-data/m-p/285447#M33507</guid>
      <dc:creator>qiang_li-mpu_se</dc:creator>
      <dc:date>2014-04-03T05:09:22Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6Q MIPI CSI2: Capturing RAW12 generic data</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-MIPI-CSI2-Capturing-RAW12-generic-data/m-p/285448#M33508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Agust&lt;/P&gt;&lt;P&gt;Had your issue got resolved? If yes, we are going to close the discussion in 3 days. If you still need help, please feel free to reply with an update to this discussion.&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, 11 Jun 2014 06:42:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-MIPI-CSI2-Capturing-RAW12-generic-data/m-p/285448#M33508</guid>
      <dc:creator>YixingKong</dc:creator>
      <dc:date>2014-06-11T06:42:21Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6Q MIPI CSI2: Capturing RAW12 generic data</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-MIPI-CSI2-Capturing-RAW12-generic-data/m-p/285449#M33509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Agust&lt;/P&gt;&lt;P&gt;We have not got your response yet and will close the discussion in 3 days. If you still need help, please feel free to reply with an update to this discussion.&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, 24 Jun 2014 08:21:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-MIPI-CSI2-Capturing-RAW12-generic-data/m-p/285449#M33509</guid>
      <dc:creator>YixingKong</dc:creator>
      <dc:date>2014-06-24T08:21:37Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6Q MIPI CSI2: Capturing RAW12 generic data</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-MIPI-CSI2-Capturing-RAW12-generic-data/m-p/285450#M33510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We working on sabre ai board for capturing video from MIPI CSI2 port using adv7180 driver , it show only blue screen when run mxc_v4l2_tvin.out test.&lt;/P&gt;&lt;P&gt;I have device connected on Mipi connector.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i see video from my device using mxc_v4l2_tvin.out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i using 3.10.17 kernel from freescale.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jan 2015 01:25:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-MIPI-CSI2-Capturing-RAW12-generic-data/m-p/285450#M33510</guid>
      <dc:creator>suncxun</dc:creator>
      <dc:date>2015-01-29T01:25:31Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6Q MIPI CSI2: Capturing RAW12 generic data</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-MIPI-CSI2-Capturing-RAW12-generic-data/m-p/285451#M33511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear &amp;nbsp;Agust,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did you&amp;nbsp;capture RAW12 data correctly? I use I.MX6Q, I can capture RAW10 data correctly, but I can't capture RAW12 data. Could you tell me how did you modify the bsp and what about the RAW12 layout in&amp;nbsp;memory?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2016 09:56:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-MIPI-CSI2-Capturing-RAW12-generic-data/m-p/285451#M33511</guid>
      <dc:creator>kennywang</dc:creator>
      <dc:date>2016-08-31T09:56:45Z</dc:date>
    </item>
  </channel>
</rss>

