Chapter 14 LCD Functions
XIV - 20 Operation
14-3-4
Frame Cycle
nSetup of the LCD frame cycle
The clock fosc or fx is divided by the prescaler and supplied as the LCD clock. Set the LCD clock with bit0
to 3 and set the LCD frame cycle with bit4 to 5 of the LCDMD1 register. Table 14-3-4 shows reference
input frequencies and the matching of the LCD clock and the LCD frame cycle.
Table 14-3-4 Input Frequency and the LCD Clock
Input clock
LCDCK3 to 0
LCDTY1 to 0
Duty
0000
(OSC1/211)
0001
(OSC1/212)
0010
(OSC1/213)
0011
(OSC1/214)
0100
(OSC1/215)
0101
(OSC1/216)
0110
(OSC1/217)
0111
(OSC1/218)
1
×00
(XI/2)
1
×01
(XI/27)
1
×10
(XI/28)
1
×11
(XI/29)
00 (1/4 duty)
01 (1/3 duty)
10 (1/2 duty)
11 (static)
00 (1/4 duty)
01 (1/3 duty)
10 (1/2 duty)
11 (static)
00 (1/4 duty)
01 (1/3 duty)
10 (1/2 duty)
11 (static)
00 (1/4 duty)
01 (1/3 duty)
10 (1/2 duty)
11 (static)
00 (1/4 duty)
01 (1/3 duty)
10 (1/2 duty)
11 (static)
00 (1/4 duty)
01 (1/3 duty)
10 (1/2 duty)
11 (static)
00 (1/4 duty)
01 (1/3 duty)
10 (1/2 duty)
11 (static)
00 (1/4 duty)
01 (1/3 duty)
10 (1/2 duty)
11 (static)
00 (1/4 duty)
01 (1/3 duty)
10 (1/2 duty)
11 (static)
00 (1/4 duty)
01 (1/3 duty)
10 (1/2 duty)
11 (static)
00 (1/4 duty)
01 (1/3 duty)
10 (1/2 duty)
11 (static)
00 (1/4 duty)
01 (1/3 duty)
10 (1/2 duty)
11 (static)
Input frequency
20 MHz
16 MHz
8 MHz
4 MHz
32.768 kHz
LCD clock
frame
LCD clock
frame
LCD clock
frame
LCD clock
flame
LCD clock
frame
3906 Hz
1953 Hz
977 Hz
488 Hz
1953 Hz
977 Hz
488 Hz
244 Hz
610 Hz
305 Hz
153 Hz
76 Hz
488 Hz
244 Hz
122 Hz
61 Hz
244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