how to use parallel display interface in I.MXRT1176 with LCDIF_V2

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

how to use parallel display interface in I.MXRT1176 with LCDIF_V2

Jump to solution
5,745 Views
chinachuli
Contributor II

HI:nxp

     in my product i need to use parallel display interface with LCDIF_V2  for my LCD(800*480) 

     "SDK_2_10_1_MIMXRT1170-EVK\boards\evkmimxrt1170\driver_examples\elcdif\rgb"with this examples i add paralled IO init and  disable mipi interface.  my parallel LCD  display right.

     but  when i use            "SDK_2_10_1_MIMXRT1170EVK\boards\evkmimxrt1170\driver_examples\lcdifv2\rgb565"

with this examples do the same config  parallel display interface can't work.

     in my product i need  LCDIF_V2 's some new feature, but almost all 7"LCD(800*480)  use parallel interface. 

     so i need how to config parallel display interface for LCDIF_V2

    Thank you very much  !!

 

Tags (2)
0 Kudos
Reply
1 Solution
5,705 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @chinachuli 

  Which RT1176 hardware you test with your  LCD(800*480) ?

 NXP MIMRT1170-EVK or your customer board?

  Just check the hardware connection is OK or not at first, then to the code, do you configure the related LCD pins in the pinmux or not?

  I think you also can refer to the RT1060-EVK SDK code, that LCD code is the parallel display interface.

 

Wish it helps you!

If you still have questions about it, please kindly let me know.

Best Regards,

kerry

View solution in original post

0 Kudos
Reply
12 Replies
4,766 Views
Usharani_1
Contributor II

Hi chinachuli,

We use customized board with NXP i.mxrt1173 MCU. Tried to interface 'eLCDIF Parallel RGB LCD (800 x 480)', but 'LCD interrupt is not triggering'. The same LCD works fine with 1060 EVK board using eLCDIF.

As u mentioned below that by using "SDK_2_10_1_MIMXRT1170-EVK\boards\evkmimxrt1170\driver_examples\elcdif\rgb" and adding 'paralled IO init and disabling mipi interface' your parallel LCD displays right.'?

Can u upload any sample code for reference (eLCDIF parallel RGB LCD using NXP i.mxrt 1176 along with DCD (SDRAM) file). Thanks

0 Kudos
Reply
5,706 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @chinachuli 

  Which RT1176 hardware you test with your  LCD(800*480) ?

 NXP MIMRT1170-EVK or your customer board?

  Just check the hardware connection is OK or not at first, then to the code, do you configure the related LCD pins in the pinmux or not?

  I think you also can refer to the RT1060-EVK SDK code, that LCD code is the parallel display interface.

 

Wish it helps you!

If you still have questions about it, please kindly let me know.

Best Regards,

kerry

0 Kudos
Reply
5,693 Views
chinachuli
Contributor II

hi @kerryzhou 

     The hardware is my customer board designed based on NXP MIMRT1170-EVK

     The i.mxrt1176 have two display interface one is ELCDIF(the same as rt1060),the another is LCDIF_V2(new added on rt1176, enhanced some function)

     Use ELCDIF on i.nxrt1176 i configure the related pins , and the LCD worked right

     But when i use  LCDIF_V2  on i.nxrt1176 , i configure the related pins ,  not worked right,  and no signals on the related pins.

     In my project i have to use the LCDIF_V2.

     I need how to config let LCDIF_V2 support  parallel display.

     Thanks again for your  help

0 Kudos
Reply
5,665 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @chinachuli 

   楼主你好!

   看来咱都是中国人,你可以直接用中文。

   你这样,把你的RT1176并口LCD的原理图部分,你贴出来我看看,还有,你把你配置的代码不行的情况,也放出来我看看。 LCD接口到RT1176的相关引脚要能看清的图。

   你引脚都配置为LCD了吗?

   你先把资料传上来,我有空仔细看看。

Best Regards,

Kerry

0 Kudos
Reply
5,659 Views
chinachuli
Contributor II

hi @kerryzhou 

 

原理图参考开发板,作如下改动:测得包括clk上都无信号输出
代码修改  SDK_2_10_1_MIMXRT1170-EVK\boards\evkmimxrt1170\driver_examples\lcdifv2\rgb565
 
见附件!
 
感谢!
0 Kudos
Reply
5,643 Views
kerryzhou
NXP TechSupport
NXP TechSupport

楼主你好!

你mark correct answer,是问题解决了吗?

 

0 Kudos
Reply
5,639 Views
chinachuli
Contributor II

hi @kerryzhou 

      是的,video mux 也要同时配置

      非常感谢!

5,491 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @chinachuli 

   不好意思,打扰您了。

   请问是否可以把您最终能够工作的并口LCD代码也分享下,这样有其他的客户遇到类似的问题,也可以直接参考您的帖子,谢谢!

 

Best Regards,

Kerry

0 Kudos
Reply
5,456 Views
chinachuli
Contributor II

VIDEO_MUX寄存器需要设置成并口

VIDEO_MUX->VID_MUX_CTRL.SET = VIDEO_MUX_VID_MUX_CTRL_PARA_LCD_SEL_MASK;

5,738 Views
chinachuli
Contributor II

是否是 LCDIF_V2 不支持 并口显示模式,手册上说 Support for DOTCLK mode only in display mode ,翻了寄存器没有找到相对应可以设置的寄存器

0 Kudos
Reply
5,666 Views
kerryzhou
NXP TechSupport
NXP TechSupport

LCDIF 应该是可以支持并口的!

0 Kudos
Reply
5,655 Views
chinachuli
Contributor II

ELCDIF 试了可以  LCDIF_V2 好像不行

0 Kudos
Reply