Samsung S6A0078 Datasheet

120 SEG / 34 COM DRIVER & CONTROLLER FOR DOT MATRIX LCD
S6A0078
June. 2000.
Ver. 0.0
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
S6A0078 120 SEG / 34 COM DRIVER & CONTROLLER FOR DOT MATRIX LCD
INTRODUCTION
S6A0078 is a dot matrix LCD driver & controller IC which is fabricated by low power CMOS technology. It can display 1, 2, or 4 lines with 5 x 8 or 6 x 8 dots format.
FUNCTIONS
Character type dot matrix LCD driver & controller
Internal driver: 34 common and 120 segment signal output
Easy interface with 4-bit or 8-bit MPU
Clock synchronized serial interface
5 x 8 dots matrix possible
6 x 8 dots matrix possible
Bi-directional shift function
All character reverse display
Display shift per line
Voltage converter for LCD drive voltage: 13V max (2 times/3 times)
Various instruction functions
Automatic power on reset
FEATURES
Internal Memory
- Character Generator ROM (CGROM): 9,600 bits (240 characters x 5 x 8 dot)
- Character Generator RAM (CGRAM): 64 x 8 bits (8 characters x 5 x 8 dot)
- Segment Icon RAM (SEGRAM): 16 x 8 bits (96 icons max.)
- Display Data RAM (DDRAM): 96 x 8 bits (96 characters max.)
Low power operation Power supply voltage range: 2.7 - 5.5V (VDD)
LCD drive voltage range: 3.0 - 13.0V (VDD - V5)
CMOS process
Programmable duty cycle: 1/17, 1/33
Internal oscillator with an external resistor
Bare chip available
2
120 SEG / 34 COM DRIVER & CONTROLLER FOR DOT MATRIX LCD S6A0078
PROGRAMMABLE DUTY CYCLES 5-dot Font Width
Display Line
Numbers
1 1/17 1 line of 48 characters 80 2 1/33 2 lines of 48 characters 80 4 1/33 4 lines of 24 characters 80
6-dot Font Width
Display Line
Numbers
1 1/17 1 line of 40 characters 96 2 1/33 2 lines of 40 characters 96 4 1/33 4 lines of 20 characters 96
Duty Ratio
Single-chip operation
Displayable Characters Possible Icons
Single-chip operation
Duty Ratio
Displayable Characters Possible Icons
3
S6A0078 120 SEG / 34 COM DRIVER & CONTROLLER FOR DOT MATRIX LCD
BLOCK DIAGRAM
OSC1 OSC2IE
RESET
IM
RS/CS
E/SCLK
RW/SID
DB4-DB7
DB3-DB1
DB0-SOD
Power on Reset
(POR)
System
Interface
Serial
4-bit 8-bit
Input/
Output
Buffer
Instruction
8
Register
(IR)
7
Data
8 8
Register
(DR)
8
Busy Flag
Oscillator
Instruction
Decoder
Address
Counter
7
3 7 8
Timing Generator
7
Display Data
RAM (DDRAM)
96 x 8-bit
8
8
120-bit
Shift
Register
34-bit
Shift
Register
120-bit
Latch
Circuit
Common
Driver
Segment
LCD Driver
Voltage Selector
COM0­COM33
COM1­COM120
Driver
V5OUT2 V5OUT3
GND(VSS)
4
Vci
C1 C2
VDD
Voltage Converter
Segment
RAM
(SEGRAM)
16 bytes
Character Generator
RAM
(CGRAM)
64 bytes
5/6
Parallel/Serial Converter and
Character Generator
(CGROM)
9600 bits
Smooth Scroll Circuit
ROM
5
Cursor and
Blink
Controller
V1 - V5
120 SEG / 34 COM DRIVER & CONTROLLER FOR DOT MATRIX LCD S6A0078
DB0/SOD
PAD CONFIGURATION
SEG78
SEG77
SEG76
SEG75
SEG74
SEG73
SEG72
SEG71
SEG70
SEG69
SEG68
SEG67
SEG66
SEG65
SEG64
SEG63
SEG62
SEG61
SEG60
SEG59
SEG58
SEG57
SEG56
SEG55
SEG54
SEG53
SEG52
SEG51
SEG50
SEG49
SEG48
SEG47
SEG46
SEG45
SEG44
SEG43
183
182
181
180
179
178
177
176
175
174
173
172
171
170
169
168
167
166
165
164
163
162
161
160
159
158
157
156
155
154
153
152
151
150
149
148
SEG79 SEG80 SEG81 SEG82 SEG83 SEG84 SEG85 SEG86 SEG87 SEG88 SEG89 SEG90 SEG91 SEG92 SEG93 SEG94 SEG95 SEG96 SEG97 SEG98
SEG99 SEG100 SEG101 SEG102 SEG103 SEG104 SEG105 SEG106 SEG107 SEG108 SEG109 SEG110 SEG111 SEG112 SEG113 SEG114 SEG115 SEG116 SEG117 SEG118 SEG119 SEG120
COM9 COM10 COM11 COM12 COM13 COM14 COM15 COM16 COM25 COM26 COM27 COM28 COM29 COM30 COM31 COM32 COM33
1 2 3 4 5 6 7 8
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
S6A0078
Y
(0, 0) X
Chip size: 5340 PAD size: 100 Unit : µm
×
8740
×
100
147 146 145 144 143 142 141 140 139 138 137 136 135 134 133 132 131 130 129 128 127 126 125 124 123 122 121 120 119 118 117 116 115 114 113 112 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97 96 95 94 93 92 91 90 89
SEG42 SEG41 SEG40 SEG39 SEG38 SEG37 SEG36 SEG35 SEG34 SEG33 SEG32 SEG31 SEG30 SEG29 SEG28 SEG27 SEG26 SEG25 SEG24 SEG23 SEG22 SEG21 SEG20 SEG19 SEG18 SEG17 SEG16 SEG15 SEG14 SEG13 SEG12 SEG11 SEG10 SEG9 SEG8 SEG7 SEG6 SEG5 SEG4 SEG3 SEG2 SEG1 COM0 COM1 COM2 COM3 COM4 COM5 COM6 COM7 COM8 COM17 COM18 COM19 COM20 COM21 COM22 COM23 COM24
6061626364656667686970717273747576777879808182838485868788
OSC1
RESET
IE
IM
VSS1
RS/CS
E/SCLK
RW/SID
DB1
DB2
DB3
DB4
DB5
DB6
DB7
Vci
C2
C1
VSS2
V5OUT2
V5V4V3V2V1
V5OUT3
DD
V
OSC2
5
S6A0078 120 SEG / 34 COM DRIVER & CONTROLLER FOR DOT MATRIX LCD
PAD CENTER COORDINATES
Table 1. Pad Location
Pad
No.
1 SEG79 -2504 3540 33 SEG111 -2504 -459 65 IE -1125 -4119 2 SEG80 -2504 3415 34 SEG112 -2504 -584 66 VSSI -1100 -4119 3 SEG81 -2504 3290 35 SEG113 -2504 -709 67 RS/CS -875 -4119 4 SEG82 -2504 3165 36 SEG114 -2504 -834 68 RW/SID -750 -4119 5 SEG83 -2504 3040 37 SEG115 -2504 -959 69 E/SCLK -625 -4119 6 SEG84 -2504 2915 38 SEG116 -2504 -1084 70 DB0/SOD -500 -4119 7 SEG85 -2504 2790 39 SEG117 -2504 -1209 71 DB1 -375 -4119 8 SEG86 -2504 2665 40 SEG118 -2504 -1334 72 DB2 -250 -4119
9 SEG87 -2504 2540 41 SEG119 -2504 -1459 73 DB3 -125 -4119 10 SEG88 -2504 2415 42 SEG120 -2504 -1584 74 DB4 0 -4119 11 SEG89 -2504 2290 43 COM9 -2504 -1822 75 DB5 125 -4119 12 SEG90 -2504 2165 44 COM10 -2504 -1947 76 DB6 250 -4119 13 SEG91 -2504 2040 45 COM11 -2504 -2072 77 DB7 375 -4119 14 SEG92 -2504 1915 46 COM12 -2504 -2197 78 Vci 500 -4119 15 SEG93 -2504 1790 47 COM13 -2504 -2322 79 C2 625 -4119 16 SEG94 -2504 1665 48 COM14 -2504 -2447 80 C1 750 -4119 17 SEG95 -2504 1540 49 COM15 -2504 -2572 81 VSS2 875 -4119 18 SEG96 -2504 1425 50 COM16 -2504 -2697 82 V5OUT2 1000 -4119 19 SEG97 -2504 1290 51 COM25 -2504 -2822 83 V5OUT3 1125 -4119 20 SEG98 -2504 1165 52 COM26 -2504 -2947 84 V5 1250 -4119 21 SEG99 -2504 1040 53 COM27 -2504 -3072 85 V4 1375 -4119 22 SEG100 -2504 915 54 COM28 -2504 -3197 86 V3 1500 -4119 23 SEG101 -2504 790 55 COM29 -2504 -3322 87 V2 1625 -4119 24 SEG102 -2504 665 56 COM30 -2504 -3447 88 V1 1750 -4119 25 SEG103 -2504 540 57 COM31 -2504 -3572 89 COM24 2504 -3822 26 SEG104 -2504 415 58 COM32 -2504 -3697 90 COM23 2504 -3697 27 SEG105 -2504 290 59 COM33 -2504 -3822 91 COM22 2504 -3572 28 SEG106 -2504 165 60 VDD -1750 -4119 92 COM21 2504 -3447 29 SEG107 -2504 40 61 OSC2 -1625 -4119 93 COM20 2504 -3322 30 SEG108 -2504 -84 62 OSC1 -1500 -4119 94 COM19 2504 -3197 31 SEG109 -2504 -209 63 RESET -1375 -4119 95 COM18 2504 -3072 32 SEG110 -2504 -334 64 IM -1250 -4119 96 COM17 2504 -2947
Pad
Name
Coordinate Coordinate Coordinate X Y
Pad
No.
Pad Name
X Y
Pad
No.
Pad Name
X Y
6
120 SEG / 34 COM DRIVER & CONTROLLER FOR DOT MATRIX LCD S6A0078
Table 1. Pad Location (Continued)
Pad
Pad Name
No.
97 COM8 2504 -2822 130 SEG25 2504 1415 163 SEG58 312 4119 98 COM7 2504 -2697 131 SEG26 2504 1540 164 SEG59 187 4119
99 COM6 2504 -2572 132 SEG27 2504 1665 165 SEG60 62 4119 100 COM5 2504 -2447 133 SEG28 2504 1790 166 SEG61 -62 4119 101 COM4 2504 -2322 134 SEG29 2504 1915 167 SEG62 -187 4119 102 COM3 2504 -2197 135 SEG30 2504 2040 168 SEG63 -312 4119 103 COM2 2504 -2072 136 SEG31 2504 2165 169 SEG64 -437 4119 104 COM1 2504 -1947 137 SEG32 2504 2290 170 SEG65 -562 4119 105 COM0 2504 -1822 138 SEG33 2504 2415 171 SEG66 -687 4119 106 SEG91 2504 -1584 139 SEG34 2504 2540 172 SEG67 -812 4119 107 SEG2 2504 -1459 140 SEG35 2504 2665 173 SEG68 -937 4119 108 SEG3 2504 -1334 141 SEG36 2504 2790 174 SEG69 -1062 4119 109 SEG4 2504 -1209 142 SEG37 2504 2915 175 SEG70 -1187 4119 110 SEG5 2504 -1084 143 SEG38 2504 3040 176 SEG71 -1312 4119 111 SEG6 2504 -959 144 SEG39 2504 3165 177 SEG72 -1437 4119 112 SEG7 2504 -834 145 SEG40 2504 3290 178 SEG73 -1562 4119 113 SEG8 2504 -709 146 SEG41 2504 3415 179 SEG74 -1687 4119 114 SEG9 2504 -584 147 SEG42 2504 3540 180 SEG75 -1812 4119 115 SEG10 2504 -459 148 SEG43 2187 4119 181 SEG76 -1937 4119 116 SEG11 2504 -334 149 SEG44 2062 4119 182 SEG77 -2062 4119 117 SEG12 2504 -209 150 SEG45 1937 4119 183 SEG78 -2187 4119 118 SEG13 2504 -84 151 SEG46 1812 4119 119 SEG14 2504 40 152 SEG47 1687 4119 120 SEG15 2504 165 153 SEG48 1562 4119 121 SEG16 2504 290 154 SEG49 1437 4119 122 SEG17 2504 415 155 SEG50 1312 4119 123 SEG18 2504 540 156 SEG51 1187 4119 124 SEG19 2504 665 157 SEG52 1062 4119 125 SEG20 2504 790 158 SEG53 937 4119 126 SEG21 2504 915 159 SEG54 812 4119 127 SEG22 2504 1040 160 SEG55 687 4119 128 SEG23 2504 1165 161 SEG56 562 4119 129 SEG24 2504 1290 162 SEG57 437 4119
Coordinate Coordinate Coordinate X Y
Pad
No.
Pad Name
X Y
Pad
No.
Pad
Name
X Y
7
S6A0078 120 SEG / 34 COM DRIVER & CONTROLLER FOR DOT MATRIX LCD
PAD DESCRIPTION
Table 2. Pad Description
PAD (No)
Input/
Output
Name Description Interface
VDD (60) for logical circuit (+3V, +5V) VSS1, VSS2
(66, 81) V1-V5
(88-84)
­Power supply
0V (GND)
Bias voltage level for LCD driving.
Power supply
Input voltage to the voltage converter to
Vci (78) Input
generate LCD drive voltage (Vci = 2.5 - 4.5V).
SEG1-SEG80 (106-183, 1-42)
COM0-COM33 (105-89, 43-59)
OSC1, OSC2 (61, 62)
C1, C2 (80, 79)
Output
Output
Input
(OSC1),
Output
(OSC2)
Input
Segment output
Common output
Oscillator
External capacitance input
Segment signal output for LCD drive. LCD
Common signal output for LCD drive. LCD When use internal oscillator, connect
external Rf resistor. If external clock is used, connect it to OSC1.
To use the voltage converter (2 times/3 times), these pins must be connected to the external capacitance.
External
resistor/oscillator
(OSC1)
External
capacitance
RESET (63) Input Reset pin Initialized to low -
When IE = "High", Instruction set is
IE (65) Input
Select pin of instruction set
selected as Table 6. When IE = "Low", Instruction set is selected as Table 10.
The value of Vci is converted two times. To use three times converter, the same capacitance as that of C1-C2 should be connected here.
V5 capacitance
V5OUT2 (82)
Two times converter output
Output
Three times
V5OUT3 (83)
converter
The value of Vci is converted three times. V5
output
IM (64) Input
Interface mode selection
Select Interface mode with the MPU. When IM = "Low": Serial mode, When IM = "High": 4-bit/8-bit bus mode.
-
-
8
120 SEG / 34 COM DRIVER & CONTROLLER FOR DOT MATRIX LCD S6A0078
Table 2. Pad Description (Continued)
PAD (No)
Input/
Output
RS/CS (67) Input
RW/SID (68) Input
E/SCLK (69) Input
Input
DB0/SOD (70)
Output/
Output
DB1-DB3 (71-73)
Input.
Ouptut
DB4-DB7 (74-77)
Name Description Interface
When bus mode, used as register selection input. When RS/CS = "High", data register
Register select/chip select
is selected. When RS/CS = "Low", Instruction register is selected. When serial mode, used as chip selection input. When RS/CS = "Low", selected. When RS/CS = "High", not selected. (low access enable)
When bus mode, used as read/write Read write/serial input data
selection input. When RW/SID = "High",
read operation. When RW/SID = "Low",
write operation.
When serial mode, used for data input pin. Read write
enable/serial clock
When bus mode, used as read write enable
signal.
When serial mode, used as serial clock
input pin.
When 8-bit bus mode, used as lowest bi­Data bus 0
bit/serial output data
directional data bit. During 4-bit bus mode,
open this pin.
When serial mode, used as serial data
output pin. If not in read operation, open
this pin.
When 8-bit bus mode, used as low order bi-
directional data bus.
During 4-bit bus mode or serial mode, open
these pins. Data bus 1- 7
When 8-bit bus mode, used as high order
bi-directional data bus. In case of 4-bit bus
mode, used as both high and low order.
DB7 used for Busy Flag output.
During serial mode, open these pins.
MPU
MPU
MPU
MPU
MPU
MPU
9
S6A0078 120 SEG / 34 COM DRIVER & CONTROLLER FOR DOT MATRIX LCD
FUNCTION DESCRIPTION
SYSTEM INTERFACE
This chip has all three kinds interface type with MPU: Serial, 4-bit bus and 8-bit bus. Serial and bus (4-bit/8-bit) is selected by IM input, and 4-bit bus and 8-bit bus is selected by DL bit in the instruction register. During read or write operation, two 8-bit registers are used. one is data register (DR), the other is instruction register (IR). The data register (DR) is used as temporary data storage place for being written into or read from DDRAM/CGRAM/SEGRAM, target RAM is selected by RAM address setting instruction. Each internal operation, reading from or writing into RAM, is done automatically. So to speak, after MPU reads DR data, the data in the next DDRAM/CGRAM/SEGRAM address is transferred into DR automatically. Also after MPU writes data to DR, the data in DR is transferred into DDRAM/CGRAM/SEGRAM automatically. The Instruction register (IR) is used only to store instruction code transferred from MPU. MPU cannot use it to read instruction data. To select register, use RS/CS input pin in 4-bit/8-bit bus mode (IM = "High") or RS bit in serial mode (IM = "Low").
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-DB6) 1 0 Data write operation (MPU writes data into DR) 1 1 Data read operation (MPU reads data from DR)
BUSY FLAG (BF)
When BF = "High", it indicates that the internal operation is being processed. So during this time the next instruction cannot be accepted. BF can be read, when RS = low and R/W = high (read instruction operation), through DB7 Before executing the next instruction, be sure that BF is not high.
10
120 SEG / 34 COM DRIVER & CONTROLLER FOR DOT MATRIX LCD S6A0078
DISPLAY DATA RAM (DDRAM)
DDRAM stores display data of maximum 96 x 8 bits (96 characters). DDRAM address is set in the address counter (AC) as a hexadecimal number. (refer to Figure 1)
MSB LSB
AC6 AC5 AC4 AC3 AC2 AC1 AC0
Figure 1. DDRAM Address
Display of 5-dot Font Width Character 5-dot 1-line Display
In case of 1-line display with 5-dot font, the address range of DDRAM is 00H-5FH (Refer to Figure 2).
COM1 COM8
COM1 COM8
COM1 COM8
1 2 3 4 5
00 01 02 03 04
SEG1
1 2 3 4 5
1 2 3 4 5
00 01 02 035F
20 21 22 23 24
. . . . 13 14 15 16 17
SEG120
S6A0078 S6A0078
20 21 22 23 24
0501 02 03 04
. . . . 14 15 16 17
(After Shift Left)
20 21 22 23 24
. . . . 13 14 15 16 17
12
(After Shift Right)
25 26 27 28 29 18 19 1A 1B 1C
SEG1
25 26 27 28 29 19 1A 1B 1C
18 1D
25 26 27 28 29
18 19 1A 1B
Figure 2. 1-line X 48ch. Display
Display Position
44 45 46 47 48
. . . . 2B 2C 2D 2E 2F
DDRAM Address
44 45 46 47 48
. . . . 2C 2D 2E 2F 30
44 45 46 47 48
. . . . 2A 2B 2C 2D 2E
COM9 COM16
SEG120
COM9 COM16
COM9 COM16
11
S6A0078 120 SEG / 34 COM DRIVER & CONTROLLER FOR DOT MATRIX LCD
5-dot 2-line Display
In case of 2-line display with 5-dot font, the address range of DDRAM is 00H-2FH, 40H-6FH (refer to Figure 3).
Display Position
COM1 COM8
COM17 COM24
COM1 COM8
COM17 COM24
COM1 COM8
COM17 COM24
1 2 3 4 5
00 01 02 03 04
40 41 42 43 44
SEG1
1 2 3 4 5
41 42 43 44
1 2 3 4 5
00 01 02 032F
6F 40 41 42
20 21 22 23 24
. . . . 13 14 15 16 17
. . . . 53 54 55 56 57 58 59 5A 5B 5C . . . . 6B 6C 6D 6E 6F
SEG120
S6A0078 S6A0078
20 21 22 23 24
0501 02 03 04
. . . . 14 15 16 17
. . . . 54 55 56 57 58 59 5A 5B 5C . . . . 6C 6D 6E 6F
45 5D 40
(After Shift Left)
20 21 22 23 24
. . . . 13 14 15 16 17
. . . . 52 53 54 55 56 57 58 59 5A . . . . 6A 6B 6C 6D
43 5B 6E
12
(After Shift Right)
25 26 27 28 29 18 19 1A 1B 1C
SEG1
25 26 27 28 29 19 1A 1B 1C
18 1D
25 26 27 28 29
18 19 1A 1B
44 45 46 47 48
. . . . 2B 2C 2D 2E 2F
SEG120
DDRAM Address
44 45 46 47 48
. . . . 2C 2D 2E 2F 00
44 45 46 47 48
. . . . 2A 2B 2C 2D 2E
Figure 3. 2-line X 48ch. Display (5-dot Font Width)
COM9 COM16
COM25 COM32
COM9 COM16
COM25 COM32
COM9 COM16
COM25 COM32
12
120 SEG / 34 COM DRIVER & CONTROLLER FOR DOT MATRIX LCD S6A0078
5-dot 4-line Display
In case of 4-line display with 5-dot font, the address range of DDRAM is 00H-17H, 20H-37H, 40H-57H, 60H-77H (refer to Figure 4).
Display Position
COM1 COM8 COM9
COM16 COM17
COM24 COM25
COM32
COM1 COM8 COM9
COM16 COM17
COM24 COM25
COM32
COM1 COM8 COM9
COM16 COM17
COM24 COM25
COM32
1 2 3 4 5
00 01 02 03 04
61 62 63 6460
SEG1
1 2 3 4 5
01 02 03 04
2421 22 23
4441 42 43
61 62 63 64
1 2 3 4 5
00 01 02 03
17
20 21 22 23
37
40 41 42 43
57
77
61 62 6360
20 21 22 23 24
. . . . 13 14 15 16 17
2420 21 22 23
. . . . 33 34 35 36 37
4440 41 42 43
. . . . 53 54 55 56
. . . . 74 75 76 7773
DDRAM Address
S6A0078
20 21 22 23 24
. . . . 14 15 16 17
05
. . . . 34 35 36 37
25
. . . . 54 55 56
45
. . . . 74 75 76 77
65
(After Shift Left)
20 21 22 23 24
. . . . 13 14 15 1612
. . . . 33 34 35 3632
. . . . 53 54 55 56
. . . . 74 75 7672 73
(After Shift Right)
52
57
SEG120
00
20
57
40
60
Figure 4. 4-line X 24ch. Display (5-dot Font Width)
13
S6A0078 120 SEG / 34 COM DRIVER & CONTROLLER FOR DOT MATRIX LCD
Display of 6-dot Font Width Character 6-dot 1-line Display
In case of 1-line display with 6-dot font, the address range of DDRAM is 00H-5FH (refer to Figure 5).
Display Position
COM1 COM8
COM1 COM8
COM1 COM8
1 2 3 4 5
00 01 02 03 04
SEG1
1 2 3 4 5
1 2 3 4 5
00 01 02 035F
16 17 18 19 20
. . . . 0F 10 11 12 13
SEG120
S6A0078 S6A0078
16 17 18 19 20 21 22 23 24 25
0501 02 03 04
. . . . 10 11 12 13
(After Shift Left)
16 17 18 19 20 21 22 23 24 25
. . . . 0F 10 11 12 13
0E
(After Shift Right)
21 22 23 24 25 14 15 16 17 18
SEG1
15 16 17 18 . . . . 24 25 26 27 28
14 19
14 15 16 17 . . . . 22 23 24 25 26
Figure 5. 1-line X 40ch. Display
36 37 38 39 40
. . . . 23 24 25 26 27
DDRAM Address
36 37 38 39 40
36 37 38 39 40
COM9 COM16
SEG120
COM9 COM16
COM9 COM16
14
120 SEG / 34 COM DRIVER & CONTROLLER FOR DOT MATRIX LCD S6A0078
6-dot 2-line Display
In case of 2-line display with 6-dot font, the address range of DDRAM is 00H-2FH, 40H-6FH (refer to Figure 6).
Display Position
COM1 COM8
COM17 COM24
COM1 COM8
COM17 COM24
COM1 COM8
COM17 COM24
1 2 3 4 5
00 01 02 03 04
40 41 42 43 44
SEG1
1 2 3 4 5
41 42 43 44
1 2 3 4 5
00 01 02 032F
6F 40 41 42
16 17 18 19 20
. . . . 0F 10 11 12 13
. . . . 4F 50 51 52 53 54 55 56 57 58 . . . . 63 64 65 66 67
SEG120
S6A0078 S6A0078
16 17 18 19 20 21 22 23 24 25 36 37 38 39 40
0501 02 03 04
. . . .
. . . . 50 51 52 53 54 55 56 57 58 . . . . 64 65 66 67
45 59 68
. . . . 0F 10 11 12 13
. . . . 4E 4F 50 51 52 53 54 55 56 . . . . 62 63 64 65
43 57 66
10 11 12 13 14 15 16 17 18 19
(After Shift Left)
16 17 18 19 20 21 22 23 24 25 36 37 38 39 40 0E
(After Shift Right)
21 22 23 24 25 14 15 16 17 18
SEG1
14 15 16 17 . . . . 22 23 24 25 26
. . . . 23 24 25 26 27
DDRAM Address
. . . . 24 25 26 27 28
36 37 38 39 40
SEG120
Figure 6. 2-line X 40ch. Display (6-dot Font width)
COM9 COM16
COM25 COM32
COM9 COM16
COM25 COM32
COM9 COM16
COM25 COM32
15
S6A0078 120 SEG / 34 COM DRIVER & CONTROLLER FOR DOT MATRIX LCD
6-dot 4-line Display
In case of 4-line display with 6-dot font, the address range of DDARM is 00H-17H, 20H-37H, 40H-57H, 60H-77H (refer to Figure 7).
Display Position
COM1 COM8 COM9
COM16 COM17
COM24 COM25
COM32
COM1 COM8 COM9
COM16 COM17
COM24 COM25
COM32
COM1 COM8 COM9
COM16 COM17
COM24 COM25
COM32
1 2 3 4 5
00 01 02 03 04
61 62 63 6460
SEG1
1 2 3 4 5
01 02 03 04
2421 22 23
4441 42 43
61 62 63 64
1 2 3 4 5
00 01 02 03
17
20 21 22 23
37
40 41 42 43
57
77
61 62 6360
16 17 18 19 20
. . . . 0F 10 11 12 13
2420 21 22 23
. . . . 2F 30 31 32 33
4440 41 42 43
. . . . 4F 50 51 52
. . . . 70 71 72 736F
DDRAM Address
S6A0078
16 17 18 19 20
. . . . 10 11 12 13
05
. . . . 30 31 32 33
25
. . . . 50 51 52
45
. . . . 70 71 72 73
65
(After Shift Left)
16 17 18 19 20
. . . . 0F 10 11 120E
. . . . 2F 30 31 322E
. . . . 4F 50 51 52
. . . . 70 71 726E 6F
(After Shift Right)
4E
53
SEG120
14
34
53
54
74
16
Figure 7. 4-line X 20ch. Display (6-dot Font Width)
120 SEG / 34 COM DRIVER & CONTROLLER FOR DOT MATRIX LCD S6A0078
TIMING GENERATION CIRCUIT
Timing generation circuit generates clock signals for the internal operations.
ADDRESS COUNTER (AC)
Address Counter (AC) stores DDRAM/CGRAM/SEGRAM address, transferred from IR. After writing into (reading from) DDRAM/CGRAM/SEGRAM, AC is automatically increased (decreased) by 1. When RS = "Low" and R/W = "High", AC can be read through DB0-DB6
CURSOR/BLINK CONTROL CIRCUIT
It controls cursor/blink ON/OFF and black/white inversion at cursor position.
LCD DRIVER CIRCUIT
LCD Driver circuit has 34 common and 120 segment signals for LCD driving. Data from SEGRAM/CGRAM/CGROM is transferred to 120-bit segment latch serially, and then it is stored to 120-bit shift latch. When each common is selected by 34-bit common register, segment data also output through segment driver from 100-bit segment latch. In case of 1-line display mode, COM0-COM17 have 1/17 duty, and in 2-line or 4-line mode, COM0-COM33 have 1/33 duty ratio.
17
S6A0078 120 SEG / 34 COM DRIVER & CONTROLLER FOR DOT MATRIX LCD
CGROM (CHARACTER GENERATOR ROM)
CGROM has 5 × 8-dot 240 character pattern
CGRAM (CHARACTER GENERATOR RAM)
CGRAM has up to 5 × 8-dot 8 characters. By writing font data to CGRAM, user defined character can be used (refer to Table 4).
5x8 Dot Character Pattern
Table 4. Relationship between Character Code (DDRAM) and Character Pattern (CGRAM)
Character Code (DDRAM data) CGRAM Address CGRAM Data
D7 D6 D5 D4 D3 D2 D1 D0 A5 A4 A3 A2 A1 A0 P7 P6 P5 P4 P3 P2 P1 P0
0 0 x0 0 0 0 0 0 0 0 0 0
0 0 0 0
. . . . .
. .
0 0 0 x0 1 1 1 1 1 1 0 0 0
. . . . .
. . . . .
. .
. . . . .
1
0
1 1 0 0
1
0
1 1 1 1 1 1 1
. .
0 0 0 0
1
0
1 1 0 0
1
0
1 1 1 1 1 1 1
B1 B0 x 0 0
1
. . . . .
0
B1 B0 x
1
. . . . .
0
1 1 10
1
0 0 0
1
0 0 0
1
1 1 1 1
1
0 0 0
1
0 0 0
1
0 0 0
0
0 0 0 0
. .
01 10 0
1
0 0 0
1
0 0 0
1
1 1 1 1
1
0 0 0
1
0 0 0
1
0 0 0
0
0 0 0 0
Pattern
Number
Pattern 1 1 1
1 1 1
. .
Pattern 8 1 1
1 1 1
18
120 SEG / 34 COM DRIVER & CONTROLLER FOR DOT MATRIX LCD S6A0078
6 x 8 Dots Character Pattern
Character Code (DDRAM data) CGRAM Address CGRAM Data
D7 D6 D5 D4 D3 D2 D1 D0 A5 A4 A3 A2 A1 A0 P7 P6 P5 P4 P3 P2 P1 P0
0 0 x0 0 0 0 0 0 0 0 0 0
0 0 0 0
. . . . .
. .
0 0 0 x0 1 1 1 1 1 1 0 0 0
. . . . .
. . . . .
. .
. . . . .
1
0
1 1 0 0
1
0
1 1 1 1 1 1 1
. .
0 0 0 0
1
0
1 1 0 0
1
0
1 1 1 1 1 1 1
B1 B0 0 0 0
1
0
B1 B0 0
1
0
0 0
.
0
. .
0
.
0
.
0 0
0 0
.
0
. .
0
.
0
.
0 0
1 1 10
1
0 0 0
1
0 0 0
1
1 1 1 1
1
0 0 0
1
0 0 0
1
0 0 0
0
0 0 0 0
. .
01 10 0
1
0 0 0
1
0 0 0
1
1 1 1 1
1
0 0 0
1
0 0 0
1
0 0 0
0
0 0 0 0
Pattern
Number
Pattern 1 1 1
1 1 1
. .
Pattern 8 1 1
1 1 1
1. When BE (Blink Enable bit) = "High", blink is controlled by B1 and B0 bit. In case of 5-dot font width, when B1 = "1", enabled dots of P0-P4 will blink, and when B1 = "0" and B0 = "1",
enabled dots in P4 will blink, when B1 = "0" and B0 = "0", blink will not happen. In case of 6-dot font width, when B1 = "1", enabled dots of P0-P5 will blink, and when B1 = "0" and B0 = "1",
enabled dots of P5 will blink, when B1 = "0" and B0 = "0", blink will not happen.
2. "X": Don't care
19
S6A0078 120 SEG / 34 COM DRIVER & CONTROLLER FOR DOT MATRIX LCD
SEGRAM (SEGMENT ICON RAM)
SEGRAM has segment control data and segment pattern data. During 1-line display mode, COM0 (COM17) makes the data of SEGRAM enable to display icons. When used in 2/4-line display mode COM0 (COM33) does that. Its higher 2-bits are blinking control data, and lower 6-bits are pattern data (refer to Table 5 and Figure 7).
Table 5. Relationship Between SEGRAM Address and Display Pattern
SEGRAM Address
5-dot Font Width 6-dot Font Width
A3 A2 A1 A0 D7 D6 D5 D4 D3 D2 D1 D0 D7 D6 D5 D4 D3 D2 D1 D0
0 0 0 0 B1 B0 X S1 S2 S3 S4 S5 B1 B0 S1 S2 S3 S4 S5 S6 0 0 0 1 B1 B0 X S6 S7 S8 S9 S10 B1 B0 S7 S8 S9 S10 S11 S12 0 0 1 0 B1 B0 X S11 S12 S13 S14 S15 B1 B0 S13 S14 S15 S16 S17 S18 0 0 1 1 B1 B0 X S16 S17 S18 S19 S20 B1 B0 S19 S20 S21 S22 S23 S24 0 1 0 0 B1 B0 X S21 S22 S23 S24 S25 B1 B0 S25 S26 S27 S28 S29 S30 0 1 0 1 B1 B0 X S26 S27 S28 S29 S30 B1 B0 S31 S32 S33 S34 S35 S36 0 1 1 0 B1 B0 X S31 S32 S33 S34 S35 B1 B0 S37 S38 S39 S40 S41 S42 0 1 1 1 B1 B0 X S36 S37 S38 S39 S40 B1 B0 S43 S44 S45 S46 S47 S48 1 0 0 0 B1 B0 X S41 S42 S43 S44 S45 B1 B0 S49 S50 S51 S52 S53 S54 1 0 0 1 B1 B0 X S46 S47 S48 S49 S50 B1 B0 S55 S56 S57 S58 S59 S60 1 0 1 0 B1 B0 X S51 S52 S53 S54 S55 B1 B0 S61 S62 S63 S64 S65 S66 1 0 1 1 B1 B0 X S56 S57 S58 S59 S60 B1 B0 S67 S68 S69 S70 S71 S72 1 1 0 0 B1 B0 X S61 S62 S63 S64 S65 B1 B0 S73 S74 S75 S76 S77 S78 1 1 0 1 B1 B0 X S66 S67 S68 S69 S70 B1 B0 S79 S80 S81 S82 S83 S84 1 1 1 0 B1 B0 X S71 S72 S73 S74 S75 B1 B0 S85 S86 S87 S88 S89 S90 1 1 1 1 B1 B0 X S76 S77 S78 S79 S80 B1 B0 S91 S92 S93 S94 S95 S96
SEGRAM Data Display Pattern
B1, B0: Blinking control bit
Control Bit Blinking Port
BE B1 B0 5-dot font width 6-dot font width
0 X X No blink No blink
1 0 0 No blink No blink 1 0 1 D4 D5
1 1 X D4 - D0 D5 - D0
S1-S80: Icon pattern ON / OFF in 5-dot font width S1-S96: Icon pattern ON / OFF in 6-dot font width
"X": Don't care
20
120 SEG / 34 COM DRIVER & CONTROLLER FOR DOT MATRIX LCD S6A0078
SEG120
SEG91
SEG92
SEG93
SEG94
SEG95
SEG111
SEG112
SEG113
SEG114
SEG116
SEG117
SEG118
SEG119
SEG96
SEG115
SEG120
SEG109
SEG110
5-Dot Font Width (FW = 0)
S1 S2 S3 S4 S5
SEG1
SEG2
SEG3
SEG4
SEG5
6-Dot Font Width (FW = 1)
S1 S2 S3 S4 S5
S6
S76 S77 S78 S79 S80 S111S112S113S114S115 S116S117S118S119S120
. . .. . .
SEG76
SEG77
SEG78
SEG79
SEG80
S91 S92 S93 S94 S95 S109S110 S113 S116 S117 S118 S119
S96
SEG111
SEG112
SEG113
S111S112 S114
SEG114
SEG115
S115
SEG116
SEG117
SEG118
SEG119
S120
SEG1
SEG2
SEG3
SEG4
SEG5
SEG6
. . .. . .
Figure 7. Relationship between SEGRAM and Segment Display
21
Loading...
+ 49 hidden pages