128 SEG / 129 COM DRIVER & CONTROLLER FOR 4 GRAY SCALE STN LCD
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 written
February 8. 2000.
Ver. 1.2
Prepared by: Hyung-Suk, Kim
highndry@samsung.co.kr
128 SEG / 129 COM DRIVER & CONTROLLER FOR STN LCD PRELIMINARY SPEC. VER. 1.2 KS0741
Read internal status: MF, DS ID is added, ADC is removed (Page 35, 39)
RESET flag: 0: display ON, 1: display OFF
Aug. 12, 1999
→ 0: display OFF, 1: display ON (Page 39)
Changed input pin order, add RESETB pin (page 5)
Added VR, VEXT pin connection (page 8)
VR: When using internal resistors (INTRS = "H"), open this pin
VEXT: When using internal voltage regulator, connect to VDD, VSS or open this pin
0.5
Added test pin connection (page 9)
Aug. 30, 1999
TEST1,TEST2: connect to “VDD”
TEST3,TEST4,TEST5: connect to “VSS”
Changed OSC resistance connection (page8, 23)
Between OSC1 and OSC2 → between OSC1 and VDD
Removed TEST2, TEST3, TEST4, TEST5, TEST6, TEST7 pins
0.6
Added COMS, COMS1 for ICON display.
Sep. 30, 1999
Added ICON control register ON/OFF instruction.
0.7
Remove COMS, COMS1 for ICON display.
Remove ICON control register ON/OFF instruction.
Oct. 4, 1999
Added COMS, COMS1 for ICON display.
Added ICON control register ON/OFF instruction.
1.0
Modified bit settings for partial display command.
Jan. 18, 2000
Relaxed VIH and VIL specifications.
Modified interface timing specs.
Added 6800-mode interface description for data latch with (page 14)
C2 CAP value : 0.1 to 0.47uF → 0.47 to 2.0uF (page 34)
Added Icon Mode Disabled to the Reset default list. (page 36)
1.1
Added description of the column address operation. (page 40)
Added that Display On/Off command has priority over Entire Display On/Off and
PAD CONFIGURATION ...................................................................................................................................... 4
PAD Center Coordinates ................................................................................................................................... 6
POWER SUPPLY ..........................................................................................................................................9
CONNECTIONS BETWEEN KS0741 AND LCD PANEL..............................................................................70
3
KS0741 PRELIMINARY SPEC. VER. 1.2 128 SEG / 129 COM DRIVER & CONTROLLER FOR STN LCD
INTRODUCTION
The KS0741 is a driver & controller LSI for 4-level gray scale graphic dot-matrix liquid crystal display systems. It
contains 128 segment and 129 common driver circuits. This chip is connected directly to a microprocessor, accepts
Serial Peripheral Interface(SPI) or 8-bit parallel display data and stores in an on-chip display data RAM of 128 x 129
x 2 bits. It performs display data RAM read/write operation with no external operating clock to minimize power
consumption. In addition, because it contains power supply circuits necessary to drive liquid crystal, it is possible to
make a display system with the fewest components.
FEATURES
4-level (White, Light Gray, Dark Gray, Black) Gray Scale Display with PWM and FRC Methods
KS0741 PRELIMINARY SPEC. VER. 1.2 128 SEG / 129 COM DRIVER & CONTROLLER FOR STN LCD
PIN DESCRIPTION
POWER SUPPLY
Table 3. Power Supply Pin Description
NameI/ODescription
VDDSupplyPower supply
VSSSupplyGround
LCD driver supply voltages
The voltage determined by LCD pixel is impedance-converted by an operational amplifier
V0
V1
V2
V3
V4
I/O
for application.
Voltages should have the following relationship;
V0 ≥ V1 ≥ V2 ≥ V3 ≥ V4 ≥ VSS
When the internal power circuit is active, these voltages are generated as following table
according to the state of LCD bias.
LCD biasV1V2V3V4
1/N bias(N-1) / N x V0(N-2) / N x V0(2/N) x V0(1/N) x V0
NOTE: N = 5 to 12
LCD DRIVER SUPPLY
Table 4. LCD Driver Supply Pin Description
NameI/ODescription
C1-O
C1+O
C2-O
C2+O
C3+O
C4+O
C5+O
VOUTI/O
VClI
VRI
REFI
VEXTI
OSC1
Capacitor 1 negative connection pin for voltage converter
Capacitor 1 positive connection pin for voltage converter
Capacitor 2 negative connection pin for voltage converter
Capacitor 2 positive connection pin for voltage converter
Capacitor 3 positive connection pin for voltage converter
Capacitor 4 positive connection pin for voltage converter
Capacitor 5 positive connection pin for voltage converter
Voltage converter input / output pin
Voltage converter input voltage pin
V0 voltage adjustment pin
It is valid only when on-chip resistors are not used (INTRS = "L")
When using internal resistors (INTRS = "H"), open this pin
Selects the external VREF voltage via the VEXT pin
− REF = “H”: using the internal VREF
− REF = “L”: using the external VREF
Externally input reference voltage (VREF) for the internal voltage regulator
It is valid only when REF is "L"
When using internal voltage regulator, connect to VDD, VSS or open this pin
I
When using internal clock oscillator, connect a resistor between OSC1 and VDD.
9
128 SEG / 129 COM DRIVER & CONTROLLER FOR STN LCD PRELIMINARY SPEC. VER. 1.2 KS0741
SYSTEM CONTROL
Table 5. System Control Pin Description
NameI/ODescription
Internal resistor select pin
This pin selects the resistors for adjusting V0 voltage level
INTRSI
TEST1O
− INTRS = "H": use the internal resistors.
− INTRS = "L": use the external resistors
VR pin and external resistive divider control V0 voltage
Test pins
Don’ t use this pin.
− TEST1: Open this pin.
10
KS0741 PRELIMINARY SPEC. VER. 1.2 128 SEG / 129 COM DRIVER & CONTROLLER FOR STN LCD
MICROPROCESSOR INTERFACE
Table 6. Microprocessor Interface Pin Description
NameI/ODescription
RESETBI
PS0I
PS1I
CSBI
RSI
RW_WRI
Reset input pin
When RESETB is “L”, initialization is executed.
Parallel / Serial data input select input
PS0
HParallelRSDB0 to DB7
LSerialRS or NoneSID (DB7)Write onlySCLK (DB6)
*NOTE: In serial mode, it is impossible to read data from the on-chip RAM. And DB0 to DB5
are high impedance and E_RD and RW_WR must be fixed to either “H” or “L”.
− RW = “L”: The data on DB0 to DB7 are latched at
the falling edge of the E signal.
DB0
to
DB7
I/O
L8080-series/RD
Read enable clock input pin
When /RD is “L”, DB0 to DB7 are in an output status.
8-bit bi-directional data bus that is connected to the standard 8-bit microprocessor data
bus. When the serial interface selected (PS0 = "L");
− DB0 to DB5: high impedance
− DB6: serial input clock (SCLK)
− DB7: serial input data (SID)
When chip select is not active, DB0 to DB7 may be high impedance.
12
KS0741 PRELIMINARY SPEC. VER. 1.2 128 SEG / 129 COM DRIVER & CONTROLLER FOR STN LCD
LCD DRIVER OUTPUTS
Table 8. LCD Driver Output Pin Description
NameI/ODescription
LCD segment driver outputs
The display data and the M signal control the output voltage of segment driver.
SEG0
to
SEG127
COM0
to
COM127
COMS
(COMS1)
Display dataM (Internal)
HHV0V2
O
LCD common driver outputs
The internal scanning data and M signal control the output voltage of common driver.
O
O
Common output for the icons
The output signals of two pins are same. When not used, these pins should be left open.
HLVSSV3
LHV2V0
LLV3VSS
Power save modeVSSVSS
Scan dataM (Internal)Common driver output voltage
HHVSS
HLV0
LHV1
LLV4
Power save modeVSS
Segment driver output voltage
Normal displayReverse display
NOTE: DUMMY – These pins should be opened (floated).
13
128 SEG / 129 COM DRIVER & CONTROLLER FOR STN LCD PRELIMINARY SPEC. VER. 1.2 KS0741
FUNCTIONAL DESCRIPTION
MICROPROCESSOR INTERFACE
Chip Select Input
There is CSB pin for chip selection. The KS0741 can interface with an MPU when CSB is "L". When these pins are
set to any other combination, RS, E_RD, and RW_WR inputs are disabled and DB0 to DB7 are to be high
impedance. And, in case of serial interface, the internal shift register and the counter are reset.
Parallel / Serial Interface
KS0741 has four types of interface with an MPU, which are two serial and two parallel interfaces. This parallel or
serial interface is determined by PS pin as shown in table 9.
Table 9. Parallel / Serial Interface Mode
TypePS1CSBPS0Interface mode
Parallel
Serial
Parallel Interface (PS0 = "H")
The 8-bit bi-directional data bus is used in parallel interface and the type of MPU is selected by PS1 as shown in
table 10. The type of data transfer is determined by signals at RS, E_RD and RW_WR as shown in table 11.
PS1CSBRSE_RDRW_WRDB0 to DB7MPU bus
HCSBRSERWDB0 to DB76800-series
LCSBRS/RD/WRDB0 to DB78080-series
Common6800-series8080-series
RS
HHHLHDisplay data read out
HHLHLDisplay data write
LHHLHRegister status read
LHLHLWrites to internal register (instruction)
H6800-series MPU mode
L
H
L
E_RD
(E)
CSBH
CSBL
Table 10. Microprocessor Selection for Parallel Interface
Table 11. Parallel Data Transfer
RW_WR
(RW)
E_RD
(/RD)
RW_WR
(/WR)
8080-series MPU mode
4-pin SPI mode
3-pin SPI mode
Description
NOTE: When E_RD pin is always pulled high for 6800-series interface, it can be used CSB for enable signal. In this
case, interface data is latched at the rising edge of CSB and the type of data transfer is determined by signals at RS,
RW_WR as in case of 6800-series mode.
14
KS0741 PRELIMINARY SPEC. VER. 1.2 128 SEG / 129 COM DRIVER & CONTROLLER FOR STN LCD
Serial Interface (PS0 = "L")
When the KS0741 is active(CSB=”L”), serial data (DB7) and serial clock (DB6) inputs are enabled. And not active,
the internal 8-bit shift register and the 3-bit counter are reset. The display data/command indication may be
controlled either via software or the Register Select(RS) Pin, based on the setting of PS1. When the RS pin is used
(PS1 = “H”), data is display data when RS is high, and command data when RS is low. When RS is not used (PS1 =
“L”), the LCD Driver will receive command from MCU by default. If messages on the data pin are data rather than
command, MCU should send Data Direction command(11101000) to control the data direction and then one more
command to define the number of data bytes will be write. After these two continuous commands are send, the
following messages will be data rather than command. Serial data can be read on the rising edge of serial clock
going into DB6 and processed as 8-bit parallel data on the eighth serial clock. And the DDRAM column address
pointer will be increased by one automatically. The next bytes after the display data string is handled as command
data.
Serial Mode
4-Pin SPI modeLHCSBUsed
3-Pin SPI modeLLCSBNot used
4-pin SPI mode (PS0 = "L" , PS1 = "H")
CSB
SID
SCLK
RS
Figure 3. 4-pin SPI Timing (RS is used)
PS0PS1CSBRS
DB6DB7DB0DB1DB2DB3DB4DB5DB6DB7
15
128 SEG / 129 COM DRIVER & CONTROLLER FOR STN LCD PRELIMINARY SPEC. VER. 1.2 KS0741
3 Byte (1)
2 Byte (2)
104 Byte
3-pin SPI mode (PS0 = "L" , PS1 = "L")
To write data to the DDRAM, send Data Direction Command in 3-pin SPI mode. Data is latched at the rising edge of
SCLK. And the DDRAM column address pointer will be increased by one automatically.
(2) Set DDC(Data Direction Command) and No. of Data Bytes.
Set Data Direction Command( For SPI mode Only):
1 1 1 0 1 0 0 0
Set No. of Data Bytes: D7 D6 D5 D4 D3 D2 D1 D0
(3) This figure is example for 104 Data bytes to be transfered .
Figure 4. 3-pin SPI Timing (RS is not used)
829 830 83100 17 815
Data In
This command is used in 3-pin SPI mode only. It will be two continuous commands, the first byte controls the data
direction and informs the LCD driver the second byte will be number of data bytes will be write. After these two
commands sending out, the following messages will be data. If data is stopped in transmitting, it is not valid data.
New data will be transferred serially with most significant bit first.
NOTE: In spite of transmission of data, if CSB will be disable, state terminates abnormally. Next state is initialized.
Busy Flag
The Busy Flag indicates whether the KS0741 is operating or not. When DB7 is "H" in read status operation, this
device is in busy status and will accept only read status instruction. If the cycle time is correct, the microprocessor
needs not to check this flag before each instruction, which improves the MPU performance.
16
KS0741 PRELIMINARY SPEC. VER. 1.2 128 SEG / 129 COM DRIVER & CONTROLLER FOR STN LCD
D(N)
D(N+1)
D(N+2)
N
N+1
N+2
N+3
Data Transfer
The KS0741 uses bus holder and internal data bus for data transfer with the MPU. When writing data from the MPU
to on-chip RAM, data is automatically transferred from the bus holder to the RAM as shown in figure 5. And when
reading data from on-chip RAM to the MPU, the data for the initial read cycle is stored in the bus holder (dummy
read) and the MPU reads this stored data from bus holder for the next data read cycle as shown in figure 6. This
means that a dummy read cycle must be inserted between each pair of address sets when a sequence of address
sets is executed. Therefore, the data of the specified address cannot be output with the read display data instruction
right after the address sets, but can be output at the second read of data.
MPU signals
RS
/WR
DB0 to DB7
Internal signals
/WR
BUS HOLDER
COLUMN ADDRESS
MPU signals
RS
/WR
/RD
DB0 to DB7
Internal signals
/WR
ND(N)D(N+1)D(N+2)D(N+3)
ND(N)D(N+1)D(N+2)D(N+3)
NN+1N+2N+3
Figure 5. Write Timing
N
DummyD(N)D(N+1)
/RD
BUS HOLDER
COLUMN ADDRESS
N
Figure 6. Read Timing
17
128 SEG / 129 COM DRIVER & CONTROLLER FOR STN LCD PRELIMINARY SPEC. VER. 1.2 KS0741
DISPLAY DATA RAM (DDRAM)
The Display Data RAM stores pixel data for the LCD. It is 129-row (17 page by 8 bits) by 128-column addressable
array. Each pixel can be selected when the page and column addresses are specified. The 129 rows are divided into
16 pages of 8 lines and the 17th page with a single line (DB0 only). Data is read from or written to the 8 lines of each
page directly through DB0 to DB7. The display data of DB0 to DB7 from the microprocessor correspond to the LCD
common lines. The microprocessor can read from and write to RAM through the I/O buffer. Since the LCD controller
operates independently, data can be written into RAM at the same time as data is being displayed without causing
the LCD flicker.
Page Address Circuit
This circuit is for providing a Page Address to Display Data RAM shown in figure 8. It incorporates 4-bit Page
Address register changed by only the “Set Page” instruction. Page Address 16 is a special RAM area for the icons
and display data DB0 is only valid.
Line Address Circuit
This circuit assigns DDRAM a Line Address corresponding to the first line (COM0) of the display. Therefore, by
setting Line Address repeatedly, it is possible to realize the screen scrolling and page switching without changing
the contents of on-chip RAM as shown in figure 8. It incorporates 7-bit Line Address register changed by only the
initial display line instruction and 7-bit counter circuit. At the beginning of each LCD frame, the contents of register
are copied to the line counter which is increased by CL signal and generates the line address for transferring the
128-bit RAM data to the display data latch circuit. When icon is enabled by setting icon control register, display data
of icons are not scrolled because the MPU can not access Line Address of icons.
18
KS0741 PRELIMINARY SPEC. VER. 1.2 128 SEG / 129 COM DRIVER & CONTROLLER FOR STN LCD
Column Address Circuit
Column Address Circuit has a 8-bit preset counter that provides Column Address to the Display Data RAM as shown
in figure 8. When set Column Address MSB / LSB instruction is issued, 7-bit [Y7:Y1] are set and lowest bit, Y0 is set
to “0”. Since this address is increased by 1 each a read or write data instruction, microprocessor can access the
display data continuously. However, the counter is not increased and locked if a non-existing address above 7EH. It
is unlocked if a column address is set again by set Column Address MSB / LSB instruction. And the column address
counter is independent of page address register.
ADC select instruction makes it possible to invert the relationship between the Column Address and the segment
outputs. It is necessary to rewrite the display data on built-in RAM after issuing ADC select instruction. Refer to the
following figure 7.
Figure 7. The Relationship between the Column Address and The Segment Outputs
Segment Control Circuit
This circuit controls the display data by the display ON / OFF, reverse display ON / OFF and entire display ON / OFF
instructions without changing the data in the display data RAM.
19
Loading...
+ 51 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.