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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

ソリューションへジャンプ
1,841件の閲覧回数
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 !

ラベル(3)
タグ(4)
0 件の賞賛
返信
1 解決策
1,556件の閲覧回数
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 件の賞賛
返信
1 返信
1,557件の閲覧回数
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 件の賞賛
返信