Set CGRAM Address
RS R/W
DB7
0
DB6
1
DB5
DB4
DB3
DB2
DB1
DB0
0
0
ACG5 ACG4 ACG3 ACG2 ACG1 ACG0
This instruction is used to set the CGRAM address into the Address Counter. Data can then be written to or read from
the CGRAM locations. See section: “How to use CGRAM”.
ACG5..ACG0 is the binary CGRAM address.
Set DDRAM Address
RS R/W
DB7
1
DB6
DB5
DB4
DB3
DB2
DB1
DB0
0
0
ADD6 ADD5 ADD4 ADD3 ADD2 ADD1 ADD0
This instruction is used to set the DDRAM address into the Address Counter. Data can then be written to or read from
the DDRAM locations.
ADD6..ADD0 is the binary DDRAM address.
Line 1 = Address 0x00 through 0x0F
Line 2 = Address 0x40 through 0x4F
Read Busy Flag and Address Counter
RS R/W
DB7
BF
DB6
AC6
DB5
AC5
DB4
AC4
DB3
AC3
DB2
AC2
DB1
AC1
DB0
AC0
0
1
This instruction is used to read the Busy Flag (BF) to indicate if the display controller is performing an internal operation.
The Address Counter is read simultaneously with checking the Busy Flag.
When BF = “1”, the controller is busy and the next instruction will be ignored.
When BF = “0”, the controller is not busy and is ready to accept instructions.
AC6..AC0 is the binary location of either the CGRAM or DDRAM current address.
Write Data to CGRAM or DDRAM
RS R/W
DB7
DB6
DB5
DB4
DB3
DB2
DB1
DB0
1
0
Write Data
This instruction is used to write 8‐bits of data to the CGRAM or DDRAM at the current address counter. After the write is
complete, the address is automatically incremented or decremented by 1 according to the Entry Mode.
Read Data from CGRAM or DDRAM
RS R/W
DB7
DB6
DB5
DB4
DB3
DB2
DB1
DB0
1
1
Read Data
This instruction is used to read 8‐bits of data to the CGRAM or DDRAM at the current address counter. After the read is
complete, the address is automatically incremented or decremented by 1 according to the Entry Mode.
The Set CGRAM Address or Set DDRAM Address Instruction must be executed before this instruction can be performed,
otherwise the first Read Data will not be valid.
[10]