SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
MITSUBISHI MICROCOMPUTERS
38C1 Group
30
LCD DRIVE CONTROL CIRCUIT
The 38C1 group has the built-in Liquid Crystal Display (LCD) drive
control circuit consisting of the following.
LCD display register
Segment output enable register
LCD mode register
Selector
Timing controller
Common driver
Segment driver
Bias control circuit
A maximum of 25 segment output pins and 4 common output pins
can be used.
Up to 100 pixels can be controlled for LCD display. When the LCD
enable bit is set to
“
1
”
after data is set in the LCD mode register,
Fig. 29 Structure of segment output enable register and LCD mode register
the segment output enable register and the LCD display register,
the LCD drive control circuit starts reading the display data auto-
matically, performs the bias control and the duty ratio control, and
displays the data on the LCD panel.
Table 7. Maximum number of display pixels at each duty ratio
Maximum number of display pixel
25 dots
or 8 segment LCD 3 digits
50 dots
or 8 segment LCD 6 digits
75 dots
or 8 segment LCD 9 digits
100 dots
or 8 segment LCD 12 digits
Duty ratio
1
2
3
4
S
b
0
0
0
0
0
1
1
1
1
1
1
1
1
N
(
D
e
3
g
b
0
0
0
0
1
0
0
0
0
1
1
1
1
o
o
m
2
b
0
0
1
1
0
0
1
1
0
0
1
1
t
u
n
e
1
:
0 :
1 :
0 :
1 :
0 :
1 :
0 :
1 :
s
e
o
t
n
0
t
o
u
t
p
u
t
e
n
a
b
l
e
b
i
t
0
b
0 :
1 :
0 :
1 :
S
S
S
S
S
S
S
S
S
S
S
S
S
E
E
E
E
E
E
E
E
E
E
E
E
E
G
8
–
G
4
–
G
2
–
G
1
–
G
0
–
G
0
–
G
0
–
G
0
–
G
0
–
G
0
–
G
0
–
G
0
–
G
0
–
S
S
S
S
S
S
S
S
S
S
S
S
S
E
E
E
E
E
E
E
E
E
E
E
E
E
G
1
G
1
G
1
G
1
G
1
G
1
G
1
G
1
G
2
G
2
G
2
G
2
G
2
6
6
6
6
6
7
8
9
0
1
2
3
4
E
E
E
E
E
E
E
E
E
E
E
E
E
n
n
n
n
n
n
n
n
n
n
n
n
n
a
a
a
a
a
a
a
a
a
a
a
a
a
b
b
b
b
b
b
b
b
b
b
b
b
b
l
l
l
l
l
l
l
l
l
l
l
l
l
e
e
e
e
e
e
e
e
e
e
e
e
e
d
d
d
d
d
d
d
d
d
d
d
d
d
d
w
r
i
t
e
“
1
”
t
o
t
h
e
s
e
b
i
t
s
)
S
(
S
e
g
E
m
G
e
:
n
a
t
d
o
d
u
r
t
e
p
s
u
s
t
0
e
n
0
a
3
b
8
1
l
e
6
,
r
i
e
n
g
i
t
i
i
s
a
t
l
e
v
r
a
l
u
e
:
0
0
1
6
)
b
7
b0
L
(
C
L
D
:
m
a
o
d
d
d
e
r
r
s
e
s
g
i
0
s
t
e
3
r
9
1
M
e
0
6
,
i
n
i
t
i
a
l
v
a
l
u
e
:
0
0
1
6
)
Duty ratio selection bits
b1b0
0 0 : 1 duty (static)
0 1 : 2 duty
1 0 : 3 duty
1 1 : 4 duty
Bias control bit (Note 2)
0 : 1/3 bias
1 : 1/2 bias
LCD enable bit
0 : LCD OFF
1 : LCD ON
Not used
(Do not write
“
1
”
to this bit.)
LCD circuit divider division ratio selection bits
b6b5
0 0 : Clock input
0 1 : 2 division of Clock input
1 0 : 4 division of Clock input
1 1 : 8 division of Clock input
LCDCK count source selection bit (Note 3)
0 : f(X
CIN
)/32
1 :
φ
SOURCE
/8192
Notes 1:
Set the direction register of the port which is also used as the segment output enabled pin to
“
1
”
.
2:
When
“
1 duty
”
is selected by the duty ratio selection bit, set the bias control bit to
“
1
”
.
3:
LCDCK is a clock for a LCD timing controller.
φ
SOURCE
represents the oscillation frequency of X
IN
input in the middle- and high-speed mode,
built-in ring oscillator in the ring oscillator mode, and sub-clock in the low-speed mode.
b
7
b
0
(Note 1)