Datasheet
2009-2011 Microchip Technology Inc. DS39957D-page 281
PIC18F87K90 FAMILY
20.3 LCD Bias Types
The LCD module can be configured in one of three bias
types:
• Static bias (two voltage levels: V
SS and VDD)
• 1/2 bias (three voltage levels: VSS, 1/2 VDD and
V
DD)
• 1/3 bias (four voltage levels: VSS, 1/3 VDD,
2/3 V
DD and VDD)
LCD bias voltages can be generated with an internal or
external resistor ladder. The internal resistor ladder
eliminates the external solution’s use of up to three
pins.
If the internal reference ladder is used to generate bias
voltages, it also can provide software contrast control
(using LCDCST<2:0>). An external resistor ladder can
not do this.
20.3.1 EXTERNAL RESISTOR BIASING
The external resistor ladder should be connected to the
VLCD1 pin (Bias 1), VLCD2 pin (Bias 2), VLCD3 pin
(Bias 3) and VSS. The VLCD3 pin is used to set the
highest voltage to the LCD glass and can be connected
to V
DD or a lower voltage.
Figure 20-3 shows the proper way to connect the
resistor ladder to the Bias pins.
FIGURE 20-3: LCD BIAS EXTERNAL RESISTOR LADDER CONNECTION DIAGRAM
VLCD3
VLCD2
VLCD1
VLCD0
To
LCD
Driver
Connections for External R-ladder
10 k*10k*10k*
LCD Bias 2 LCD Bias 1
LCD Bias 3
* These values are provided for design guidance only and should be optimized for the application by the designer.
AVSS
Static
Bias
1/2 Bias 1/3 Bias
VLCD0 AV
SS AVSS AVSS
VLCD1 — 1/2 AVDD 1/3 AVDD
VLCD2 — 1/2 AVDD 2/3 AVDD
VLCD3 AVDD AVDD AVDD
10 k*10k*
AVSS
AVDD*
AVDD*
AVDD*
Static Bias
1/2 Bias
1/3 Bias