LCDIF 8bits bus-width interface to 24 bits LCD display on IMX6UL

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LCDIF 8bits bus-width interface to 24 bits LCD display on IMX6UL

Jump to solution
1,903 Views
henri_koch
Contributor I

Hello,

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.

My configuration is:

  • imx6Ultralite,
  • LCD 320x240 24 bits RGB display connected to the first LCD_DATA pins (0-7),
    • tested with the 24 bits bus-width and it is working fine
  • DOTCLK mode is used (HSYNC + VSYNC + DATA ENABLE) and NOT MPU 8080 or i80.

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.

data.PNG

I increased the PXL_CLK directly in the CCM to 26 MHz and configured the register of the eLCDIF with the following values:

32bits_8bits_bus.PNGI 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.

Any help with a guidance towards which register should be modified to make it works ?

Thank you !

Labels (3)
0 Kudos
Reply
1 Solution
1,618 Views
igorpadykov
NXP Employee
NXP Employee

Hi henri_koch

one can try to set "bus-width" to 8 in dts file [&lcdif..] and adjust "display-timings" according to

lcd datasheet:

imx6ul-14x14-evk.dts\dts\boot\arm\arch - linux-imx - i.MX Linux kernel 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
Reply
1 Reply
1,619 Views
igorpadykov
NXP Employee
NXP Employee

Hi henri_koch

one can try to set "bus-width" to 8 in dts file [&lcdif..] and adjust "display-timings" according to

lcd datasheet:

imx6ul-14x14-evk.dts\dts\boot\arm\arch - linux-imx - i.MX Linux kernel 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply