PEDL9040A-03
¡ Semiconductor
ML9040A-Axx/-Bxx
(2) When data input/output to and from the CPU is carried out by 4 bits (DB to DB ):
4
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 by initial setting of instruction.
r Wait for 4.1 ms or more.
t Set 8B by initial setting of instruction.
y Wait for 100 ms or more.
u Set 8B by initial setting of instruction.
i Check the busy flag as No Busy.
o Set 4B by initial setting of instruction.
! Wait for 100 ms or more.
! Set 4B, LCD line number (N) and character font (F) by initial setting of instruction.
(After this, the LCD line number and character font cannot be changed.)
! Check No Busy.
! Clear the display by setting the display mode.
! Check No Busy.
! Clear the display.
! Check No Busy.
! Set the shift mode.
! Check No Busy.
! Initialization completed.
Example of Instruction Code for Steps e, t, and u.
R/W RS DB7 DB6 DB5 DB4
L
L
L
L
H
H
Example of Instruction Code for Step o.
R/W RS DB7 DB6 DB5 DB4
L
L
L
L
H
L
Example of Instruction Code for Step i.
RS1 RS0 R/W DB7 DB6 DB5 DB4
H
L
H
BF Q6 Q5 Q4
Execute two-step accesses in 4 bits from Step ! to Step !.
45/49