How to connect RT1170 to LCD 16bit RGB565?

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

How to connect RT1170 to LCD 16bit RGB565?

511 Views
haryanl
Contributor IV

Hello NXP team,

Currently on our board, the image has been output to LCD, but the color seems not correct! We have tried changing the "line output order" such as RGB, RBG, GBR..., but no correct color is displayed

Before continuing to test the software, I want to confirm whether our hardware connection is correct as follows? especially the MSB, LSB order. (although I have referred to the connection of RT1160 EVK)

haryanl_0-1747379750043.png

I appreciate your help

Thanks

Haryanl

Labels (2)
0 Kudos
Reply
3 Replies

413 Views
Sam_Gao
NXP Employee
NXP Employee

@haryanl 

As a basic color coding format for images, RGB565 refers to a pixel that occupies 2 bytes of data and is usually used in images and display devices. R red, G green, B blue, the actual display can obtain different other colors according to the configuration of the three primary colors. 

For example: By using https://www.nxp.com/part/RK043FN02H-CT#/ LCD and OV7670 CSI camera to support RT1050. There is a outdated post for reference.

 

The latest SDK/Example: https://mcuxpresso.nxp.com/mcuxsdk/25.03.00/html/examples/index.html 

0 Kudos
Reply

371 Views
haryanl
Contributor IV

Hi Sam_Gao

First I wanted to confirm if there is a problem with my hardware connection!

I found this Post, I used an eLCDIF instead of LCDIFv2, and the colors were displayed correctly
https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1176-LCDIFv2-with-RGB565-Parallel-LCD-Outpu...

The important point is that "the data bus width of LCDIFv2 is indeed fixed to 24-bit RGB888."

And if I use LCD16 bit RGB565 with LCDIFv2, what is the mapping on LCD_DATA[23:0] pins?

LCD Data line       Color       Bit

LCD_DATA23:19     Red         R4–R0

LCD_DATA18:13      Green     G5–G0

LCD_DATA12:8        Blue        B4–B0

LCD_DATA7:0        Do not use (pad)

 

Is there any documentation describing Mapping for LCDIFv2?

Thank you

0 Kudos
Reply

246 Views
Sam_Gao
NXP Employee
NXP Employee

Is there any documentation describing Mapping for LCDIFv2?

--> Please see the RM, Chapter 48 LCDIF Interface v2 (LCDIF v2), please check if it will meet your requirment.

0 Kudos
Reply