SPLC782A
© Sunplus Technology Co., Ltd.
Proprietary & Confidential
9
FEB. 15, 2005
Version: 1.7
5.4. 8-Bit Operation and 16-Digit 1-Line Display (Using Internal Reset)
NO.
Instruction
Display
Operation
1 Power on. (SPLC782A starts initializing)
Power on reset. No display.
2 Function set
DB7
RS R/W
DB6 DB5 DB4 DB3 DB2 DB1 DB0
0
0
1
1
0
0
X
X
0
0
Set to 8-bit operation and select 1-line display line and character font.
3 Display on / off control
0
0
0
0
1
1
1
0
0
0
_
Display on.
Cursor appear.
4 Entry mode set
0
0
0
0
0
1
1
0
0
0
_
Increase address by one.
It will shift the cursor to the right when writing to the DD RAM/CG RAM.
Now the display has no shift.
5 Write data to CG RAM / DD RAM
0
1
0
1
0
1
1
1
1
0
W
_
Write " W ".
The cursor is incremented by one and shifted to the right.
6 Write data to CG RAM / DD RAM
0
1
0
0
0
1
0
1
1
0
WE
_
Write " E ".
The cursor is incremented by one and shifted to the right.
7
:
:
8 Write data to CG RAM / DD RAM
0
1
0
0
0
1
0
1
1
0
WELCOME
_
Write " E ".
The cursor is incremented by one and shifted to the right.
9 Entry mode set
0
0
0
0
0
1
1
1
0
0
WELCOME
_
Set mode for display shift when writing
10 Write data to CG RAM / DD RAM
0
0
1
0
0
0
0
0
1
0
ELCOME
_
Write "
"(space).
The cursor is incremented by one and shifted to the right.
11 Write data to CG RAM / DD RAM
0
1
0
0
0
0
1
1
1
0
LCOME C
_
Write " C ".
The cursor is incremented by one and shifted to the right.
12
:
:
13 Write data to CG RAM / DD RAM
0
1
0
1
1
0
0
1
1
0
COMPAMY
_
Write " Y ".
The cursor is incremented by one and shifted to the right.
14 Cursor or display shift
0
0
0
1
0
0
X
X
0
0
COMPAMY
_
Only shift the cursor's position to the left (Y).
15 Cursor or display shift
0
0
0
1
0
0
X
X
0
0
COMPAMY
_
Only shift the cursor's position to the left (M).
16 Write data to CG RAM / DD RAM
0
1
0
0
1
1
1
0
1
0
COMPANY
_
Write " N ".
The display moves to the left.
17 Cursor or display shift
0
0
0
1
1
1
X
X
0
0
COMPANY
_
Shift the display and the cursor's position to the right.
18 Cursor or display shift
0
0
0
1
0
1
X
X
0
0
COMPANY
_
Shift the display and the cursor's position to the right.
19 Write data to CG RAM / DD RAM
0
1
0
0
0
0
0
0
1
0
COMPANY
_
Write " " (space).
The cursor is incremented by one and shifted to the right.
20
:
:
21 Return home
0
0
0
0
0
0
1
0
0
0
WELCOME
Both the display and the cursor return to the original position (address
0).
Figure 5-17: 8-Bit Operation and 16-Digit 1-Line Display
Sunplus
Confidential
For
PARTMINER
Use
Only