<?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: Capturing JPEG stream via MIPI CSI in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Capturing-JPEG-stream-via-MIPI-CSI/m-p/317675#M42111</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yuri,&lt;/P&gt;&lt;P&gt;Since we're working in MIPI/CSI-2 mode and not in parallel, the bit-fields CSI0_DATA_WIDTH and CSI0_SENS_DATA_FORMAT of register&lt;/P&gt;&lt;P&gt;IPUx_CSI0_SENS_CONF are &lt;STRONG&gt;ignored&lt;/STRONG&gt;. Because all relevant information should be supplied to IPU from MIPI controller by the help of&amp;nbsp; MCT_DI bus.&lt;/P&gt;&lt;P&gt;As result, we can't supply any &lt;STRONG&gt;frame data size&lt;/STRONG&gt; or any kind of data format.&lt;/P&gt;&lt;P&gt;What we should configure is - &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CSI0 Data Identifier Register (IPUx_CSI0_DI)&lt;/STRONG&gt; and its configured for 1st Channel with value 0x30 - which means that incoming MIPI data type is JPEG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From IMX6DQRM.pdf:&lt;/P&gt;&lt;P&gt;"37.4.3.2.2&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;High-speed serial interface - MIPI (Mobile Industry Processor&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Interface).&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;In MIPI interface two values arrive in each cycle. Each value is 8 bit wide, which means&lt;/P&gt;&lt;P&gt;16 MSB bits of the data bus input are treated, while 4 LSB bits are ignored.&lt;/P&gt;&lt;P&gt;When working in this mode, the CSI can handle up to 4 streams of data. Each stream is&lt;/P&gt;&lt;P&gt;identified with DI (data identifier) that includes the virtual channel and the data type of&lt;/P&gt;&lt;P&gt;this stream. Each stream that is handled is defined in registers MIPI_DI0-3. Only the&lt;/P&gt;&lt;P&gt;main stream (MIPI_DI0) can be sent to all destination units while the other streams are&lt;/P&gt;&lt;P&gt;sent only to the SMFC as generic data.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;In this mode SENS_DATA_FORMAT and DATA_WIDTH registers are ignored, since&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;this information is coming to the CSI via the MCT_DI bus.&lt;/STRONG&gt;"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot,&lt;/P&gt;&lt;P&gt;Yan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Jul 2014 12:10:30 GMT</pubDate>
    <dc:creator>yan_</dc:creator>
    <dc:date>2014-07-30T12:10:30Z</dc:date>
    <item>
      <title>Capturing JPEG stream via MIPI CSI</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Capturing-JPEG-stream-via-MIPI-CSI/m-p/317661#M42097</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;I have a working setup of an iMX6Q working on a custom board, connected to a camera the streams YUV via MIPI CSI.&lt;/P&gt;&lt;P&gt;The camera supports streaming compressed JPEG data, and I'm now trying to figure out how to correctly configure the CSI-IPU-MEM datapath.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the reference manual there are no details about the JPEG8 stream support in the IPU (accept for 2 configuration bits with very little details).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone elaborate on that topic?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To be more specific - assuming I configure my stream to JPEG, marked as generic data datatype, how can the IPU indicate an EOF so it can switch to write to a different buffer in memory?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ofer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jul 2014 07:03:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Capturing-JPEG-stream-via-MIPI-CSI/m-p/317661#M42097</guid>
      <dc:creator>ofer_livny</dc:creator>
      <dc:date>2014-07-09T07:03:05Z</dc:date>
    </item>
    <item>
      <title>Re: Capturing JPEG stream vis MIPI CSI</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Capturing-JPEG-stream-via-MIPI-CSI/m-p/317662#M42098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp; The IPU of i.MX6 provides the following :&lt;/P&gt;&lt;P&gt;"JPEG8 input is supported only if the data size for each frame can be fixed in advance. &lt;BR /&gt;If so, the full stream is transferred transparently to the system memory. The extraction &lt;BR /&gt;of embedded information and thumbnails is left to SW."&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Yuri&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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>Thu, 10 Jul 2014 00:42:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Capturing-JPEG-stream-via-MIPI-CSI/m-p/317662#M42098</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2014-07-10T00:42:38Z</dc:date>
    </item>
    <item>
      <title>Re: Capturing JPEG stream vis MIPI CSI</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Capturing-JPEG-stream-via-MIPI-CSI/m-p/317663#M42099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yuri&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the fast reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you share the source of the quote you provided? I cannot find it in my documents.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Handling JPEGs the way you describe is actually the same as handling all generic data types, right?&lt;/P&gt;&lt;P&gt;Isn't there a specialized logic in the IPU for dealing with JPEGs ? At least the reference manual states that there are two relevant configuration bits, and I believe supplying an external interrupt to signal the end of frame (of a variable size) is also possible. Can you confirm that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ofer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2014 06:25:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Capturing-JPEG-stream-via-MIPI-CSI/m-p/317663#M42099</guid>
      <dc:creator>ofer_livny</dc:creator>
      <dc:date>2014-07-10T06:25:09Z</dc:date>
    </item>
    <item>
      <title>Re: Capturing JPEG stream vis MIPI CSI</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Capturing-JPEG-stream-via-MIPI-CSI/m-p/317664#M42100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1.&lt;BR /&gt;&amp;nbsp; I used IPU (preliminary) specs, which are not intended for publishing, mainly because they &lt;BR /&gt;contain many details for different IPU versions, that can only fully disorient customers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.&lt;/P&gt;&lt;P&gt;&amp;nbsp; The fact of absence JPEG8 details in the RM in itself means, that this feature is considered &lt;BR /&gt;as one, &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;which related to generic data.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Have a great day,&lt;BR /&gt;Yuri&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;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>Thu, 10 Jul 2014 06:53:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Capturing-JPEG-stream-via-MIPI-CSI/m-p/317664#M42100</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2014-07-10T06:53:25Z</dc:date>
    </item>
    <item>
      <title>Re: Capturing JPEG stream vis MIPI CSI</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Capturing-JPEG-stream-via-MIPI-CSI/m-p/317665#M42101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.727272033691406px;"&gt;Hi Yuri&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.727272033691406px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.727272033691406px;"&gt;Thanks again.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.727272033691406px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.727272033691406px;"&gt;So in fact there's no difference between JPEG and generic data.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.727272033691406px;"&gt;How about using an external interrupt to signal the end of a variable sized &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.727272033691406px;"&gt;frame&lt;/SPAN&gt;? Is it possible ? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.727272033691406px;"&gt;To be more specific - if my software is able to poll on a camera register that signals that the stream has ended, can it write to an IPU register to force this EOF indication?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2014 13:07:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Capturing-JPEG-stream-via-MIPI-CSI/m-p/317665#M42101</guid>
      <dc:creator>ofer_livny</dc:creator>
      <dc:date>2014-07-10T13:07:46Z</dc:date>
    </item>
    <item>
      <title>Re: Capturing JPEG stream vis MIPI CSI</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Capturing-JPEG-stream-via-MIPI-CSI/m-p/317666#M42102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yuri&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assuming I have the ability to know when each JPEG frame streaming is done, can I use the CSI0_FORCE_EOF to let the IPU /IDMAC know its the end-of-frame?&lt;/P&gt;&lt;P&gt;Is there a recommended way to stream JPEG data over mipi csi ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Jul 2014 15:13:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Capturing-JPEG-stream-via-MIPI-CSI/m-p/317666#M42102</guid>
      <dc:creator>ofer_livny</dc:creator>
      <dc:date>2014-07-20T15:13:00Z</dc:date>
    </item>
    <item>
      <title>Re: Capturing JPEG stream vis MIPI CSI</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Capturing-JPEG-stream-via-MIPI-CSI/m-p/317667#M42103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Ofer Livny !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JPEG over MIPI/CSI-2 (as User-Defined 8-bit image format) will provide the EOF events. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Yuri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2014 05:05:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Capturing-JPEG-stream-via-MIPI-CSI/m-p/317667#M42103</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2014-07-23T05:05:56Z</dc:date>
    </item>
    <item>
      <title>Re: Capturing JPEG stream vis MIPI CSI</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Capturing-JPEG-stream-via-MIPI-CSI/m-p/317668#M42104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yuri&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately I don't see these EOF events happen. Is there anything specific I need to configure to see them happen?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am currently debugging this behavior - I can stream YUV/RGB successfully, but when it comes to JPEG as generic data - the EOF interrupts happen only when the DMA buffer is full (i.e. after more than 1 frame is streamed, but it is not guaranteed that the last frame in the buffer is whole). My sensor does not support fixed-sized JPEG, so this does not help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a specific kernel version / camera driver that this feature is supported in ? I didn't find any reference to JPEG streaming in the drivers found in the BSPs freescale supplies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ofer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2014 06:17:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Capturing-JPEG-stream-via-MIPI-CSI/m-p/317668#M42104</guid>
      <dc:creator>ofer_livny</dc:creator>
      <dc:date>2014-07-23T06:17:50Z</dc:date>
    </item>
    <item>
      <title>Re: Capturing JPEG stream vis MIPI CSI</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Capturing-JPEG-stream-via-MIPI-CSI/m-p/317669#M42105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;JPEG8 is intended to be working via MIPI CSI, which should provide VS signalling. Please check&lt;BR /&gt;if it is true for the case. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jul 2014 00:50:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Capturing-JPEG-stream-via-MIPI-CSI/m-p/317669#M42105</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2014-07-24T00:50:34Z</dc:date>
    </item>
    <item>
      <title>Re: Capturing JPEG stream vis MIPI CSI</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Capturing-JPEG-stream-via-MIPI-CSI/m-p/317670#M42106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yuri&lt;/P&gt;&lt;P&gt;As far as I know my sensor supports vsync: The streaming works fine when streaming YUV/RGB, only when streaming JPEG it doesn't. &lt;/P&gt;&lt;P&gt;Is there a way I can verify that on the IPU side? I'm afraid there's no MIPI CSI2 sniffer available to me for that purpose.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jul 2014 08:03:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Capturing-JPEG-stream-via-MIPI-CSI/m-p/317670#M42106</guid>
      <dc:creator>ofer_livny</dc:creator>
      <dc:date>2014-07-25T08:03:44Z</dc:date>
    </item>
    <item>
      <title>Re: Capturing JPEG stream vis MIPI CSI</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Capturing-JPEG-stream-via-MIPI-CSI/m-p/317671#M42107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What camera / configuration is used in the case ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2014 01:40:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Capturing-JPEG-stream-via-MIPI-CSI/m-p/317671#M42107</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2014-07-28T01:40:07Z</dc:date>
    </item>
    <item>
      <title>Re: Capturing JPEG stream vis MIPI CSI</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Capturing-JPEG-stream-via-MIPI-CSI/m-p/317672#M42108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using an stv0987 image processor, streaming MIPI CSI-2 using 2 data lanes. I use the CSI-SMFC-IDMAC path (no IC).&lt;/P&gt;&lt;P&gt;I am able to stream YUV/RGB. But when streaming JPEG/Generic data - I do not see an end-of-frame indication per each frame. I only get it when the actual memory buffer I defined is filled (usually with an incomplete last frame) .&lt;/P&gt;&lt;P&gt;I can't find a way to monitor the vsync indication, as it is internal to the CSI-IPU.&lt;/P&gt;&lt;P&gt;Setting the FORCE_EOF bit does not seem to do anything. Same goes to setting the two not-so-documented JPEG8 bits in IPU_CSI0_SENS_CONF.&amp;nbsp; Resetting the IDMAC causes an "new frame before end of frame" indication.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your help is much appreciated :smileyhappy:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2014 14:45:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Capturing-JPEG-stream-via-MIPI-CSI/m-p/317672#M42108</guid>
      <dc:creator>ofer_livny</dc:creator>
      <dc:date>2014-07-28T14:45:12Z</dc:date>
    </item>
    <item>
      <title>Re: Capturing JPEG stream vis MIPI CSI</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Capturing-JPEG-stream-via-MIPI-CSI/m-p/317673#M42109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;&amp;nbsp; I think EOF interrupt issue means, that the frame data size &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;is not configured correctly in IDMAC CPMEM. Please use such &lt;BR /&gt;parameters as Frame Width and Frame Height.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Yuri&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;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>Wed, 30 Jul 2014 04:22:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Capturing-JPEG-stream-via-MIPI-CSI/m-p/317673#M42109</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2014-07-30T04:22:45Z</dc:date>
    </item>
    <item>
      <title>Re: Capturing JPEG stream vis MIPI CSI</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Capturing-JPEG-stream-via-MIPI-CSI/m-p/317674#M42110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yuri&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since there is no way for me to know the exact data size of each frame (I'm not able to compress the jpeg to specific fixed size), how should I configure correctly the CPMEM ? Do the frame width/height parameters really matter in my case?&lt;/P&gt;&lt;P&gt;Is it related to the EOLI (end of line interrupt) ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Ofer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jul 2014 09:39:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Capturing-JPEG-stream-via-MIPI-CSI/m-p/317674#M42110</guid>
      <dc:creator>ofer_livny</dc:creator>
      <dc:date>2014-07-30T09:39:48Z</dc:date>
    </item>
    <item>
      <title>Re: Capturing JPEG stream via MIPI CSI</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Capturing-JPEG-stream-via-MIPI-CSI/m-p/317675#M42111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yuri,&lt;/P&gt;&lt;P&gt;Since we're working in MIPI/CSI-2 mode and not in parallel, the bit-fields CSI0_DATA_WIDTH and CSI0_SENS_DATA_FORMAT of register&lt;/P&gt;&lt;P&gt;IPUx_CSI0_SENS_CONF are &lt;STRONG&gt;ignored&lt;/STRONG&gt;. Because all relevant information should be supplied to IPU from MIPI controller by the help of&amp;nbsp; MCT_DI bus.&lt;/P&gt;&lt;P&gt;As result, we can't supply any &lt;STRONG&gt;frame data size&lt;/STRONG&gt; or any kind of data format.&lt;/P&gt;&lt;P&gt;What we should configure is - &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CSI0 Data Identifier Register (IPUx_CSI0_DI)&lt;/STRONG&gt; and its configured for 1st Channel with value 0x30 - which means that incoming MIPI data type is JPEG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From IMX6DQRM.pdf:&lt;/P&gt;&lt;P&gt;"37.4.3.2.2&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;High-speed serial interface - MIPI (Mobile Industry Processor&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Interface).&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;In MIPI interface two values arrive in each cycle. Each value is 8 bit wide, which means&lt;/P&gt;&lt;P&gt;16 MSB bits of the data bus input are treated, while 4 LSB bits are ignored.&lt;/P&gt;&lt;P&gt;When working in this mode, the CSI can handle up to 4 streams of data. Each stream is&lt;/P&gt;&lt;P&gt;identified with DI (data identifier) that includes the virtual channel and the data type of&lt;/P&gt;&lt;P&gt;this stream. Each stream that is handled is defined in registers MIPI_DI0-3. Only the&lt;/P&gt;&lt;P&gt;main stream (MIPI_DI0) can be sent to all destination units while the other streams are&lt;/P&gt;&lt;P&gt;sent only to the SMFC as generic data.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;In this mode SENS_DATA_FORMAT and DATA_WIDTH registers are ignored, since&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;this information is coming to the CSI via the MCT_DI bus.&lt;/STRONG&gt;"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot,&lt;/P&gt;&lt;P&gt;Yan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jul 2014 12:10:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Capturing-JPEG-stream-via-MIPI-CSI/m-p/317675#M42111</guid>
      <dc:creator>yan_</dc:creator>
      <dc:date>2014-07-30T12:10:30Z</dc:date>
    </item>
    <item>
      <title>Re: Capturing JPEG stream via MIPI CSI</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Capturing-JPEG-stream-via-MIPI-CSI/m-p/317676#M42112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yan, good day !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;According to Table 19-1 (Input signals to CSI2IPU) of the i.MX6 DQ Reference Manual () &lt;BR /&gt; the following data types are considered :&lt;BR /&gt; • 00h–07h—Synchronization short packet data types&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;• 08h–0Fh—Generic short packet data types&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;• 10h–17h—Generic long packet data types&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;• 18h–1Fh—YUV data&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;• 20h–27h—RGB data&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;• 28h–2Fh—RAW data&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;• 30h– 37h—User defined byte-based data&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;• 38h–3Fh—Reserved&lt;BR /&gt; &lt;BR /&gt; As we can see,&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;JPEG in itself is not present, it may be treated as RAW or User defined data.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Yuri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Aug 2014 07:20:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Capturing-JPEG-stream-via-MIPI-CSI/m-p/317676#M42112</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2014-08-01T07:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: Capturing JPEG stream via MIPI CSI</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Capturing-JPEG-stream-via-MIPI-CSI/m-p/317677#M42113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yuri&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are correct. We configure the CSI2IPU to use defined byte-based data. (0x30)&lt;/P&gt;&lt;P&gt;However, down the pipe the IPU CSI has got JPEG related configuration, which is what I am asking about...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I opened a service request on this issue (&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Liberation Sans', sans-serif; font-size: 15.199999809265137px; background-color: #f2f2f2;"&gt;SR# 1-2197709001&lt;/SPAN&gt;).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ofer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2014 08:35:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Capturing-JPEG-stream-via-MIPI-CSI/m-p/317677#M42113</guid>
      <dc:creator>ofer_livny</dc:creator>
      <dc:date>2014-08-11T08:35:55Z</dc:date>
    </item>
    <item>
      <title>Re: Capturing JPEG stream via MIPI CSI</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Capturing-JPEG-stream-via-MIPI-CSI/m-p/317678#M42114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As mentioned in SR #1-2197709001 :&lt;BR /&gt;"&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;When streaming JPEG frames to the IPU, it gives EOF interrupts &lt;BR /&gt;only when filling a memory buffer, and NOT per frame.&lt;/SPAN&gt;"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Yuri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Aug 2014 01:51:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Capturing-JPEG-stream-via-MIPI-CSI/m-p/317678#M42114</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2014-08-13T01:51:20Z</dc:date>
    </item>
    <item>
      <title>Re: Capturing JPEG stream via MIPI CSI</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Capturing-JPEG-stream-via-MIPI-CSI/m-p/317679#M42115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Hi Yuri,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Same thing we are using, but we didn't get EOF interrupts. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;we got this error,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;ERROR: v4l2 capture: mxc_v4l_dqueue timeout enc_counter 0&lt;/P&gt;&lt;P&gt;VIDIOC_DQBUF failed.&lt;/P&gt;&lt;P&gt;ERROR: v4l2 capture: VIDIOC_QBUF: buffer already queued&lt;/P&gt;&lt;P&gt;VIDIOC_QBUF failed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i fix this.,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Feb 2016 13:15:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Capturing-JPEG-stream-via-MIPI-CSI/m-p/317679#M42115</guid>
      <dc:creator>aravinthkumarja</dc:creator>
      <dc:date>2016-02-04T13:15:15Z</dc:date>
    </item>
    <item>
      <title>Re: Capturing JPEG stream via MIPI CSI</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Capturing-JPEG-stream-via-MIPI-CSI/m-p/317680#M42116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Times New Roman'; font-size: 16,0000pt;"&gt;&amp;nbsp; Please refer to the following :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Times New Roman'; font-size: 16,0000pt;"&gt;&lt;A href="https://community.nxp.com/message/610124"&gt;CSI preview demo not working! &lt;/A&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/message/607111"&gt;Unable to capture video on IMX6Q&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Yuri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Feb 2016 05:41:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Capturing-JPEG-stream-via-MIPI-CSI/m-p/317680#M42116</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2016-02-05T05:41:18Z</dc:date>
    </item>
  </channel>
</rss>

