LC868900/10/50/60
No.6709-15/20
8. Set cursor (upper) address (RAM read / write upper address)
Write code '0BH' (in hexadecimal notation) into the instruction register and the upper cursor address register.
REGISTER R / W
Instruction
Upper
RS
1
0
DB7
0
0
DB6
0
DB5
0
DB4
0
DB3
1
DB2
0
DB1 DB0
1
0
0
1
Upper cursor address
This instruction writes the cursor address value in the cursor address counter. The curosr address indicates
the address for exchanging display data with display RAM. In other words, data at the address specified by
the cursor address is read form or written into display RAM. The cursor address in divided into an upper
addres (7 bits).
The cursor upper address counter is a 7-bit down-counter with preset funciton. The cursor upper address is
decreased by one when cursor lower address has an underflow. When the cursor upper address is decreased
during 0 state, it is set cursor upper address number automatically.
9. Writing display data
Write code '0EH' (in hexadecimal notation) into the instruction register.
REGISTER R / W
Instruction
RAM
RS
1
0
DB7
0
DB6
0
MSB
DB5
0
DB4
0
DB3
1
DB2
1
DB1 DB0
1
LSB
0
0
0
After writing code '0EH' , write 8-bit data with RS=0, and the data is written into RAM as display data at
the address specified by the cursor adress counter. After writing, the count of the cursor address counter
decrements by one.
10. Reading display data
Write code '0FH' (in hexadecimal notation) into the instruction register.
REGISTER R / W
Instruction
RAM
RS
1
0
DB7
0
DB6
0
MSB
DB5
0
DB4
0
DB3
1
DB2
1
DB1
1
LSB
DB0
1
0
1
The read status is established with RS=0, and data in RAM can be read. The procedure for reading data is as
follows:
1. The instruction outputs the contents of the data output register to DB0 to DB7.
2. Transfer the RAM data indicated by the cursor address to the data output registser.
3. It then decrements the cursor address by one. Refer to next figure.
Conditions
Instruction register (IR) = 0FH
RS = 0
RD = 0
RAM data
Cursor
address
counter
11 bits
8 bits
DB0
DB1
DB7
--1
Output control (OE)
á@
D0 to D7
A0 to A10
D
ILC00181