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
0
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
0
0
COMMAND6
Display control 3
1
1
1
0
MOD
3
MOD
2
MOD
1
MOD
0
0
0
0
0
IOS
BCL
1
BCL
0
CB
COMMAND7
Display control 4
1
1
1
1
0
0
0
LINS
0
0
LIN
5
LIN
4
LIN
3
LIN
2
LIN
1
LIN
0
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.
1
COMMAND0: Display Memory Write Address Setting Mode
First data byte
Register content
DA0 to DA7
Register name
State
Function
Note
7
—
1
6
—
0
The command 0 identification code:
sets the display memory write address.
5
—
0
4
—
0
3
V3
0
1
2
V2
0
1
Display memory line address (from 0 to B (hexadecimal))
1
V1
0
1
0
V0
0
1
No. 4453-6/14
LC74760, 74760M