
Display Control Commands
Display control commands are input in an 8-bit serial format. Commands consist of a command identification code in the
first byte and data in the second and following bytes. The following commands are supported.
1
2
3
4
5
6
7
8
COMMAND0: Display memory (VRAM) write address setting command
COMMAND1: Display character data write command
COMMAND2: Vertical display start position and character size (lines 1 and 2) setting command
COMMAND3: Horizontal display start position and character size (lines 9 and 11) setting command
COMMAND4: Display control setting command 1
COMMAND5: Display control setting command 2
COMMAND6: Display control setting command 3
COMMAND7: Display control setting command 4
Display Control Command Table
First byte
Second byte
Command
Command identification code
Data
Data
7
6
5
4
3
2
1
0
7
6
5
4
3
2
1
0
COMMAND0
Write address
1
0
0
0
V3
V2
V1
V0
0
0
0
H4
H3
H2
H1
H0
COMMAND1
Character write
1
0
0
1
0
0
at2
at1
c7
c6
c5
c4
c3
c2
c1
c0
COMMAND2
Vertical display start position
1
0
1
0
SZ
21
SZ
20
SZ
11
SZ
10
0
0
VP
5
VP
4
VP
3
VP
2
VP
1
VP
0
COMMAND3
Horizontal display start position
1
0
1
1
SZ
B1
SZ
B0
SZ
91
SZ
90
0
0
HP
5
HP
4
HP
3
HP
2
HP
1
HP
0
COMMAND4
Display control 1
1
1
0
0
RST
RAM
OSC
RND
0
I/N
BLK
1
BLK
0
BK
1
ATS
0
DSP
COMMAND5
Display control 2
1
1
0
1
PH
2
PH
1
PH
0
I/E
0
TST
CHAL
BLK
RSL
1
RSL
0
CVM
XTS
COMMAND6
Display control 3
1
1
1
0
MOD
3
MOD
2
MOD
1
MOD
0
0
HFI
M30S SMS
IOS
BCL
1
BCL
0
CB
COMMAND70
Display control 4
1
1
1
1
0
0
0
LINS
0
VCOS
1
LIN
5
LIN
4
LIN
3
LIN
2
LIN
1
LIN
0
COMMAND71
Display control 5
1
1
1
1
0
1
0
LINS
0
EG
2
PS
2
PS
1
VMN
SVIS
VNS
VSS
COMMAND72
Display control 6
1
1
1
1
1
0
0
LINS
0
0
0
0
MOD
3
MOD
2
MOD
1
MOD
0
COMMAND73
Display control 7
1
1
1
1
1
1
0
LINS
0
0
0
0
VCOS SOUT VOUT
HOUT
2
Once the command identification code in the first bite is written, it is stored internally until the first byte of the following
command is written. However, when the display character data write command (COMMAND1) is written, the system
becomes locked in display character data write mode, and the first byte cannot be overwritten.
When the CS pin is set high the command state is set to COMMAND0, i.e., display memory write address setting mode.
No. 4846-6/20
LC74761, 74761M