
LCD CONTROLLER with VRAM
M66273FP
MITSUBISHI <DIGITAL ASSP>
Ver.3.1 Dec,1999
0
D7
C1
D6
C0
D5
C1
D4
C0
D3
C1
D2
C0
Description of gray scale function
Set gray scale mode by register (GRAY="1").
Gray scale assign 2bits of VRAM to 1dot of LCD and displaying
4density.
ex.) for 8bit-MPU 1 Address
VRAM data
Pack
Set the same pattern for each 4 or 8 frames period in 16 frames.
So enable to decrease frame numbers of gray scale period.
Still more, set the same gray scale pattern table in frame unit, so enable
to display thinned-out frame method.
When thinned-out 1frame from continuous 4frames, the following are
example of setting pattern table.
D1
C1
D0
C0
Contents of display
Display OFF
Followed gray scale pattern table 0
Followed gray scale pattern table 1
Display ON
C1
0
0
1
1
C0
0
1
0
1
VRAM data
1 1 1 0 0 1 0
0
1 1
0 0 0 1 1 0
D7
D0
D7
D0
n Address
n+1 Address
3
2
1
0
3
0
1
2
Gray scale
Image of LCD
Upper figure are image of gray scale display of LCD and VRAM data,
actually controlling pseudo medium gray scale.
Setting of gray scale pattern table
Gray scale pattern table 0, 1 a used for controlling display density. It set
to control register R17-R80 (SRAM configuration).
Gray scale pattern set 16 patterns for 1 medium gray scale (1 pattern =
4dots x 4lines matrix).
It need to set 32 patterns (64 byte) because 2 medium gray scale.
Medium gray scale period is a maximum of 16 frames.
Example of gray scale pattern
The following are example of gray scale pattern. (Select 4dots from
1matrix, and each dot set equally in 1 period.)
1st frame
2nd frame
1st line
2nd line
3rd line
4th line
3rd frame
4th frame
C1
0
C0
1
C1
0
C0
1
C1
C0
Pack
VRAM data
C1
0
C0
1
1
5th frame
6th frame
7th frame
8th frame
9th frame
10th frame
11th frame
12th frame
13th frame
14th frame
15th frame
16th frame
When VRAM data are following, VD output 1 for only dot.
Gray scale pattern of
1st line in 1st frame
Displaying data VD
Gray scale pattern of
1st line in 2nd frame
Displaying data VD
1
0
0
0
0
0
0
1
1st frame
2nd frame
3rd frame
4th frame
4 Frames
Thinned-out
frame
Turn on frame
t
When use thinned-out frame, distribute thinned-out equally, and avoid
thinned-out continuous frame together.
Gray scale function use the features of liquid crystal changed
brightness by practical voltage.
The following are gray scale patterns for each frame, and the relation
between brightness and practical voltage.
White
(0,0)
Light gray
(0,1)
Gray
(1,0)
Black
(1,1)
~
~
~
~
V
0
V
1
V
2
V
3
Practical voltage
Practical voltage
Brightness
V
3
V
2
V
1
V
0
White
Light gray
Gray
Black
20