
ST7036
Instructions
There are four categories of instructions that:
z
Designate ST7036 functions, such as display format, data length, etc.
z
Set internal RAM addresses
z
Perform data transfer with internal RAM
z
Others
instruction table at “Normal mode”
(when “EXT” option pin connect to V
DD
, the instruction set follow below table)
V1.1
2003/12/24
26/72
Instruction Code
Instruction
Execution Time
OSC=
380kHz
540kHz
Instruction
RS R/W DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
Description
OSC=
OSC=
700kHz
Clear
Display
0
0
0
0
0
0
0
0
0
1
Write "20H" to DDRAM. and set
DDRAM address to "00H" from AC
1.08
ms
0.76
ms
0.59
ms
Return
Home
0
0
0
0
0
0
0
0
1
X
Set DDRAM address to "00H" from
AC and return cursor to its original
position if shifted. The contents of
DDRAM are not changed.
1.08
ms
0.76
ms
0.59
ms
Entry Mode
Set
0
0
0
0
0
0
0
1
I/D
S
Sets cursor move direction and
specifies display shift. These
operations are performed during
data write and read.
26.3 μs 18.5 μs 14.3 μs
Display
ON/OFF
0
0
0
0
0
0
1
D
C
B
D=1:entire display on
C=1:cursor on
B=1:cursor position on
26.3 μs
18.5 μs 14.3 μs
Cursor or
Display Shift
0
0
0
0
0
1
S/C R/L
X
X
S/C and R/L:
Set cursor moving and display shift
control bit, and the direction, without
changing DDRAM data.
26.3 μs
18.5 μs 14.3 μs
Function Set
0
0
0
0
1
DL
N
X
X
X
DL: interface data is 8/4 bits
N: number of line is 2/1
26.3 μs
18.5 μs 14.3 μs
Set CGRAM
0
0
0
1
AC5 AC4 AC3 AC2 AC1 AC0
Set CGRAM address in address
counter
26.3 μs
18.5 μs 14.3 μs
Set DDRAM
Address
0
0
1
AC6 AC5 AC4 AC3 AC2 AC1 AC0
Set DDRAM address in address
counter
26.3 μs
18.5 μs 14.3 μs
Read Busy
Flag and
Address
0
1
BF AC6 AC5 AC4 AC3 AC2 AC1 AC0
Whether during internal operation or
not can be known by reading BF.
The contents of address counter
can also be read.
0
0
0
Write Data
to RAM
Read Data
from RAM
Note:
Be sure the ST7036 is not in the busy state (BF = 0) before sending an instruction from the MPU to the ST7036.
If an instruction is sent without checking the busy flag, the time between the first instruction and next instruction
will take much longer than the instruction time itself. Refer to Instruction Table for the list of each instruction
execution time.
1
0
D7 D6
D5 D4
D3
D2
D1
D0
Write data into internal RAM
(DDRAM/CGRAM)
26.3 μs
18.5 μs 14.3 μs
1
1
D7 D6
D5 D4
D3
D2
D1
D0
Read data from internal RAM
(DDRAM/CGRAM)
26.3 μs
18.5 μs 14.3 μs