<?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 i.MX8MQ: How to disable zero packing with MIPI CSI2 RGB888 pixel data in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8MQ-How-to-disable-zero-packing-with-MIPI-CSI2-RGB888-pixel/m-p/1032165#M152381</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear NXP member,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We use i.MX8MQ with Linux 4.14.98_2.0.0&amp;nbsp;BSP.&lt;/P&gt;&lt;P&gt;The original codebase (drivers/media/platform/mxc/capture/mx6s_capture.c) doesn't implement RGB888 format capture.&lt;/P&gt;&lt;P&gt;After adding RGB888 format related&amp;nbsp;code&amp;nbsp;then we can capture RGB888 pixel data, but there exists zero packing.&lt;/P&gt;&lt;P&gt;Try some CSI control registers but in vain, the&amp;nbsp;&lt;SPAN&gt;ZERO_PACK_EN is useless.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also searching in NXP community, we find out the issue is the same as&amp;nbsp;&lt;A href="https://community.nxp.com/thread/494035"&gt;RGB888 pixel data: disable zero-byte padding?&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to disable zero packing with MIPI CSI2 RGB888 pixel data?&lt;/P&gt;&lt;P&gt;How to configure the correct CSI control register for MIPI CSI2 RGB888 pixel data capture?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Tor Wang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Mar 2020 09:50:26 GMT</pubDate>
    <dc:creator>tor_wang</dc:creator>
    <dc:date>2020-03-30T09:50:26Z</dc:date>
    <item>
      <title>i.MX8MQ: How to disable zero packing with MIPI CSI2 RGB888 pixel data</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8MQ-How-to-disable-zero-packing-with-MIPI-CSI2-RGB888-pixel/m-p/1032165#M152381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear NXP member,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We use i.MX8MQ with Linux 4.14.98_2.0.0&amp;nbsp;BSP.&lt;/P&gt;&lt;P&gt;The original codebase (drivers/media/platform/mxc/capture/mx6s_capture.c) doesn't implement RGB888 format capture.&lt;/P&gt;&lt;P&gt;After adding RGB888 format related&amp;nbsp;code&amp;nbsp;then we can capture RGB888 pixel data, but there exists zero packing.&lt;/P&gt;&lt;P&gt;Try some CSI control registers but in vain, the&amp;nbsp;&lt;SPAN&gt;ZERO_PACK_EN is useless.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also searching in NXP community, we find out the issue is the same as&amp;nbsp;&lt;A href="https://community.nxp.com/thread/494035"&gt;RGB888 pixel data: disable zero-byte padding?&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to disable zero packing with MIPI CSI2 RGB888 pixel data?&lt;/P&gt;&lt;P&gt;How to configure the correct CSI control register for MIPI CSI2 RGB888 pixel data capture?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Tor Wang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2020 09:50:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8MQ-How-to-disable-zero-packing-with-MIPI-CSI2-RGB888-pixel/m-p/1032165#M152381</guid>
      <dc:creator>tor_wang</dc:creator>
      <dc:date>2020-03-30T09:50:26Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX8MQ: How to disable zero packing with MIPI CSI2 RGB888 pixel data</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8MQ-How-to-disable-zero-packing-with-MIPI-CSI2-RGB888-pixel/m-p/1032166#M152382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I got reply:&lt;/P&gt;&lt;P&gt;"ZERO_PACK_EN is only&amp;nbsp;available in 8-bit/pixel mode.&lt;/P&gt;&lt;P&gt;It seems that you can not&amp;nbsp;avoid packing&amp;nbsp;to 32 bits&amp;nbsp;data when you use 24 bits parallel input.&lt;/P&gt;&lt;P&gt;How about cut off the packing 8 bits 0 in application?you may need to configure DMA controller to try 24 bits transition for your requirement.&lt;/P&gt;&lt;P&gt;"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Apr 2020 06:14:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8MQ-How-to-disable-zero-packing-with-MIPI-CSI2-RGB888-pixel/m-p/1032166#M152382</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2020-04-05T06:14:40Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX8MQ: How to disable zero packing with MIPI CSI2 RGB888 pixel data</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8MQ-How-to-disable-zero-packing-with-MIPI-CSI2-RGB888-pixel/m-p/1032167#M152383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Joan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for reply about the "ZERO_PACK_EN" CSI control&amp;nbsp;register 3 usage.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Follow your reply:&lt;/P&gt;&lt;P&gt;"you may need to configure DMA controller to try 24 bits transition for your requirement."&lt;/P&gt;&lt;P&gt;=&amp;gt;&amp;nbsp;Please also answer my previous question:&lt;/P&gt;&lt;P&gt;"How to configure the correct CSI control register for MIPI CSI2 RGB888 pixel data capture?"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Tor Wang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Apr 2020 01:14:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8MQ-How-to-disable-zero-packing-with-MIPI-CSI2-RGB888-pixel/m-p/1032167#M152383</guid>
      <dc:creator>tor_wang</dc:creator>
      <dc:date>2020-04-06T01:14:35Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX8MQ: How to disable zero packing with MIPI CSI2 RGB888 pixel data</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8MQ-How-to-disable-zero-packing-with-MIPI-CSI2-RGB888-pixel/m-p/1032168#M152384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/joanxie"&gt;joanxie&lt;/A&gt; &amp;amp; NXP member,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any updates about the question "&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;How to configure the correct CSI control register for MIPI CSI2 RGB888 pixel data capture?&lt;/SPAN&gt;"&lt;/P&gt;&lt;P&gt;Or do I have to create another thread to ask the question above?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Tor Wang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Apr 2020 01:05:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8MQ-How-to-disable-zero-packing-with-MIPI-CSI2-RGB888-pixel/m-p/1032168#M152384</guid>
      <dc:creator>tor_wang</dc:creator>
      <dc:date>2020-04-13T01:05:15Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX8MQ: How to disable zero packing with MIPI CSI2 RGB888 pixel data</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8MQ-How-to-disable-zero-packing-with-MIPI-CSI2-RGB888-pixel/m-p/1032169#M152385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have already answered:&lt;/P&gt;&lt;P&gt;"It seems that you can not&amp;nbsp;avoid packing&amp;nbsp;to 32 bits&amp;nbsp;data when you use 24 bits parallel input."&lt;/P&gt;&lt;P&gt;for imx8 side, no register can avoid this, maybe you can try to do this on your application side, I give the advice above.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Apr 2020 04:27:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8MQ-How-to-disable-zero-packing-with-MIPI-CSI2-RGB888-pixel/m-p/1032169#M152385</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2020-04-20T04:27:07Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX8MQ: How to disable zero packing with MIPI CSI2 RGB888 pixel data</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8MQ-How-to-disable-zero-packing-with-MIPI-CSI2-RGB888-pixel/m-p/1032170#M152386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Joan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the feedback.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Explain my&amp;nbsp;doubt about your description as below:&lt;/P&gt;&lt;P&gt;The question above&amp;nbsp;I asked is about&amp;nbsp;your description "&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;How about cut off the packing 8 bits 0 in application?you may need to configure DMA controller to try 24 bits transition for your requirement.&lt;/SPAN&gt;"&lt;/P&gt;&lt;P&gt;=&amp;gt;If&amp;nbsp;I cut the zero packing off on application side, just to use&amp;nbsp;the default&amp;nbsp;DMA controller configuration,&amp;nbsp;no need to do extra DMA controller configuration.&lt;/P&gt;&lt;P&gt;=&amp;gt;So I have to ask the question above again. If&amp;nbsp;I have to&amp;nbsp;do extra DMA controller configuration then please tell&amp;nbsp;me how to configure those&amp;nbsp;registers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, thanks for your answer: "&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;for imx8 side, no register can avoid this".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;We will cut the zero packing on application side.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Tor Wang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Apr 2020 06:04:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8MQ-How-to-disable-zero-packing-with-MIPI-CSI2-RGB888-pixel/m-p/1032170#M152386</guid>
      <dc:creator>tor_wang</dc:creator>
      <dc:date>2020-04-20T06:04:52Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX8MQ: How to disable zero packing with MIPI CSI2 RGB888 pixel data</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8MQ-How-to-disable-zero-packing-with-MIPI-CSI2-RGB888-pixel/m-p/1032171#M152387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what camera do you use, I confirmed that ov5640 couldn't set rgb888&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2020 08:09:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8MQ-How-to-disable-zero-packing-with-MIPI-CSI2-RGB888-pixel/m-p/1032171#M152387</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2020-05-18T08:09:32Z</dc:date>
    </item>
  </channel>
</rss>

