eLCDIF mapping Data[0-23] to RGB888 lines

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

eLCDIF mapping Data[0-23] to RGB888 lines

Jump to solution
1,503 Views
_bjs
Contributor III

Hello NXP community
@FelipeGarcia 

I have made a new post regarding similar question as in:
Related Question 

Similar to the picture in Figure 6 in AN12302. I am looking for the exact signal mapping i need to configure in MCUXpresso config tools to my 50-Pin FFC connector. This mapping is using full 8xR 8xB and 8xG data.

I understand the Data0-7 is used for B0-7, but missing are the B6 and B7. Same for G and R.
 
I can map Data0-7 directly to B0-7, Data8-15 to G0-7 and D16-23 to R0-7. This seems most straight forward, however this is not how the configuration in Figure 6 is made.

Please help.

 

0 Kudos
Reply
1 Solution
1,472 Views
Anonymous
Deactivated User

This might be helpful. See page 6 and figure 6

View solution in original post

0 Kudos
Reply
2 Replies
1,473 Views
Anonymous
Deactivated User

This might be helpful. See page 6 and figure 6

0 Kudos
Reply
1,497 Views
_bjs
Contributor III

I think i am understanding the rule.

The rule which makes sense in all cases, for 18bpp, 24bpp, etc. LCD panel:
Use the memory organized byte, half-word, or word, as mapping to Data[0-x],
then give preference to use the High bit as it contains the most information.

So in 8bpp LCD display, the following should be used? only use Data[0-7] to (RRR GGG BB):
D7 to Red 2
D6 to Red 1
D5 to Red 0
D4 to Green 2
D3 to Green 1
D2 to Green 0
D1 to Blue 1
D0 to Blue 0

in 18bpp LCD display (RGB666) the following should be used ?use Data[0-23] to (RRRRRR GGGGGG BBBBBB):
D23 to Red 5
D22 to Red 4
D21 to Red 3
D20 to Red 2
D19 to Red 1
D18 to Red 0
D17 to NC (preference given to use Most Significant Bit)
D16 to NC (preference given to use Most Significant Bit)

D15 to Green 5
D14 to Green 4
D13 to Green 3
D12 to Green 2
D11 to Green 1
D10 to Green 0
D9 to NC (preference given to use Most Significant Bit)
D8 to NC (preference given to use Most Significant Bit)

D7 to Blue 5
D6 to Blue 4
D5 to Blue 3
D4 to Blue 2
D3 to Blue 1
D2 to Blue 0
D1 to NC (preference given to use Most Significant Bit)
D0 to NC (preference given to use Most Significant Bit)


Finally in 24bpp LCD display (RGB888) the following should be used ?use Data[0-23] to (RRRRRRRR GGGGGGGG BBBBBBBB):
D23 to Red 7
D22 to Red 6
D21 to Red 5
D20 to Red 4
D19 to Red 3
D18 to Red 2
D17 to Red 1
D16 to Red 0

D15 to Green 7
D14 to Green 6
D13 to Green 5
D12 to Green 4
D11 to Green 3
D10 to Green 2
D9 to Green 1
D8 to Green 0

D7 to Blue 7
D6 to Blue 6
D5 to Blue 5
D4 to Blue 4
D3 to Blue 3
D2 to Blue 2
D1 to Blue 1
D0 to Blue 0 

Is this correct?

0 Kudos
Reply