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

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
MSM6222B-xx
Initial Setting of Instruction
(1) When data input/output to and from the CPU is carried out by 8 bits (DB
to DB
):
0
7
q Turn on the power.
w Wait for 15 ms or more after V
has reached 4.5V or more.
DD
e Set 8B/4B at "H" by initial setting of instruction.
r Wait for 4.1 ms or more.
t Set 8B/4B at "H" by initial setting of instruction.
y Wait for 100 ms or more.
u Set 8B/4B at "H" by initial setting of instruction.
i Check the busy flag as No Busy.
o Set 8B/4B at "H". Set LCD line number (N) and character font (F).
(After this, do not change the LCD line number and character font.)
!0 Check No Busy.
!1 Clear the display by setting the display mode.
!2 Check No Busy.
!3 Clear the display.
!4 Check No Busy.
!5 Set the shift mode.
!6 Check No Busy.
!7 Initial setting completed.
Example of Instruction Code for Steps e, t, and u.
R/W
RS
DB
DB
DB
DB
DB
DB
DB
DB
7
6
5
4
3
2
1
0
L
L
L
L
H
H
X
X
X
X
X : Don't Care
41/45

Related parts for MSM6222