16COM/40SEG DOT MATRIX LCD CONTROLLER & DRIVER
S6A0072
Function Set
RS
R/W
DB7
DB6
DB5
DB4
DB3
DB2
DB1
DB0
0
0
0
0
1
DL
A
*
M1
M0
DL: Interface data length control bit
When DL = "High" 8-bit bus mode with MPU.
When DL = "Low", 4-bit bus mode with MPU. Thus, DL is a signal to select 8-bit or 4-bit bus mode.
In 4-bit bus mode, the 4-bit data is transferred twice.
A:
Set the display data addressing mode
When A = "Low", DDRAM addressing mode 0.
When A = "High", DDRAM addressing mode 1.
MO: Set COM/SEG output rotation
When M0 = "Low", COM/SEG output rotation mode A.
When M0 = "High", COM/SEG output rotation mode B.
M1: Set display line and character mode
When M1 = "Low", 1 line 16 character display mode.
When M1 = "High", 2line 8 character display mode. (refer to application information)
Set CGRAM Address
RS
R/W
DB7
DB6
DB5
DB4
DB3
DB2
DB1
DB0
0
0
0
1
*
AC4
AC3
AC2
AC1
AC0
MSB
LSB
Set CGRAM address to AC. This instruction allows the MPU to access CGRAM data for user defined character
pattern. Available CGRAM Address is lower 5 bits (DB4 - DB0).
Set DDRAM Address
RS
R/W
DB7
DB6
DB5
DB4
DB3
DB2
DB1
DB0
0
0
1
AC6
AC5
AC4
AC3
AC2
AC1
AC0
Set DDRAM address to AC. This instruction allows the MPU to access DDRAM data. When DDRAM addressing
mode 1 (A = 0), DDRAM address is from "00H" - "0FH". In DDRAM addressing mode 2 (A = 1), DDRAM address
range of the 1st 8 character is "00H" - "07H", and DDRAM address range of the 2nd 8 character is "40H" - "47H".
15