
ST7038
Ver 1.1
30/61
2007/01/25
Read Status
BF: Busy Flag
When BF is
“
H
”
, it indicates that the internal operation is processing. So the next instruction(s) cannot be accepted until
BF=
”
L
”
. Be sure to check BF bit before issuing next instruction. In serial interface mode (including I
2
C mode), please use
delay to avoid the next instruction conflict with the internal operation.
AC: Address Counter
In parallel interface modes the Address Counter (AC) can be read by MPU on DB6~DB0. The AC stores DDRAM/CGRAM
address which is transferred from IR. After each byte access (read/write) with DDRAM/CGRAM, AC is adjusted by 1
automatically (increase or decrease is controlled by the setting of Entry Mode).
Write Data to CGRAM, DDRAM or ICON RAM
This operation writes binary 8-bit data to CGRAM, DDRAM or ICON RAM. The selection of RAM (DDRAM, CGRAM or ICON
RAM) is controlled by the previous
“
Set xxxxx Address
”
instruction (Set DDRAM Address, Set CGRAM Address, Set ICON
RAM Address).
RAM set instruction can also determine the AC direction to RAM.
After write operation, the address is adjusted by 1 automatically (increase or decrease is controlled by the setting of Entry
Mode).
Read Data from DDRAM, CGRAM or ICON RAM
This operation reads binary 8-bit data from DDRAM, CGRAM or ICON RAM. The selection of RAM (DDRAM, CGRAM or
ICON RAM) is controlled by the previous
“
Set xxxxx Address
”
instruction. Make sure the selected RAM (DDRAM, CGRAM or
ICON RAM) is correct before read data operation.
Instruction Table 0, IS[1:0]=(0,0)
Cursor or Display Shift
This instruction is different from the
“
Entry Mode Set
”
instruction. The shift is performed immediately right after receiving this
instruction. The data search or data correction in applications can be easily achieved by using screen and cursor shift.
S/C
R/L
Description
AC Value
L
L
Shift cursor left.
AC=AC-1
L
H
Shift cursor right.
AC=AC+1
H
L
Shift Screen (current display) left.
Cursor follows the screen to shift left.
AC=AC
H
H
Shift Screen (current display) right.
Cursor follows the screen to shift right.
AC=AC