<?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 Re: IMX.6 Dual/Quad parallel camera port 20bits mode in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/IMX-6-Dual-Quad-parallel-camera-port-20bits-mode/m-p/288256#M34412</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If so, then both the RM and DS are wrong - not to mention that hardware has 20-bit interface. There is conflicting information all over the i.MX6 documentation for some reason. By the way the IPU driver and V4L driver both include support for 10-bit mode (in bt.1120 20-bit). For instance:&lt;BR /&gt;- DS page 96-97 clearly state that you can use YCbCr mode of 20-bit width, there is even a mapping table on page 96 (chapter 4.11.10.1 IPU Sensor Interface Signal Mapping), page 97 states that you can use 20-bit mode for bt.1120 and that 16-bit mode is actually a SUB-CASE of 20-bit mode in which corresponding LSBs are ignored,&lt;/P&gt;&lt;P&gt;- RM is a different story: Table 37-2 on page 2695 clearly states that you can use bt.1120 in 20-bit mode, the only problem being that it doesn't support on-the-fly processing. This is the first problem, as the same table states that on-the-fly processing is supported for bt.1120 in 16-bit mode. This is Conflict #1 - this implies that 16-bit bt.1120 is NOT SUB-CASE of 20-bit bt.1120.&lt;BR /&gt;- Further investigation leads us to the page 2761, where it states that CCIR commands should be set with using CCIR_CODE_1, CCIR_CODE_2 and CCIR_PRECOM register. The third one does not exist and is called CCIR_CODE_3 instead. Bear in mind that this is quite, quite a buggy document. FYI CCIR commands are actually EAV and SAV codes.&lt;/P&gt;&lt;P&gt;- If we go yet further to the memory map to the fore-mentioned CCIR_CODE_3 register (page 3252), we'll see that there is a clear distinction between 8-bit/value and 10-bit/value CCIR commands, as when using bt.656 we should use 3x8bit while for bt.1120 we should use 3x10-bit to describe the first three words of EAV and SAV.&lt;BR /&gt;- Also, to find info about how to really set up CCIR_CODE_1 and CCIR_CODE_2, you'll have to search the Community a bit as most is not documented.&lt;BR /&gt;So, with all respect to SerchMX, either he is not really sure what he's saying or Freescale documentation is even worse than it looks. Either way, FYI making this whole thing work is a big and ugly job, as most drivers are also only half-written, although you'll get a lot of support from the Community.&lt;BR /&gt;For instance, I have set everything just fine, rewritten the bad IPU and V4L drivers and I still don't get an image for bt.1120. And I have worked with a lot of MCUs, some SoCs and plenty of FPGAs. This is by far the worst documentation I have ever seen.&lt;BR /&gt;Just my 2 cents...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Oct 2013 15:41:22 GMT</pubDate>
    <dc:creator>ivankozic</dc:creator>
    <dc:date>2013-10-09T15:41:22Z</dc:date>
    <item>
      <title>IMX.6 Dual/Quad parallel camera port 20bits mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX-6-Dual-Quad-parallel-camera-port-20bits-mode/m-p/288253#M34409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everybody&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;I have a&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;question about&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;CSI&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;camera&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;parallel interface&lt;/SPAN&gt;.&lt;BR /&gt;&lt;SPAN class="hps"&gt;The document&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;IMXDQRM&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;in Section&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;1.4&lt;/SPAN&gt;, &lt;SPAN class="hps"&gt;9.2.1.1&lt;/SPAN&gt;, &lt;SPAN class="hps"&gt;37.3.1.1&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;is written that&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;a parallel&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;camera interface is&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;up to 20&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;bits.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt;&lt;SPAN class="hps"&gt;But&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;in Section&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;37.4.3.2.1&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;is written:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="hps"&gt;&lt;EM&gt;37.4.3.2.1&lt;/EM&gt;&lt;/SPAN&gt;&lt;EM&gt; &lt;SPAN class="hps"&gt;Parallel&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;Interface&lt;/SPAN&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;SPAN class="hps"&gt;In&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;parallel&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;interface&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;a single&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;value&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;in&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;each&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;clock&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;arrives&lt;/SPAN&gt;, &lt;SPAN class="hps"&gt;except&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;when&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;working in&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;BT.1120&lt;/SPAN&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;SPAN class="hps"&gt;mode&lt;/SPAN&gt;, &lt;SPAN class="hps"&gt;In Which&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;two&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;values&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;​​arrive in&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;each&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;cycle&lt;/SPAN&gt;. &lt;SPAN class="hps"&gt;Each&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;value&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;can&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;be&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;8-16&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;bit&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;wide&lt;/SPAN&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;SPAN class="hps"&gt;According to&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;configuration&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;of&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;DATA_WIDTH&lt;/SPAN&gt;. &lt;SPAN class="hps"&gt;If&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;DATA_WIDTH&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;is&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;configured&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;to&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;N,&lt;/SPAN&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;SPAN class="hps"&gt;then&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;20&lt;/SPAN&gt;-N &lt;SPAN class="hps"&gt;LSB&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;bits&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;are&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;ignored&lt;/SPAN&gt;.&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="hps"&gt;Is it&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;possible to work&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;with this&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;interface&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;so&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;that you can&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;receive a&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;20&lt;/SPAN&gt;-bit &lt;SPAN class="hps"&gt;words?&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;If so,&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;how to configure&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;the&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;interface?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN&gt;Michal&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Sep 2013 09:42:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX-6-Dual-Quad-parallel-camera-port-20bits-mode/m-p/288253#M34409</guid>
      <dc:creator>michalkaczmarek</dc:creator>
      <dc:date>2013-09-03T09:42:39Z</dc:date>
    </item>
    <item>
      <title>Re: IMX.6 Dual/Quad parallel camera port 20bits mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX-6-Dual-Quad-parallel-camera-port-20bits-mode/m-p/288254#M34410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Michal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No, you cannot use the parallel port in 20bit mode, you can only use it in 16bit mode.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Oct 2013 19:43:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX-6-Dual-Quad-parallel-camera-port-20bits-mode/m-p/288254#M34410</guid>
      <dc:creator>SergioSolis</dc:creator>
      <dc:date>2013-10-01T19:43:05Z</dc:date>
    </item>
    <item>
      <title>Re: IMX.6 Dual/Quad parallel camera port 20bits mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX-6-Dual-Quad-parallel-camera-port-20bits-mode/m-p/288255#M34411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank You SerchMX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have three questions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. What is the purpose of the physical 20-bit interface, if you can only receive 8-16-bit data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. In the document IMXDQRM in Table 37-2 it is written:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; In parallel I/F: through a 10-bit&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bus (such as BT.656) or 20-bit&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bus (such as BT.1120).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What does it mean?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Is it possible to read 20-bit data as 'generic data'?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Michal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Oct 2013 13:03:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX-6-Dual-Quad-parallel-camera-port-20bits-mode/m-p/288255#M34411</guid>
      <dc:creator>michalkaczmarek</dc:creator>
      <dc:date>2013-10-03T13:03:43Z</dc:date>
    </item>
    <item>
      <title>Re: IMX.6 Dual/Quad parallel camera port 20bits mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX-6-Dual-Quad-parallel-camera-port-20bits-mode/m-p/288256#M34412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If so, then both the RM and DS are wrong - not to mention that hardware has 20-bit interface. There is conflicting information all over the i.MX6 documentation for some reason. By the way the IPU driver and V4L driver both include support for 10-bit mode (in bt.1120 20-bit). For instance:&lt;BR /&gt;- DS page 96-97 clearly state that you can use YCbCr mode of 20-bit width, there is even a mapping table on page 96 (chapter 4.11.10.1 IPU Sensor Interface Signal Mapping), page 97 states that you can use 20-bit mode for bt.1120 and that 16-bit mode is actually a SUB-CASE of 20-bit mode in which corresponding LSBs are ignored,&lt;/P&gt;&lt;P&gt;- RM is a different story: Table 37-2 on page 2695 clearly states that you can use bt.1120 in 20-bit mode, the only problem being that it doesn't support on-the-fly processing. This is the first problem, as the same table states that on-the-fly processing is supported for bt.1120 in 16-bit mode. This is Conflict #1 - this implies that 16-bit bt.1120 is NOT SUB-CASE of 20-bit bt.1120.&lt;BR /&gt;- Further investigation leads us to the page 2761, where it states that CCIR commands should be set with using CCIR_CODE_1, CCIR_CODE_2 and CCIR_PRECOM register. The third one does not exist and is called CCIR_CODE_3 instead. Bear in mind that this is quite, quite a buggy document. FYI CCIR commands are actually EAV and SAV codes.&lt;/P&gt;&lt;P&gt;- If we go yet further to the memory map to the fore-mentioned CCIR_CODE_3 register (page 3252), we'll see that there is a clear distinction between 8-bit/value and 10-bit/value CCIR commands, as when using bt.656 we should use 3x8bit while for bt.1120 we should use 3x10-bit to describe the first three words of EAV and SAV.&lt;BR /&gt;- Also, to find info about how to really set up CCIR_CODE_1 and CCIR_CODE_2, you'll have to search the Community a bit as most is not documented.&lt;BR /&gt;So, with all respect to SerchMX, either he is not really sure what he's saying or Freescale documentation is even worse than it looks. Either way, FYI making this whole thing work is a big and ugly job, as most drivers are also only half-written, although you'll get a lot of support from the Community.&lt;BR /&gt;For instance, I have set everything just fine, rewritten the bad IPU and V4L drivers and I still don't get an image for bt.1120. And I have worked with a lot of MCUs, some SoCs and plenty of FPGAs. This is by far the worst documentation I have ever seen.&lt;BR /&gt;Just my 2 cents...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2013 15:41:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX-6-Dual-Quad-parallel-camera-port-20bits-mode/m-p/288256#M34412</guid>
      <dc:creator>ivankozic</dc:creator>
      <dc:date>2013-10-09T15:41:22Z</dc:date>
    </item>
    <item>
      <title>Re: IMX.6 Dual/Quad parallel camera port 20bits mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX-6-Dual-Quad-parallel-camera-port-20bits-mode/m-p/288257#M34413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are trying to get the camera inputs running and have similar problems&lt;/P&gt;&lt;P&gt;- we're sending video from an FPGA to the CPU using 10-bit buses with embedded syncs (TRSs)&lt;/P&gt;&lt;P&gt;- the video is HD not SD, but since we're using a multiplexed UYVY bus, we should use the BT656 mode rather than the BT1120 Mode, right?&lt;/P&gt;&lt;P&gt;- but since the video is 10-bit, not 8-bit, should we use 8-bit or 10-bit TRS codes in CODE_3? (i.e. 0xFF0000 or 0x3FF00000 (or 0x3FC00000) )??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The&amp;nbsp; RM states&lt;/P&gt;&lt;P&gt;"&lt;/P&gt;&lt;P&gt;For BT.656 the code should be written to bits [23:0] while bits [29:24] are ignored (3X8bit)&lt;/P&gt;&lt;P&gt;For BT.1120 the code should be written to bits [29:0] (3X10bit)&lt;/P&gt;&lt;P&gt;"&lt;BR /&gt;- but does this depend on the BT656/BT1120 selection or the 8-bit data / 10-bit data selection ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Feb 2014 18:19:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX-6-Dual-Quad-parallel-camera-port-20bits-mode/m-p/288257#M34413</guid>
      <dc:creator>phil_martin</dc:creator>
      <dc:date>2014-02-20T18:19:49Z</dc:date>
    </item>
    <item>
      <title>Re: IMX.6 Dual/Quad parallel camera port 20bits mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX-6-Dual-Quad-parallel-camera-port-20bits-mode/m-p/288258#M34414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Freescale&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we have similar requirement&lt;/P&gt;&lt;P&gt;we are trying to give hd input (1080p@30) through BT1120 (BT656 clk*2 8bit) to imx (imx support BT.1120 page 2699 IMX6DQRM.pdf)&lt;/P&gt;&lt;P&gt;we would like to know the feasibility and some hw ans sw reference designs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Nagendra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Feb 2015 09:23:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX-6-Dual-Quad-parallel-camera-port-20bits-mode/m-p/288258#M34414</guid>
      <dc:creator>nagendrasarma</dc:creator>
      <dc:date>2015-02-04T09:23:53Z</dc:date>
    </item>
  </channel>
</rss>

