11 / 16 page
SC204A
VER2.1
Instruction table
Instruction Code
Instruction
RS RW D7 D6
D5
D4
D3
D2
D1
D0
Description
Execution time
(fosc=270KHz)
Clear
Display
0
0
0
0
0
0
0
0
0
1
Write "20H" to DDRAM and
set DDRAM address to
"OOH" from AC
1.52ms
Return
Home
0
0
0
0
0
0
0
0
1
-
Set DDRAM address to
"OOH" from AC and return
cursor to its original
position if shifted. The
contents of DDRAM are
not changed.
1.52ms
Entry
Mode
Set
0
0
0
0
0
0
0
1
I/D
S
Assign cursor moving
direction and enable the
shift of entire display
38us
Display
ON/
OFF
0
0
0
0
0
0
1
D
C
B
Set display(D), cursor(C),
and blinking of cursor(B)
on/off control bit.
38us
Cursor or
Display
Shift
0
0
0
0
0
1
S/C R/L -
-
Set cursor moving and
display shift control bit,
and the direction, without
changing of DDRAM data.
38us
Function
Set
0
0
0
0
1
DL
N
F
-
-
Set interface data length
(DL: 8-bit/4-bit), numbers
of display line (N: 2-line/1-
line) and, display font type
(F:5x10dots/5x8dots)
38us
Set
CGRAM
Address
0
0
0
1
AC5 AC4 AC3 AC2 AC1 ACO Set CGRAM address in
address counter.
38us
Set
DDRAM
Address
0
0
1
AC6 AC5 AC4 AC3 AC2 AC1 ACO Set DDRAM address in
counter
38us
Read
Busy
Flag and
Address
Counter
0
1
BF AC6 AC5 AC4 AC3 AC2 AC1 ACO Whether during internal
operation or not can be
known by reading BF.
The contents of address
counter can also be read.
38us
Write Data
to
RAM
1
0
D7 D6
D5
D4
D3
D2
D1
DO
Write data into internal
RAM (DDRAM/CGRAM).
38us
Read Data
from RAM
1
1
D7 D6
D5
D4
D3
D2
D1
DO
Read data from internal
RAM (DDRAM/CGRAM).
38us
Akihabara Inc. www.akiba-tech.com
Page 12 of 12