Datasheet
4
AVR32416
32105-AVR32-07/08
Table 2-2 LCD controller data signal multiplexing
LCD Data Bus
4-bit STN
Single Scan
(mono, color)
8-bit STN
Single Scan
(mono, color)
8-bit STN Dual
Scan (mono,
color)
16-bit STN
Dual Scan
(mono, color)
24-bit TFT 16-bit TFT
LCDD[23] BLUE7 BLUE4
LCDD[22] BLUE6 BLUE3
LCDD[21] BLUE5 BLUE2
LCDD[20] BLUE4 BLUE1
LCDD[19] BLUE3 BLUE0
LCDD[18] BLUE2 Intensity Bit
LCDD[17] BLUE1
LCDD[16] BLUE0
LCDD[15] LCDLP7 GREEN7 GREEN4
LCDD[14] LCDLP6 GREEN6 GREEN3
LCDD[13] LCDLP5 GREEN5 GREEN2
LCDD[12] LCDLP4 GREEN4 GREEN1
LCDD[11] LCDLP3 GREEN3 GREEN0
LCDD[10] LCDLP2 GREEN2 Intensity Bit
LCDD[9] LCDLP1 GREEN1
LCDD[8] LCDLP0 GREEN0
LCDD[7] LCD7 LCDLP3 LCDUP7 RED7 RED4
LCDD[6] LCD6 LCDLP2 LCDUP6 RED6 RED3
LCDD[5] LCD5 LCDLP1 LCDUP5 RED5 RED2
LCDD[4] LCD4 LCDLP0 LCDUP4 RED4 RED1
LCDD[3] LCD3 LCD3 LCDUP3 LCDUP3 RED3 RED0
LCDD[2] LCD2 LCD2 LCDUP2 LCDUP2 RED2 Intensity Bit
LCDD[1] LCD1 LCD1 LCDUP1 LCDUP1 RED1
LCDD[0] LCD0 LCD0 LCDUP0 LCDUP0 RED0
2.1.2 Special wirings
2.1.2.1 Using a hardware swap to get RGB frame buffer data ordering
The LCD controller uses the “BGR-888” color mode in 24-bit resolution and "BGR-
555.1" in a 16-bit resolution configuration. If a graphical library needs a "RGB-565" or
a “RGB-888” mode a swap of the colors is needed. This can be done by software but
this will lead to a performance decrease which can be avoided by a special hardware
wiring. To tell the frame buffer driver of the special hardware wiring the driver needs a
special configuration. This will be explained later in the chapter “3.6.2.1 RGB frame
buffer layout support with hardware swap”.
2.1.2.2 Hardware swap for 24-bit resolution
The hardware swap for a 24-bit resolution is straight forward because only the red
and blue signals have to be swapped. At any time can a display be used with a lower
resolution by using only the MSB bits of the colors from the LCD controller.










