Contents in this document are subject to change without notice. No part of this document may be reproduced
or transmitted in any form or by any means, electronic or mechanical, for any purpose, without the express
26 COM / 80 SEG DRIVER & CONTROLLER FOR STN LCD KS0093
KS0093 Specification Revision History
VersionContentDate
0.0OriginalJun.1998
0.1Miss typed contents changedJan.1999
0.2RESETB pin VIL,VIH addedMar.1999
0.3VDD change (2.4V~5.5V -> 2.4V~3.6V)Nov.1999
0.4VDD change (2.4V~3.6V -> 2.4V~5.5V)Dec.1999
1
KS009326 COM / 80 SEG DRIVER & CONTROLLER FOR STN LCD
FEATURES ................................................................................................................................................. 1
DC CHARACTERISTICS.................................................................................................................... 45
AC CHARACTERISTICS.................................................................................................................... 47
2
26 COM / 80 SEG DRIVER & CONTROLLER FOR STN LCD KS0093
INTRODUCTION
The KS0093 is an LCD driver and controller LSI for liquid crystal dot matrix character display systems. It can
display 2 or 3 lines of 16 characters with 5 x 8 dots format. It is capable of interfacing various microprocessors,
supporting the 4-bit, 8-bit parallel modes and the clock synchronized serial mode. Voltage converter, oscillator,
voltage regulator, voltage follower and bias circuit are built in the IC. The double height character mode and line
vertical scroll functions are supported.
FEATURES
Driver Outputs
- Common outputs: 26 common
- Segment outputs: 80 segment
Applicable Panel Size
FontDisplayDutyContents of outputs
2-line x 16 characters1 / 172 x 16 characters + 80 icons
5 x 8
3-line x 16 characters1 / 253 x 16 characters + 80 icons
Internal Memory
- Character Generator ROM (CGROM): 10,240 bits (256 characters x 5 x 8 dots)
- Character Generator RAM (CGRAM): 320 bits (8 characters x 5 x 8 dots)
- Display Data RAM (DDRAM): 512 bits (16 characters x 4 lines)
- Segment Icon RAM (ICONRAM): 80 bits (80 icons)
MPU Interface
- No busy MPU interface (no busy check or no execution waiting time)
- 8-bit parallel interface mode: 68-series and 80-series are available.
- 4-bit parallel interface mode: 68-series and 80-series are available.
- Serial interface mode: 4 pins clock synchronized serial interface
Function Set
- Various instruction set: display control, power save, power control, etc.
- COM / SEG bi-directional (4-type LCD application available)
- H/W reset (RESETB)
Built-in Analog Circuit
- Internal RC oscillator circuit or external clock
- Electronic volume for contrast control (32 steps)
- Voltage converter / voltage regulator / voltage follower & bias circuit
Low Power Operation
- Sleep mode operation (5µA Max.)
- Normal mode operation (80µA Max.)
1
KS009326 COM / 80 SEG DRIVER & CONTROLLER FOR STN LCD
KS009326 COM / 80 SEG DRIVER & CONTROLLER FOR STN LCD
PIN DESCRIPTION
POWER SUPPLY
Table 3. Pin Description
NameI/ODescription
VDD
Power
Power supply
Connect to MPU power supply pin.
VSS
V0
V1
V2
V3
V4
LCD DRIVER SUPPLY
NameI/ODescription
CAP1+OCapacitor + connecting pin for the internal voltage converter
CAP1-OCapacitor - connecting pin for the internal voltage converter
CAP2+OCapacitor + connecting pin for the internal voltage converter
CAP2-OCapacitor - connecting pin for the internal voltage converter
VOUTI/ODC/DC voltage converter output (7.2V)
VRI
VEXTI
REFI
0V (GND)
Bias voltage level for LCD driving
Voltages should have the following relationship;
V0 ≥ V1 ≥ V2 ≥ V3 ≥ V4 ≥ VSS
When the built-in power circuit is active and internal 1/5 bias resistors
are used.
LCD bias
I/O
1/5 bias
When the built-in power circuit is active and internal 1/4 bias resistors
are used.
LCD bias
1/4 bias
Table 3. Pin Description (Continued)
Voltage adjust pin
This pin gives a voltage between V0 and VSS by resistance-division of
voltage.
External reference voltage for internal regulator (instead of the internal
VREF, 2V)
REF = "Low (VSS)": VEXT is not used (open).
REF = "High (VDD)": VEXT is reference input voltage of internal voltage
regulator.
Select the input voltage of internal voltage regulator
REF = "Low (VSS)": The input voltage of internal
Voltage regulator is the internal VREF(2V).
REF = "High (VDD)": The input voltage of internal
Voltage regulator is the voltage of VEXT.
V1V2V3V4
(4/5) x V0 (3/5) x V0 (2/5) x V0 (1/5) x V0
V1V2V3V4
(3/4) x V0(2/4) x V0(1/4) x V0
6
26 COM / 80 SEG DRIVER & CONTROLLER FOR STN LCD KS0093
SYSTEM CONTROL
Table 3. Pin Description (Continued)
NameI/ODescription
External clock input. It must be fixed to "High" or "Low" when the internal
CKI
MII
PSI
IFI
DIRSI
oscillation circuit is used. In case of the external clock mode, CK is used as
the clock and OS bit should be OFF.
MPU interface selection input
MI = "Low": 80-series MPU
MI = "High": 68-series MPU
Parallel / serial selection input
When PS = "Low": serial mode
When PS = "High": 4-bit / 8-bit bus mode
Interface data length selection pin for parallel data input
When PS = "Low"
IF = "Low" or "High": serial interface mode
When PS = High
IF = "Low": 4-bit bus mode
IF = "High": 8-bit bus mode
SEG direction selection input
When DIRS = "Low”
SEG1 → SEG2 → SEG79 → SEG80
When DIRS = "High”
SEG80 → SEG79 → SEG2 → SEG1
MPU INTERFACE
Table 3. Pin Description (Continued)
NameI/ODescription
RESETBI
CSBI
RSI
RW_WRI
E_RDI
Reset input
KS0093 is initialized while RESETB is low.
Chip selection input
KS0093 is selected while CSB is low.
Register selection input
When RS = "Low", instruction register
When RS = "High", data register.
In 80-series MPU interface mode
This pin is connected to WR pin of MPU and is a active low write signal
In 68-series MPU interface mode
This pin is connected to R/W pin of MPU
When RW_WR = "Low", write mode
When RW_WR = "High", read mode
In 80-series MPU interface mode
This pin is connected to RD pin of MPU and is a active low read signal
In 68-series MPU interface mode
This pin is connected to E pin of MPU and enable read or write command
according to RW_WR signal.
7
KS009326 COM / 80 SEG DRIVER & CONTROLLER FOR STN LCD
Table 3. Pin Description (Continued)
NameI/ODescription
DB0 ∼ DB3
DB4 ∼ DB5
DB6 (SCL),
DB7 (SI)
I/OWhen 8-bit bus mode, used as bi-directional data bus DB0 ∼ DB7
LCD DRIVER OUTPUTS
NameI/ODescription
COM1 ∼ COM24
COMI1, COMI2O
SEG1 ∼ SEG80
OCommon signal output for driving LCD
OSegment signal output for driving LCD
TEST
NameI/ODescription
TESTI
During 4-bit bus mode, only DB4 ∼ DB7 are used.
In this case DB0 ∼ DB3 pins are not used.
When serial mode, DB6 (SCL) is used as serial clock input pin and DB7 (SI)
is used as serial data input pin.
Table 3. Pin Description (Continued)
Common signal output for icon display
These are the same signal but the name is different.
Table 3. Pin Description (Continued)
Test pin
This pin is not used for normal operation.
TEST: Open
NOTE: DUMMY – These pins should be opened (floated).
8
26 COM / 80 SEG DRIVER & CONTROLLER FOR STN LCD KS0093
FUNCTION DESCRIPTION
SYSTEM INTERFACE
KS0093 has two kinds of interface type with MPU: bus mode, serial mode. Serial or bus mode is selected by PS
pin. In bus mode, 4-bit bus or 8-bit bus is selected by IF pin, and 68 series MPU or 80 series MPU is selected by
MI pin.
Table 4. Various Kinds of MPU Interface according to PS, MI and IF
PSMIIFCSBRSRW_WRE_RDDB0∼∼DB3DB4∼∼DB5DB6DB7
68 series
Bus mode
(H)
Serial
mode
(L)
NOTES:
1. Don’t care (high, low or open)
2. Fixed high (VDD) or low (VSS)
(H)
80 series
(L)
(H)/(L)
8 bit (H)CSBRSR/WEDB0∼DB3DB4∼DB5DB6DB7
4 bit (L)CSBRSR/WE∗
8 bit (H)CSBRSWRRDDB0∼DB3DB4∼DB5DB6DB7
4 bit (L)CSBRSWRRD
(2)
(H)/(L)CSBRS(H)/(L)(H)/(L)
(1)
∗
∗∗
DB4∼DB5DB6DB7
DB4∼DB5DB6DB7
SCLSI
PS: "High" = bus mode, "Low" = serial mode
MI: "High" = 68-series MPU, "Low" = 80-series MPU
IF: "High" = 8 bit mode, "Low" = 4 bit mode (PS: "High")
CSB: "High" = chip is not selected, "Low" = chip is selected
RS: "High" = data register, "Low" = instruction register
RW_WR: Read / Write indicating signal in 68 mode or active low signal for enabling write in 80 mode
E_RD: Active high signal for enabling command is 68 mode or active low signal for enabling read in 80 mode.
SCL (DB6): Serial clock input
SI (DB7): Serial data input
9
KS009326 COM / 80 SEG DRIVER & CONTROLLER FOR STN LCD
MI
CSB
RS
RW_WR
E_RD
DB7∼DB0
Data
IF
Interface with MPU in Parallel Mode (PS = "High")
During writing operation, two 8-bit registers, data register (DR) and instruction register (IR), are used. The data
register (DR) is used as temporary data storage place for being written into DDRAM / CGRAM / ICONRAM and
one of these RAMs is selected by RAM address setting instruction. The Instruction register (IR) is used only to
store instruction code transferred from MPU. To select DR or IR register, RS input pin is used.
During reading operation, 8-bit register, output data register (OR) is used. The output data register (OR) is used
as temporary data storage place for being read from DDRAM / CGRAM / ICONRAM and one of these RAMs is
selected by RAM address setting instruction. After RAM address setting, first reading is a dummy cycle in 8-bit
bus mode (figure 3, 4). The valid data comes from second reading. In 4-bit bus mode, after RAM address setting,
first and second reading are dummy cycles (figure 5, 6). The valid data comes from third reading. The dummy
read make the address counter (AC) increased by 1. So it is recommended to set address again before writing.
The instruction read cycle is not supported and it is regarded as a no operation cycle.
In 4-bit bus mode, it is needed to transfer 4-bit data (through DB7∼DB4) by two times. The high order bits (for 8-bit
mode DB7∼DB4) are written before the low order bits (for 8-bit mode DB3∼DB0) in write and low order bits (for 8bit mode DB3∼DB0) are read before the high order bits (for 8-bit mode DB7∼DB4) in read transaction. The
DB0∼DB3 pins are floated in this 4-bit bus mode. After RESETB resets, KS0093 considers first 4-bit data from
MPU as the high order bits.
Valid
Instruction
NOPRAM
Dummy
Data
Figure 3. Timing Diagram of 8-bit Parallel Bus Mode Data Transfer (68-series MPU Mode)
10
26 COM / 80 SEG DRIVER & CONTROLLER FOR STN LCD KS0093
MI
CSB
RS
RW_WR
E_RD
DB7∼DB0
Data
MI
CSB
RS
RW_WR
E_RD
DB7∼DB4
4-bit
4-bit
4-bit
4-bit
4-bit
4-bit
IF
MI
CSB
RS
RW_WR
E_RD
DB7∼DB4
4-bit
4-bit
4-bit
4-bit
4-bit
4-bit
IF
IF
Valid
Instruction
NOPRAM
Dummy
Data
Figure 4. Timing Diagram of 8-bit Parallel Bus Mode Data Transfer (80-series MPU Mode)
upper
lower
Instruction WriteDummy ReadData WriteNOP
lower
upper
upper
lower
Figure 5. Timing Diagram of 4-bit Parallel Bus Mode Data Transfer (68-series MPU Mode)
upper
lower
lower
upper
upper
lower
Instruction WriteDummy ReadData WriteNOPRAM Read
Figure 6. Timing Diagram of 4-bit Parallel Bus Mode Data Transfer (80-series MPU Mode)
11
KS009326 COM / 80 SEG DRIVER & CONTROLLER FOR STN LCD
RS
Interface with MPU in Serial Mode (PS = "Low")
When PS input pin is "Low", clock synchronized serial interface mode is selected. At this time, five ports, RESETB
(reset input), SCL (DB6, synchronizing transfer clock), SI (DB7, serial input data), RS (register selection input) and
CSB(chip selection input) are used.
By setting CSB to "Low", KS0093 can receive SCL input. If CSB is set to "High", KS0093 resets the internal 8-bit
shift register and 3-bit counter. Serial data is input in the order of "D7, D6, D5, D4, D3, D2, D1, D0" from the serial
data input pin (SI = DB7) at the rising edge of serial clock (SCL = DB6).
At the rising edge of the 8th serial clock, the serial data (D7-D0) is converted into 8 bit bus mode data. The RS
input of the DR/IR selection is latched at the rising edge of the 8th serial clock (SCL).
CSB
SI (DB7)
SCL (DB6)
D7D6D5D4D3D2D1D0D7
123456789
Figure 7. Timing Diagram of Serial Data Transfer
12
26 COM / 80 SEG DRIVER & CONTROLLER FOR STN LCD KS0093
ADDRESS COUNTER (AC)
Address Counter (AC) in KS0093 stores DDRAM/ CGRAM/ ICONRAM address. After writing into or reading from
DDRAM / CGRAM / ICONRAM, AC is automatically increased by 1. The address counter is only one and stores
the address among DDRAM / CGRAM / ICONRAM.
DISPLAY DATA RAM (DDRAM)
DDRAM stores display data of maximum 64 x 8 bits (Max. 64 characters). DDRAM address is set in the address
counter (AC) as a hexadecimal number.