<?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: Frame corruption in mipi_csi_1 in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Frame-corruption-in-mipi-csi-1/m-p/856026#M130888</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vimal&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one can try to rebuld image from scratch and apply performance patches from&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/476615"&gt;i.MX8M EVK MIPI CSI Camera Frame Rate&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&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, 27 Mar 2019 00:01:24 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2019-03-27T00:01:24Z</dc:date>
    <item>
      <title>Frame corruption in mipi_csi_1</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Frame-corruption-in-mipi-csi-1/m-p/856025#M130887</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 am using the linux kernel 4.14.78 from sumo bsp in imx8m EVK (REV-B4) board. I can able to stream the resolution &lt;A href="mailto:3200x1600@30"&gt;3200x1600@30 fps&lt;/A&gt; in mipi_csi_2(connector:J1503) constantly after every reboot. but when i try to stream the same in mipi_csi_1(J1502) it produces corrupted frames very frequently, like 7 out of 10 times. i have enclosed my DTB configuration of both&amp;nbsp; mipi_csi_1 &amp;amp; mipi_csi_2 below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mipi_csi_1: mipi_csi1@30a70000 {&lt;BR /&gt; compatible = "fsl,mxc-mipi-csi2_yav";&lt;BR /&gt; reg = &amp;lt;0x0 0x30a70000 0x0 0x1000&amp;gt;; /* MIPI CSI1 Controller base addr */&lt;BR /&gt; interrupts = &amp;lt;GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH&amp;gt;;&lt;BR /&gt; clocks = &amp;lt;&amp;amp;clk IMX8MQ_CLK_DUMMY&amp;gt;,&lt;BR /&gt; &amp;lt;&amp;amp;clk IMX8MQ_CLK_CSI1_CORE&amp;gt;,&lt;BR /&gt; &amp;lt;&amp;amp;clk IMX8MQ_CLK_CSI1_ESC&amp;gt;,&lt;BR /&gt; &amp;lt;&amp;amp;clk IMX8MQ_CLK_CSI1_PHY_REF&amp;gt;;&lt;BR /&gt; clock-names = "clk_apb", "clk_core", "clk_esc", "clk_pxl";&lt;BR /&gt; assigned-clocks = &amp;lt;&amp;amp;clk IMX8MQ_CLK_CSI1_CORE&amp;gt;,&lt;BR /&gt; &amp;lt;&amp;amp;clk IMX8MQ_CLK_CSI1_PHY_REF&amp;gt;,&lt;BR /&gt; &amp;lt;&amp;amp;clk IMX8MQ_CLK_CSI1_ESC&amp;gt;;&lt;BR /&gt; assigned-clock-rates = &amp;lt;266000000&amp;gt;, &amp;lt;400000000&amp;gt;, &amp;lt;66000000&amp;gt;;&lt;BR /&gt; power-domains = &amp;lt;&amp;amp;mipi_csi1_pd&amp;gt;;&lt;BR /&gt; csis-phy-reset = &amp;lt;&amp;amp;src 0x4c 7&amp;gt;;&lt;BR /&gt; phy-gpr = &amp;lt;&amp;amp;gpr 0x88&amp;gt;;&lt;BR /&gt; status = "disabled";&lt;BR /&gt; };&lt;/P&gt;&lt;P&gt;mipi_csi_2: mipi_csi2@30b60000 {&lt;BR /&gt; compatible = "fsl,mxc-mipi-csi2_yav";&lt;BR /&gt; reg = &amp;lt;0x0 0x30b60000 0x0 0x1000&amp;gt;; /* MIPI CSI2 Controller base addr */&lt;BR /&gt; interrupts = &amp;lt;GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH&amp;gt;;&lt;BR /&gt; clocks = &amp;lt;&amp;amp;clk IMX8MQ_CLK_DUMMY&amp;gt;,&lt;BR /&gt; &amp;lt;&amp;amp;clk IMX8MQ_CLK_CSI2_CORE&amp;gt;,&lt;BR /&gt; &amp;lt;&amp;amp;clk IMX8MQ_CLK_CSI2_ESC&amp;gt;,&lt;BR /&gt; &amp;lt;&amp;amp;clk IMX8MQ_CLK_CSI2_PHY_REF&amp;gt;;&lt;BR /&gt; clock-names = "clk_apb", "clk_core", "clk_esc", "clk_pxl";&lt;BR /&gt; assigned-clocks = &amp;lt;&amp;amp;clk IMX8MQ_CLK_CSI2_CORE&amp;gt;,&lt;BR /&gt; &amp;lt;&amp;amp;clk IMX8MQ_CLK_CSI2_PHY_REF&amp;gt;,&lt;BR /&gt; &amp;lt;&amp;amp;clk IMX8MQ_CLK_CSI2_ESC&amp;gt;;&lt;BR /&gt; assigned-clock-rates = &amp;lt;266000000&amp;gt;, &amp;lt;400000000&amp;gt;, &amp;lt;66000000&amp;gt;;&lt;BR /&gt; power-domains = &amp;lt;&amp;amp;mipi_csi2_pd&amp;gt;;&lt;BR /&gt; csis-phy-reset = &amp;lt;&amp;amp;src 0x50 7&amp;gt;;&lt;BR /&gt; phy-gpr = &amp;lt;&amp;amp;gpr 0xa4&amp;gt;;&lt;BR /&gt; status = "disabled";&lt;BR /&gt; };&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached the normal image and corrupted image for your reference.&lt;/P&gt;&lt;P&gt;Has anyone faced this issue? what is the difference between mipi_csi_1 &amp;amp; mipi_csi_2? &lt;/P&gt;&lt;P&gt;Please help me to solve this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Vimal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Mar 2019 18:07:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Frame-corruption-in-mipi-csi-1/m-p/856025#M130887</guid>
      <dc:creator>vimalan_93</dc:creator>
      <dc:date>2019-03-26T18:07:59Z</dc:date>
    </item>
    <item>
      <title>Re: Frame corruption in mipi_csi_1</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Frame-corruption-in-mipi-csi-1/m-p/856026#M130888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vimal&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one can try to rebuld image from scratch and apply performance patches from&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/476615"&gt;i.MX8M EVK MIPI CSI Camera Frame Rate&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&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, 27 Mar 2019 00:01:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Frame-corruption-in-mipi-csi-1/m-p/856026#M130888</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2019-03-27T00:01:24Z</dc:date>
    </item>
    <item>
      <title>Re: Frame corruption in mipi_csi_1</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Frame-corruption-in-mipi-csi-1/m-p/856027#M130889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As i said, I am using SUMO version in yacto(kernel:4.14.78), so the performance patches(tuning.7z.zip &amp;amp; Camera.tar.bz2) are already applied in this bsp. can you please suggest any other method to debug or solve this issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any immediate help is really appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;vimal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Mar 2019 18:25:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Frame-corruption-in-mipi-csi-1/m-p/856027#M130889</guid>
      <dc:creator>vimalan_93</dc:creator>
      <dc:date>2019-03-27T18:25:06Z</dc:date>
    </item>
    <item>
      <title>Re: Frame corruption in mipi_csi_1</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Frame-corruption-in-mipi-csi-1/m-p/856028#M130890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;is it working fine with lower resolutions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Mar 2019 00:59:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Frame-corruption-in-mipi-csi-1/m-p/856028#M130890</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2019-03-28T00:59:00Z</dc:date>
    </item>
    <item>
      <title>Re: Frame corruption in mipi_csi_1</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Frame-corruption-in-mipi-csi-1/m-p/856029#M130891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi igor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your continuous support,&lt;/P&gt;&lt;P&gt;it tested the following resolution 3200x1300 &amp;amp;1600x1300 in my camera and 1920x1080 &amp;amp; VGA resolution in ov5640 camera.&lt;/P&gt;&lt;P&gt;i tested all the above resolutions with the following DTB changes for improving the data rate. in all the resolution i faced the issue.&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;assigned-clock-rates = &amp;lt;266000000&amp;gt;, &amp;lt;400000000&amp;gt;, &amp;lt;66000000&amp;gt;;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;when i changed the DTB to default value like below. the ov5640 camera stream without any issue. but in my requirement the default DTB clock settings are not enough.&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;assigned-clock-rates = &amp;lt;133000000&amp;gt;, &amp;lt;100000000&amp;gt;, &amp;lt;66000000&amp;gt;;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;the higher clock settings in DTB is perfectly working in&amp;nbsp; mipi_csi_2(connector:J1503).&lt;/P&gt;&lt;P&gt;please help us to resolve this issue in mipi_csi_1(connector:J1502).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Vimal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Mar 2019 11:34:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Frame-corruption-in-mipi-csi-1/m-p/856029#M130891</guid>
      <dc:creator>vimalan_93</dc:creator>
      <dc:date>2019-03-28T11:34:18Z</dc:date>
    </item>
    <item>
      <title>Re: Frame corruption in mipi_csi_1</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Frame-corruption-in-mipi-csi-1/m-p/856030#M130892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV class=""&gt;&lt;P&gt;so is it working fine with lower resolutions in mipi_csi_1.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;~igor&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Mar 2019 12:08:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Frame-corruption-in-mipi-csi-1/m-p/856030#M130892</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2019-03-28T12:08:16Z</dc:date>
    </item>
    <item>
      <title>Re: Frame corruption in mipi_csi_1</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Frame-corruption-in-mipi-csi-1/m-p/856031#M130893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, After changing the DTB settings to higher clock rate, lower resolution(VGA) also get corrupted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vimal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Mar 2019 13:58:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Frame-corruption-in-mipi-csi-1/m-p/856031#M130893</guid>
      <dc:creator>vimalan_93</dc:creator>
      <dc:date>2019-03-28T13:58:28Z</dc:date>
    </item>
    <item>
      <title>Re: Frame corruption in mipi_csi_1</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Frame-corruption-in-mipi-csi-1/m-p/856032#M130894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;so without changing the DTB settings is it working fine with lower resolutions in mipi_csi_1.&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;~igor&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Mar 2019 02:18:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Frame-corruption-in-mipi-csi-1/m-p/856032#M130894</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2019-03-29T02:18:33Z</dc:date>
    </item>
    <item>
      <title>Re: Frame corruption in mipi_csi_1</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Frame-corruption-in-mipi-csi-1/m-p/856033#M130895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi igor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, without changing the DTB settings all resolutions are working fine in ov5640 camera.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please guide me to configure the dtb settings for higher FPS.&amp;nbsp; how to calculate the DPHY clock using the below values&lt;/P&gt;&lt;P&gt;assigned-clock-rates = &amp;lt;266000000&amp;gt;, &amp;lt;400000000&amp;gt;, &amp;lt;66000000&amp;gt;; = ?&lt;/P&gt;&lt;P&gt;assigned-clock-rates = &amp;lt;133000000&amp;gt;, &amp;lt;100000000&amp;gt;, &amp;lt;66000000&amp;gt;; = ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;vimal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Mar 2019 10:51:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Frame-corruption-in-mipi-csi-1/m-p/856033#M130895</guid>
      <dc:creator>vimalan_93</dc:creator>
      <dc:date>2019-03-29T10:51:54Z</dc:date>
    </item>
    <item>
      <title>Re: Frame corruption in mipi_csi_1</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Frame-corruption-in-mipi-csi-1/m-p/856034#M130896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vimal&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;according to attached Release Notes Table 8. Supported features&lt;/P&gt;&lt;P&gt;tested and supported "720p30, 1080p30, 2592x1944@15".&lt;/P&gt;&lt;P&gt;For 3200x1600@30 fps settings and optimizations one can&lt;/P&gt;&lt;P&gt;proceed with &lt;A class="link-titled" href="https://www.nxp.com/support/support/nxp-professional-services:PROFESSIONAL-SERVICE" title="https://www.nxp.com/support/support/nxp-professional-services:PROFESSIONAL-SERVICE"&gt;NXP Professional Services | NXP&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Mar 2019 12:16:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Frame-corruption-in-mipi-csi-1/m-p/856034#M130896</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2019-03-29T12:16:51Z</dc:date>
    </item>
  </channel>
</rss>

