1152
11028E–ATARM–22-Apr-13
SAM9G46
Note:
Ri = red pixel component ON. Gi = green pixel component ON. Bi = blue pixel component ON. ri = red pixel component OFF.
gi = green pixel component OFF. bi = blue pixel component OFF.
48.6.2.7
Shifter
The FIFO, Serializer, Palette and Dithering modules process one pixel at a time in monochrome
mode and three sub-pixels at a time in color mode (R,G,B components). This module packs the
data according to the output interface. This interface can be programmed in the DISTYPE,
SCANMOD, and IFWIDTH fields of the LDCCON3 register.
The DISTYPE field selects between TFT, STN monochrome and STN color display. The SCAN-
MODE field selects between single and dual scan modes; in TFT mode, only single scan is
supported. The IFWIDTH field configures the width of the interface in STN mode: 4-bit (in single
scan mode only), 8-bit and 16-bit (in dual scan mode only).
48.6.2.8
Timegen
The time generator block generates the control signals LCDDOTCK, LCDHSYNC, LCDVSYNC,
LCDDEN, and LCDMOD, used by the LCD module. This block is programmable in order to sup-
port different types of LCD modules and obtain the output clock signals, which are derived from
the LCDC Core clock.
The LCDMOD signal provides an AC signal for the display. It is used by the LCD to alternate the
polarity of the row and column voltages used to turn the pixels on and off. This prevents the liq-
uid crystal from degradation. It can be configured to toggle every frame (bit MMODE = 0 in
LCDMVAL register) or to toggle every programmable number of LCDHSYNC pulses (bit
MMODE = 1, number of pulses defined in MVAL field of LCDMVAL register).
Figure 48-3. Full Frame Timing, MMODE=1, MVAL=1
N+2
green_data_1
1010
3
0110
LCDD[3]
g1
N+2
blue_data_1
1010
2
0110
LCDD[2]
B1
……
…
Table 48-13. Dithering Algorithm for Color Mode (Continued)
Frame
Signal
Shadow Level
Bit used
Dithering Pattern
4-bit LCDD
8-bit LCDD
Output
f
LCD_MOD
f
LCD_HSYNC
2
MVAL
1
+
()
×
----------------------------------------
=
LCDVSYNC
LCDMOD
LCDDOTCK
Line1
Line2
Line3
Line4
Line5