236
8018P–AVR–08/10
ATmega169P
To energize a segment, an absolute voltage above a certain threshold must be applied. This is
done by letting the output voltage on corresponding COM pin and SEG pin have opposite phase.
For display with more than one common, one (1/2 bias) or two (1/3 bias) additional voltage lev-
els must be applied. Otherwise, non-energized segments on COM0 would be energized for all
non-selected common.
Addressing COM0 starts a frame by driving opposite phase with large amplitude out on COM0
compared to none addressed COM lines. Non-energized segments are in phase with the
addressed COM0, and energized segments have opposite phase and large amplitude. For
LCDDR0 is multiplexed into the decoder. The decoder is controlled from the LCD timing and
sets up signals controlling the analog switches to produce an output waveform. Next, COM1 is
addressed, and latched data from LCDDR9 - LCDDR5 is input to decoder. Addressing continu-
ous until all COM lines are addressed according to number of common (duty). The display data
are latched before a new frame start.
23.2.5
LCD Contrast Controller/Power Supply
The peak value (V
LCD) on the output waveform determines the LCD Contrast. VLCD is controlled
by software from 2.6V to 3.35V independent of V
CC. An internal signal inhibits output to the LCD
until V
LCD has reached its target value.
23.2.6
LCDCAP
An external capacitor (typical > 470 nF) must be connected to the LCDCAP pin as shown in
Fig-ure 23-2. This capacitor acts as a reservoir for LCD power (V
LCD). A large capacitance reduces
ripple on V
LCD but increases the time until VLCD reaches its target value.
It is possible to use an external power supply. This power can be applied to LCDCAP before
V
CC. Externally applied VLCD can be both above and below VCC. Maximum VLCD is 5.5V.
Figure 23-2. LCDCAP Connection
23.2.7
LCD Buffer Driver
Intermediate voltage levels are generated from buffers/drivers. The buffers are active the
250. Then LCD output pins are tri-stated and buffers are switched off. Shortening the drive time
will reduce power consumption, but displays with high internal resistance or capacitance may
need longer drive time to achieve sufficient contrast.
3
2
1
64
63
62
LCDCAP
V
LCD
(Optional)