i.MXRT eLCDIF data bus mapping to different RGB color spaces

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

i.MXRT eLCDIF data bus mapping to different RGB color spaces

751 Views
patriciocohen
Contributor IV

Hi guys,

I have been finding out how the different LCDIF_Dx signals are mapped to RGB data.
In the case of the IMXRT1602 EVK, the designer used the RGB565 color space. I would like to know how to map the LCDIF_Dx signals to other color spaces.

I would appreciate if someone at NXP can check the following table I made to see if I got the idea.

Thank you!

Patricio

===============================

RGB332 - 8 BIT COLOR(3R,3G,2B) ORGANIZED AS 8 BIT (BYTE)
RRGG.GBBB

D00 - B0
D01 - B1
D02 - B2
D03 - G0
D04 - G1
D05 - G2
D06 - B0
D07 - B1

RGB555 - 15 BIT COLOR(5R,5G,5B) ORGANIZED AS 16 BIT (HALF WORD)
xRRR.RRGG.GGGB.BBBB

D00 - B3  D08 - G6
D01 - B4  D09 - G7
D02 - B5  D10 - R3
D03 - B6  D11 - R4
D04 - B7  D12 - R5
D05 - G3  D13 - R6
D06 - G4  D14 - R7
D07 - G5  D15 - x

RGB565 - 16 BIT COLOR(5R,6G,5B) ORGANIZED AS 16 BIT (HALF WORD)
RRRR.RGGG.GGGB.BBBB

D00 - B3  D08 - G5
D01 - B4  D09 - G6
D02 - B5  D10 - G7
D03 - B6  D11 - R3
D04 - B7  D12 - R4
D05 - G2  D13 - R5
D06 - G3  D14 - R6
D07 - G4  D15 - R7

RGB666 - 18 BIT COLOR (6R,6G,6B) ORGANIZED AS 32 BIT (WORD)
xxxx.xxxx.RRRR.RRxx.GGGG.GGxx.BBBB.BBxx

D00 -  x  D08 -  x  D16 - x   D24 - x
D01 -  x  D09 -  x  D17 - x   D25 - x
D02 - B0  D10 - G0  D18 - R0  D26 - x
D03 - B1  D11 - G1  D19 - R1  D27 - x
D04 - B2  D12 - G2  D20 - R2  D28 - x
D05 - B3  D13 - G3  D21 - R3  D29 - x
D06 - B4  D14 - G4  D22 - R4  D30 - x
D07 - B5  D15 - G5  D23 - R5  D31 - x

RGB888 - 24 BIT COLOR (8R,8G,8B) ORGANIZED AS 32 BIT (WORD)
xxxx.xxxx.RRRR.RRRR.GGGG.GGGG.BBBB.BBBB

D00 - B0  D08 - G0  D16 - R0  D24 - x
D01 - B1  D09 - G1  D17 - R1  D25 - x
D02 - B2  D10 - G2  D18 - R2  D26 - x
D03 - B3  D11 - G3  D19 - R3  D27 - x
D04 - B4  D12 - G4  D20 - R4  D28 - x
D05 - B5  D13 - G5  D21 - R5  D29 - x
D06 - B6  D14 - G6  D22 - R6  D30 - x
D07 - B7  D15 - G7  D23 - R7  D31 - x

0 Kudos
1 Reply

392 Views
Shahrear_sz
Contributor I

too old post. But have you sort it out

?

0 Kudos