<?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 LCDIF 8bits bus-width interface to 24 bits LCD display on IMX6UL in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/LCDIF-8bits-bus-width-interface-to-24-bits-LCD-display-on-IMX6UL/m-p/957370#M143043</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;I am currently working with the imx6ul and I need to configure the mxsfb driver that supports the eLCDIF controller to enable the use of 8 bits bus-width with 24 bits RGB pixels.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My configuration is:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;imx6Ultralite,&lt;/LI&gt;&lt;LI&gt;LCD 320x240 24 bits RGB display connected to the first LCD_DATA pins (0-7), &lt;UL&gt;&lt;LI&gt;tested with the 24 bits bus-width and it is working fine&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;DOTCLK mode is used (HSYNC + VSYNC + DATA ENABLE) and &lt;STRONG&gt;NOT&lt;/STRONG&gt; MPU 8080 or i80.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The current driver supports the 24 bits pixels to 24 bits bus-width but as shown in the image hereafter, the 8 bits mode of the display requires to output R, G and B on the same LCD pins one after the other. In order to do that, the LCD display needed PXL_CLK increases from 6 MHz to 26 MHz.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/88005i30FD159453F0D826/image-size/large?v=v2&amp;amp;px=999" title="data.PNG" alt="data.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I increased the PXL_CLK directly in the CCM to 26 MHz and configured the register of the eLCDIF with the following values:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/88013iB4DA425A87C33A48/image-size/large?v=v2&amp;amp;px=999" title="32bits_8bits_bus.PNG" alt="32bits_8bits_bus.PNG" /&gt;&lt;/span&gt;I have also tried to modify other registers related to timing, but the reference manual is not clear in the relationship between all timing registers and no graphs are provided to get an overview.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help with a guidance towards which register should be modified to make it works ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Sep 2019 09:54:40 GMT</pubDate>
    <dc:creator>henri_koch</dc:creator>
    <dc:date>2019-09-23T09:54:40Z</dc:date>
    <item>
      <title>LCDIF 8bits bus-width interface to 24 bits LCD display on IMX6UL</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/LCDIF-8bits-bus-width-interface-to-24-bits-LCD-display-on-IMX6UL/m-p/957370#M143043</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;I am currently working with the imx6ul and I need to configure the mxsfb driver that supports the eLCDIF controller to enable the use of 8 bits bus-width with 24 bits RGB pixels.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My configuration is:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;imx6Ultralite,&lt;/LI&gt;&lt;LI&gt;LCD 320x240 24 bits RGB display connected to the first LCD_DATA pins (0-7), &lt;UL&gt;&lt;LI&gt;tested with the 24 bits bus-width and it is working fine&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;DOTCLK mode is used (HSYNC + VSYNC + DATA ENABLE) and &lt;STRONG&gt;NOT&lt;/STRONG&gt; MPU 8080 or i80.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The current driver supports the 24 bits pixels to 24 bits bus-width but as shown in the image hereafter, the 8 bits mode of the display requires to output R, G and B on the same LCD pins one after the other. In order to do that, the LCD display needed PXL_CLK increases from 6 MHz to 26 MHz.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/88005i30FD159453F0D826/image-size/large?v=v2&amp;amp;px=999" title="data.PNG" alt="data.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I increased the PXL_CLK directly in the CCM to 26 MHz and configured the register of the eLCDIF with the following values:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/88013iB4DA425A87C33A48/image-size/large?v=v2&amp;amp;px=999" title="32bits_8bits_bus.PNG" alt="32bits_8bits_bus.PNG" /&gt;&lt;/span&gt;I have also tried to modify other registers related to timing, but the reference manual is not clear in the relationship between all timing registers and no graphs are provided to get an overview.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help with a guidance towards which register should be modified to make it works ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Sep 2019 09:54:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/LCDIF-8bits-bus-width-interface-to-24-bits-LCD-display-on-IMX6UL/m-p/957370#M143043</guid>
      <dc:creator>henri_koch</dc:creator>
      <dc:date>2019-09-23T09:54:40Z</dc:date>
    </item>
    <item>
      <title>Re: LCDIF 8bits bus-width interface to 24 bits LCD display on IMX6UL</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/LCDIF-8bits-bus-width-interface-to-24-bits-LCD-display-on-IMX6UL/m-p/957371#M143044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi henri_koch&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one can try to set "bus-width" to 8 in dts file [&amp;amp;lcdif..] and adjust "display-timings" according to&lt;/P&gt;&lt;P&gt;lcd datasheet:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://source.codeaurora.org/external/imx/linux-imx/tree/arch/arm/boot/dts/imx6ul-14x14-evk.dts?h=imx_4.14.98_2.1.0" title="https://source.codeaurora.org/external/imx/linux-imx/tree/arch/arm/boot/dts/imx6ul-14x14-evk.dts?h=imx_4.14.98_2.1.0"&gt;imx6ul-14x14-evk.dts\dts\boot\arm\arch - linux-imx - i.MX Linux kernel&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>Fri, 27 Sep 2019 09:34:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/LCDIF-8bits-bus-width-interface-to-24-bits-LCD-display-on-IMX6UL/m-p/957371#M143044</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2019-09-27T09:34:36Z</dc:date>
    </item>
  </channel>
</rss>

