2010-2013 Microchip Technology Inc. DS30009740B-page 39
Liquid Crystal Display (LCD)
13.0 OPERATION DURING SLEEP
The LCD module can operate during Sleep. The selection is controlled by the SLPEN bit
(LCDCON<6>). Setting the SLPEN bit allows the LCD module to go to Sleep. Clearing the
SLPEN bit allows the module to continue to operate during Sleep.
If a SLEEP instruction is executed and SLPEN = 1, the LCD module will cease all functions and
go into a very Low-Current Consumption mode. The module will stop operation immediately and
drive the minimum LCD voltage on both segment and common lines. Figure 13-1 shows this
operation.
The LCD module current consumption will not decrease in this mode, but the overall consumption
of the device will be lower due to the shutdown of the core and other peripheral functions.
To ensure that no DC component is introduced on the panel, the SLEEP instruction should be
executed immediately after a LCD frame boundary. The LCD interrupt can be used to determine
the frame boundary. See Section 11.0 “LCD Interrupts” for the formulas to calculate the delay.
If a SLEEP instruction is executed and SLPEN = 0, the module will continue to display the current
contents of the LCDDATAx registers. The LCD data cannot be changed.
Figure 13-1: Sleep Entry/Exit when SLPEN = 1 or CS<1:0> = 00
SLEEP
Instruction Execution
Wake-up
2 Frames
V
3
V
2
V
1
V
0
V
3
V
2
V
1
V
0
V
3
V
2
V
1
V
0
V
3
V
2
V
1
V
0
COM0
COM1
COM2
SEG0