<?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中的主题 Re: Is it possible to reverse the Data bits given to R,G and B lines of Display?</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Is-it-possible-to-reverse-the-Data-bits-given-to-R-G-and-B-lines/m-p/665535#M102360</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Helo Shrikant Raskar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My mistake. I thought you wanted to change the order of the color bytes. I'm afraid there is no way to change the endianness of the bits of each of the color as this is set in hardware.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My apologies for the inconvenience.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Jun 2017 16:42:31 GMT</pubDate>
    <dc:creator>gusarambula</dc:creator>
    <dc:date>2017-06-22T16:42:31Z</dc:date>
    <item>
      <title>Is it possible to reverse the Data bits given to R,G and B lines of Display?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Is-it-possible-to-reverse-the-Data-bits-given-to-R-G-and-B-lines/m-p/665532#M102357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I interfaced the RGB display to iMX6 solo, its working fine. While interfacing I given the DISP0_DAT0-7(R),DISP0_DAT8-15(G) and DISP0_DAT16-23 to respective data lines on LCD connector(Its working fine).&lt;/P&gt;&lt;P&gt;But now my requirement is I want to connect with the below order&lt;/P&gt;&lt;P&gt;DISP0_DAT23 - DISP0_DAT16---------------------&amp;gt; B&lt;/P&gt;&lt;P&gt;DISP0_DAT15-DISP0_DAT8-------------------------&amp;gt;G&lt;/P&gt;&lt;P&gt;DISP0_DAT7-DISP0_DAT0---------------------------&amp;gt;R.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried connecting as mentioned above also I changed the PIX_FMT to BGR24 but the colors are not coming properly.&lt;/P&gt;&lt;P&gt;What changes I need to do in BSP in order to reverse the bits as mentioned above so that display will work with proper colors?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jun 2017 09:29:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Is-it-possible-to-reverse-the-Data-bits-given-to-R-G-and-B-lines/m-p/665532#M102357</guid>
      <dc:creator>shree97</dc:creator>
      <dc:date>2017-06-20T09:29:58Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to reverse the Data bits given to R,G and B lines of Display?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Is-it-possible-to-reverse-the-Data-bits-given-to-R-G-and-B-lines/m-p/665533#M102358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Shree97,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I understand correctly you would like to switch from RGB to BGR, is that correct?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I haven’t tried this solution but changing MD_OFFSET_0 from 0x7 to 0x17 and MD_OFFSET_2 from 0x17 to 0x7 should convert RGB to BGR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would you please find the corresponding registers and give it a try?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;SPAN style="font-size: 11pt; color: #1f497d;"&gt; &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; color: #000000; font-family: courier new,courier,monospace;"&gt;//programming data mapping&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; color: #000000; font-family: courier new,courier,monospace;"&gt;//microcode pointer to mapping_pntr_0 = {Mapping_2, Mapping_1, Mapping_0};&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; color: #000000; font-family: courier new,courier,monospace;"&gt;ipu_build_fieldf(IPU_DC_MAP_CONF_0__MAPPING_PNTR_BYTE2_0, 2);//pointer to couple OFFSET_i &amp;amp; MASK_i&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; color: #000000; font-family: courier new,courier,monospace;"&gt;ipu_build_fieldf(IPU_DC_MAP_CONF_0__MAPPING_PNTR_BYTE1_0, 1);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; color: #000000; font-family: courier new,courier,monospace;"&gt;ipu_build_fieldf(IPU_DC_MAP_CONF_0__MAPPING_PNTR_BYTE0_0, 0);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; color: #000000; font-family: courier new,courier,monospace;"&gt;ip_rmwf_tb(0);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; color: #000000; font-family: courier new,courier,monospace;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; color: #000000; font-family: courier new,courier,monospace;"&gt;ipu_build_fieldf(IPU_DC_MAP_CONF&lt;SPAN style="background: yellow none repeat scroll 0% 0%;"&gt;_15__MD_OFFSET_0, 0x17);&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; color: #000000; font-family: courier new,courier,monospace;"&gt;ipu_build_fieldf(IPU_DC_MAP_CONF_15__MD_MASK_0, 0xFF);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; color: #000000; font-family: courier new,courier,monospace;"&gt;ipu_build_fieldf(IPU_DC_MAP_CONF_15__MD_OFFSET_1, 0xF);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; color: #000000; font-family: courier new,courier,monospace;"&gt;ipu_build_fieldf(IPU_DC_MAP_CONF_15__MD_MASK_1, 0xFF);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; color: #000000; font-family: courier new,courier,monospace;"&gt;ip_rmwf_tb(0);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; color: #000000; font-family: courier new,courier,monospace;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; color: #000000; font-family: courier new,courier,monospace;"&gt;ipu_build_fieldf(IPU_DC_MAP_CONF_&lt;SPAN style="background: yellow none repeat scroll 0% 0%;"&gt;16__MD_OFFSET_2, 0x7);&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; color: #000000; font-family: courier new,courier,monospace;"&gt;ipu_build_fieldf(IPU_DC_MAP_CONF_16__MD_MASK_2, 0xFF);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; color: #000000; font-family: courier new,courier,monospace;"&gt;ip_rmwf_tb(0);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jun 2017 16:55:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Is-it-possible-to-reverse-the-Data-bits-given-to-R-G-and-B-lines/m-p/665533#M102358</guid>
      <dc:creator>gusarambula</dc:creator>
      <dc:date>2017-06-21T16:55:53Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to reverse the Data bits given to R,G and B lines of Display?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Is-it-possible-to-reverse-the-Data-bits-given-to-R-G-and-B-lines/m-p/665534#M102359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are using linux source version 3.14.28 and in that I unable to find the above code snippet.&lt;/P&gt;&lt;P&gt;We want to reverse the bit order of R , G &amp;amp; B(MSB to LSB&amp;nbsp; Or vice versa).&lt;/P&gt;&lt;P&gt;kindly share where I need to change in the BSP?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Shrikant Raskar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2017 06:33:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Is-it-possible-to-reverse-the-Data-bits-given-to-R-G-and-B-lines/m-p/665534#M102359</guid>
      <dc:creator>shree97</dc:creator>
      <dc:date>2017-06-22T06:33:56Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to reverse the Data bits given to R,G and B lines of Display?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Is-it-possible-to-reverse-the-Data-bits-given-to-R-G-and-B-lines/m-p/665535#M102360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Helo Shrikant Raskar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My mistake. I thought you wanted to change the order of the color bytes. I'm afraid there is no way to change the endianness of the bits of each of the color as this is set in hardware.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My apologies for the inconvenience.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2017 16:42:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Is-it-possible-to-reverse-the-Data-bits-given-to-R-G-and-B-lines/m-p/665535#M102360</guid>
      <dc:creator>gusarambula</dc:creator>
      <dc:date>2017-06-22T16:42:31Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to reverse the Data bits given to R,G and B lines of Display?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Is-it-possible-to-reverse-the-Data-bits-given-to-R-G-and-B-lines/m-p/665536#M102361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello gusarambula,&lt;/P&gt;&lt;P&gt;Thanks for your guidance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Shrikant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jun 2017 05:12:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Is-it-possible-to-reverse-the-Data-bits-given-to-R-G-and-B-lines/m-p/665536#M102361</guid>
      <dc:creator>shree97</dc:creator>
      <dc:date>2017-06-23T05:12:05Z</dc:date>
    </item>
  </channel>
</rss>

