<?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のトピックiMX8M Plus 2nd MIPI CSI Camera : FIFO Overflow Error</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/iMX8M-Plus-2nd-MIPI-CSI-Camera-FIFO-Overflow-Error/m-p/1301085#M176301</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am developing a dual camera application.&lt;/P&gt;&lt;P&gt;Camera resolution and image format is 2592x1944, RAW8&lt;/P&gt;&lt;P&gt;Datapath and driver structure is&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Camera (sensor driver.c)--&amp;gt; MIPI-CSI2 (imx8-mipi-csi2-sam.c) --&amp;gt; ISI (imx8-isi-cap.c) --&amp;gt; RAM&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;After modifying the drivers,&amp;nbsp;I could get the video stream from CSI1 successfully with 2592x1944, RAW8, 50~60fps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I want to get another video stream from CSI2, but not working because of FIFO overflow error.&lt;/P&gt;&lt;P&gt;[ 43.892406] mxc-mipi-csi2.1: Frame End events: 1&lt;BR /&gt;[ 43.897023] mxc-mipi-csi2.1: Frame Start events: 2&lt;BR /&gt;[ 43.901811] mxc-mipi-csi2.1: Non-image data after odd frame events: 0&lt;BR /&gt;[ 43.908248] mxc-mipi-csi2.1: Non-image data before odd frame events: 0&lt;BR /&gt;[ 43.914771] mxc-mipi-csi2.1: Non-image data after even frame events: 0&lt;BR /&gt;[ 43.921297] mxc-mipi-csi2.1: Non-image data before even frame events: 0&lt;BR /&gt;[ 43.927906] mxc-mipi-csi2.1: Unknown Error events: 0&lt;BR /&gt;[ 43.932868] mxc-mipi-csi2.1: CRC Error events: 0&lt;BR /&gt;[ 43.937484] mxc-mipi-csi2.1: ECC Error events: 0&lt;BR /&gt;&lt;STRONG&gt;[ 43.942097] mxc-mipi-csi2.1: FIFO Overflow Error events: 1209788&lt;/STRONG&gt;&lt;BR /&gt;[ 43.948100] mxc-mipi-csi2.1: Lost Frame End Error events: 0&lt;BR /&gt;[ 43.953672] mxc-mipi-csi2.1: Lost Frame Start Error events: 0&lt;BR /&gt;[ 43.959413] mxc-mipi-csi2.1: SOT Error events: 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to change hs-settle and clk-settle parameters, but no success.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Based on Reference Manual, CSI1 maximum operating frequency is 500MHz, but CSI2 is 266MHz.&lt;/P&gt;&lt;P&gt;Does the lower CSI2 frequency limit frame resolution or frame rate?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I solve this ?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 01 Jul 2021 10:08:24 GMT</pubDate>
    <dc:creator>baek</dc:creator>
    <dc:date>2021-07-01T10:08:24Z</dc:date>
    <item>
      <title>iMX8M Plus 2nd MIPI CSI Camera : FIFO Overflow Error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8M-Plus-2nd-MIPI-CSI-Camera-FIFO-Overflow-Error/m-p/1301085#M176301</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am developing a dual camera application.&lt;/P&gt;&lt;P&gt;Camera resolution and image format is 2592x1944, RAW8&lt;/P&gt;&lt;P&gt;Datapath and driver structure is&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Camera (sensor driver.c)--&amp;gt; MIPI-CSI2 (imx8-mipi-csi2-sam.c) --&amp;gt; ISI (imx8-isi-cap.c) --&amp;gt; RAM&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;After modifying the drivers,&amp;nbsp;I could get the video stream from CSI1 successfully with 2592x1944, RAW8, 50~60fps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I want to get another video stream from CSI2, but not working because of FIFO overflow error.&lt;/P&gt;&lt;P&gt;[ 43.892406] mxc-mipi-csi2.1: Frame End events: 1&lt;BR /&gt;[ 43.897023] mxc-mipi-csi2.1: Frame Start events: 2&lt;BR /&gt;[ 43.901811] mxc-mipi-csi2.1: Non-image data after odd frame events: 0&lt;BR /&gt;[ 43.908248] mxc-mipi-csi2.1: Non-image data before odd frame events: 0&lt;BR /&gt;[ 43.914771] mxc-mipi-csi2.1: Non-image data after even frame events: 0&lt;BR /&gt;[ 43.921297] mxc-mipi-csi2.1: Non-image data before even frame events: 0&lt;BR /&gt;[ 43.927906] mxc-mipi-csi2.1: Unknown Error events: 0&lt;BR /&gt;[ 43.932868] mxc-mipi-csi2.1: CRC Error events: 0&lt;BR /&gt;[ 43.937484] mxc-mipi-csi2.1: ECC Error events: 0&lt;BR /&gt;&lt;STRONG&gt;[ 43.942097] mxc-mipi-csi2.1: FIFO Overflow Error events: 1209788&lt;/STRONG&gt;&lt;BR /&gt;[ 43.948100] mxc-mipi-csi2.1: Lost Frame End Error events: 0&lt;BR /&gt;[ 43.953672] mxc-mipi-csi2.1: Lost Frame Start Error events: 0&lt;BR /&gt;[ 43.959413] mxc-mipi-csi2.1: SOT Error events: 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to change hs-settle and clk-settle parameters, but no success.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Based on Reference Manual, CSI1 maximum operating frequency is 500MHz, but CSI2 is 266MHz.&lt;/P&gt;&lt;P&gt;Does the lower CSI2 frequency limit frame resolution or frame rate?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I solve this ?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jul 2021 10:08:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8M-Plus-2nd-MIPI-CSI-Camera-FIFO-Overflow-Error/m-p/1301085#M176301</guid>
      <dc:creator>baek</dc:creator>
      <dc:date>2021-07-01T10:08:24Z</dc:date>
    </item>
    <item>
      <title>Re: iMX8M Plus 2nd MIPI CSI Camera : FIFO Overflow Error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8M-Plus-2nd-MIPI-CSI-Camera-FIFO-Overflow-Error/m-p/1301402#M176322</link>
      <description>&lt;P&gt;Hi Dy&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;yes you are right, fifo overflow may be caused by isi performance capabilities, as&lt;/P&gt;
&lt;P&gt;described in sect.13.1.2 Display Interface&amp;nbsp; &lt;A id="relatedDocsClick_2" href="https://www.nxp.com/webapp/Download?colCode=IMX8MPRM" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;i.MX 8M Plus Applications Processor Reference Manual&lt;/STRONG&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;"The key features of the ISI include:..&lt;BR /&gt;Image processing for&lt;BR /&gt;• 2 processed camera stream at 1080p30&lt;BR /&gt;• 2 unprocessed camera stream (i.e. no scaling) at 4Kp30, depending on&lt;BR /&gt;system load and use case..&lt;BR /&gt;When two ISPs are used simultaneously, each supports:&lt;BR /&gt;• maximum resolution up to 1080p (1936x1188)"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jul 2021 23:26:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8M-Plus-2nd-MIPI-CSI-Camera-FIFO-Overflow-Error/m-p/1301402#M176322</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2021-07-01T23:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: iMX8M Plus 2nd MIPI CSI Camera : FIFO Overflow Error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8M-Plus-2nd-MIPI-CSI-Camera-FIFO-Overflow-Error/m-p/1301429#M176326</link>
      <description>&lt;P&gt;Hi, igorpardykov&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your support.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I checked below from Reference Manual again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;• 2 unprocessed camera stream (i.e. no scaling) at 4Kp30, depending on&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;system load and use case&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I want to get RAW8 format video stream (bypass csc), and then it corresponds unprocessed stream, am I right?&lt;/P&gt;&lt;P&gt;Does this mean that ISI supports using two 4Kp30 video streams simultaneously?&lt;/P&gt;&lt;P&gt;If I slow down 2nd frame rate (e.g under 30fps), can I solve FIFO overflow issue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;When two ISPs are used simultaneously, each supports:&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;• maximum resolution up to 1080p (1936x1188)"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;FYI, I don't use ISPs at all (all disabled at the device tree), and use ISI only.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jul 2021 01:01:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8M-Plus-2nd-MIPI-CSI-Camera-FIFO-Overflow-Error/m-p/1301429#M176326</guid>
      <dc:creator>baek</dc:creator>
      <dc:date>2021-07-02T01:01:45Z</dc:date>
    </item>
  </channel>
</rss>

