MSM6222 OKI [OKI electronic componets], MSM6222 Datasheet - Page 30

no-image

MSM6222

Manufacturer Part Number
MSM6222
Description
DOT MATRIX LCD CONTROLLER WITH 16-DOT COMMON DRIVER AND 40-DOT SEGMENT DRIVER
Manufacturer
OKI [OKI electronic componets]
Datasheet
¡ Semiconductor
(5) Cursor and display shift
(6) Initial setting
When D/C = "L" and R/L = "L", the cursor and blink positions are shifted to the left by
1 character position (ADC is decremented by 1).
1 character position (ADC is incremented by 1).
position. The cursor and blink positions are also shifted with the display (ADC remains
unchanged).
position. The cursor and blink positions are also shifted with the display (ADC remains
unchanged).
the second line when the cursor is shifted to the right next to the fortieth digit (27; hex.)
in the first line. No such shifting is made in other cases.
no case shifted between lines (from the first to the second line or vice versa).
When D/C = L and R/L = "H", the cursor and blink positions are shifted to the right by
When D/C = "H" and R/L = "L", the entire display is shifted to the left by 1 character
When D/C = "H" and R/L = "H", the entire display is shifted to the right by 1 character
In the 2-line display mode, the cursor and blink positions are shifted from the first to
When shifting the entire display, the display pattern, cursor, and blink positions are in
The execution time, when the OSC oscillation frequency is 250 kHz, is 40 ms.
1 When 8B/4B = "H", the data input/output to and from the CPU is carried out
2 The 2-line display mode of the LCD is selected when N = "H", while the 1-line
3 The 5 x 7 dots character font is selected when F = "L", while the 5 x 10 dots character
Instruction code
Instruction code
simultaneously by means of 8 bits DB
When 8B/4B = "L", the data input/output to and from the CPU is carried out in two
steps through 4 bits of DB
display mode is selected when N = "L".
font is selected when F = "H" and N = "L".
This initial setting has to be accessed prior to other instructions except for the busy
flag read after the power is supplied to the MSM6222B-xx.
N
H
H
L
L
F
H
H
L
L
X : Don't Care
R/W
display lines
X : Don't Care
L
R/W
Number of
L
1 - line
1 - line
2 - line
2 - line
RS
L
RS
L
DB
L
DB
7
L
7
7
DB
to DB
L
DB
Character
5 x 7 dots
5 x 10 dots
5 x 7 dots
5 x 7 dots
6
L
6
font
DB
L
DB
4
H
5
.
5
DB
8B/4B
H
7
DB
4
to DB
4
DB
D/C
DB
Duty
ratio
1/8
1/11
1/16
1/16
N
3
3
0
.
DB
R/L
DB
2
F
2
DB
of biases
Number
X
DB
X
1
1
4
4
5
5
DB
X
DB
X
0
0
COMMOM signals
MSM6222B-xx
Number of
11
16
16
8
30/45

Related parts for MSM6222