SPLC782A
5.5. 4-Bit Operation and 16-Digit 1-Line Display (Using Internal Reset)
Sunplus Technology Co., Ltd.
Proprietary & Confidential
10
FEB. 15, 2005
Version: 1.7
NO.
Instruction
Display
Operation
1
Power
on.
(SPLC782A
starts
initializing)
Power on reset. No display.
2
Function set
RS R/W
DB7
DB6 DB5
0
0
1
0
0
0
DB4
Set to 4-bit operation.
3
Function set
Fo PARTMNERUseOny
0
0
1
0
0
0
0
0
X
X
0
0
Set to 4-bit operation and select 1-line display line and character font.
4
Display on / off control
SunpusConidenia
0
0
0
0
0
0
1
1
1
0
0
0
_
Display on.
Cursor appears.
5
Entry mode set
0
0
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.
6
Write data to CG RAM / DD RAM
0
1
0
1
1
0
0
1
1
1
1
0
W
_
Write " W ".
The cursor is incremented by one and shifted to the right.
Figure 5-18:
4-Bit Operation and 16-Digit 1-Line Display
5.6. 8-Bit Operation and 16-Digit 2-Line Display (Using Internal Reset)
NO.
Instruction
Display
Operation
1
Power on. (SPLC782A starts initializing)
Power on reset. No display.
2
Function set
RS R/W
DB7
DB6 DB5 DB4 DB3 DB2 DB1 DB0
0
0
1
1
1
0
X
X
0
0
Set to 8-bit operation and select 2-line display line and 5 x 7 dot
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
:
:
7
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.
8
Set DD RAM address
1
1
0
0
0
0
0
0
0
0
WELCOME
_
It sets DD RAM's address.
The cursor is moved to the beginning position of the 2nd line.
9
Write data to CG RAM / DD RAM
0
1
0
1
0
1
0
0
1
0
WELCOME
T_
Write " T ".
The cursor is incremented by one and shifted to the right.
10
:
:
11 Write data to CG RAM / DD RAM
0
1
0
1
0
1
0
0
1
0
WELCOME
TO PART_
Write " T ".
The cursor is incremented by one and shifted to the right.