32COM/60SEG DRIVER & CONTROLLER FOR DOT MATRIX LCD S6A0071
INTRODUCTION
The S6A0071 is a dot matrix LCD controller & driver LSI which is fabricated by low power CMOS technology. It
can display 1 line × 24 characters or 2 line × 24 characters with 5 × 7 dots format.
FUNCTION
• Character type dot matrix single chip LCD controller & driver
• Internal driver: 32 common and 60 segment signal output
• Easy interface with 4-bit or 8-bit MPU
• Display character pattern: 5 × 7 dots format (240 kinds)
• The Special character pattern is programmable by character generator RAM directly.
• A customer character pattern is programmable by mask option.
• Various instruction functions
• Built-in automatic power on reset
• Driving method is B-type (frame inversion)
FEATURES
Internal Memory
• Character Generator ROM (CGROM): 8,400 bits (240 characters × 5 × 7 dots)
• LCD drive voltage range (VDD - V5): 3.0 to 12.0V
Voltage doubler generates about double from signals power supply
On chip generation of LCD supply voltage from voltage doubler (external supply also possible)
Programmable duty cycle
S6A0071 32COM/60SEG DRIVER & CONTROLLER FOR DOT MATRIX LCD
PAD DESCRIPTION
PAD
Pad No. I/O NAME Description Interface
( No.)
VDD
VSS
V1-V5 36-40
S1-S60 75-118,
45 For logical circuit (+3V, 5V)
33 Supply voltage Ground (0V) Power supply
Bias voltage level for LCD driving
O Segment output Segment signal output for LCD drive LCD
1-16
C1-C8
C9-C16
C17-C24
C25-C32
74-67,
17-24,
66-59,
25-32,
O Common output Common signal output for LCD drive LCD
OSC1 34 I Oscillator When using internal oscillator, connect
external Rf resistor.
OSC2 35 O Oscillator If external clock is used, connect it to
OSC1
RS 46 I Register select Used as register selection input.
When RS = 1, Data register is selected.
When RS = 0, Instruction register is
selected.
R/W 47 I Read/write Used as read/write selection input.
When RW = 1, read operation.
When RW = 0, write operation.
E 48 I Read/write
Used as read/write enable signal. MPU
Enable
DB0 - DB3 49 - 52 I/O Data bus 0-7 In 8-bit bus mode, used as low order
bidirectional data bus.
In 4-bit bus mode, open these pins.
DB4 - DB7
53 - 56 I/O Data bus 0-7 In 8-bit bus mode, used as high order
bidirectional data bus.
In 4-bit bus mode, used as both high and
Vci 44 I Voltage doubler
output
low order. DB7 used for busy flag output.
Input terminal for voltage doubler.
(normally Vci = VDD)
External resistor
OSC/OSC2
External clock
(OSC1)
MPU
MPU
MPU
MPU
Power supply
C1,C2 42, 43 I Capacitor Capacitor for voltage doubler connecting
Capacitor
terminal (+).
Capacitor for voltage doubler connecting
terminal(-).
V5OUT 41 O Voltage doubler
output
Voltage doubler output terminal
connected to LCD supply voltage
V5
T1, T2 58, 57 I Test pin Maker testing terminal (normally open)
6
32COM/60SEG DRIVER & CONTROLLER FOR DOT MATRIX LCD S6A0071
FUNCTION DESCRIPTION
System Interface
This chip has both kinds of interface type with MPU: 4-bit bus and 8-bits bus. 4-bit bus and 8-bit bus are selected
by the DL bit in the instruction register.
During read or write operation, two 8-bit registers are used. One is the data register (DR), and the other is the
instruction register (IR).
The data register (DR) is used as a temporary data storage place for being written into or read from
DDRAW/CGRAM . Target RAM is selected by RAM address setting instruction. Each internal operation, reading
from or writing into RAM, is done automatically. Thus, after MPU reads DR data, the data in the next
DDRAM/CGRAM address is transferred into DR automatically. Also, after MPU writes data to DR, the data in DR
is transferred into DDRAM/CGRAM automatically. The instruction register (IR) is used only to store instruction
codes transferred from MPU. MPU cannot use it to read instruction data. To select a register, you can use the RS
input pin in 4-bit/8-bit bus mode.
Table 1. Various Kinds of Operations to RS and R/W Bits
RS R/W Operation
0 0 Instruction Write operation (MPU writes instruction code into IR)
0 1 Read Busy flag (DB7) and address counter (DB0 - DB7)
1 0 Data Write operation (MPU writes data into DR)
1 1 Data Read operation (MPU reads data into DR)
Busy Flag (BF)
When BF = 1, it indicates that the internal operation is being processed. So during this time the next instruction
cannot be accepted. BF can be read through DB7 port, when RS = 0, and R/W = 1. (Read Instruction Operation).
Before executing the next instruction, be sure that BF is not 1.
Address Counter (AC)
The Address Counter (AC) stores DDRAM/CGRAM addresses, transferred from IR. After writing into (reading
from) DDRAM/CGRAM. AC is automatically increased (decreased) by 1. When RS = 0 and R/W = 1, AC can be
read through ports DB0 - DB6.
7
S6A0071 32COM/60SEG DRIVER & CONTROLLER FOR DOT MATRIX LCD
Display Data RAM (DDRAM)
The DDRAM stores display data of maximum 80 × 8 bits (80 characteristics). The DDRAM address is set in the
address counter (AC) as a hexadecimal number. (Refer to fig-1).
MSBLSB
AC6
AC5AC4AC3AC2AC1AC0
Figure 1. DDRAM Address
1) 1-line Display
In case of a 1-line display, the address range of DDRAM is 00H - 04H.