34COM/80SEG DRIVER & CONTROLLER FOR DOT MATRIX LCD S6A0074
INTRODUCTION
S6A0074 is a dot matrix LCD driver & controller LSI 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 80 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)
34COM/80SEG DRIVER & CONTROLLER FOR DOT MATRIX LCD S6A0074
times), these pins must be connected to
PAD DESCRIPTION
Table 2. Pad Description
Pad (No) Input/
Output
VDD (43) - Power supply for logical circuit(+3V,+5V) Power supply
VSS1, VSS2
(49, 64)
V1 - V5
(71- 67)
Vci (61) Input Input voltage to the voltage converter
SEG1 – SEG80
(89-143, 1-25)
COM0 – COM33
(72-88, 26-42)
OSC1, OSC2
(45, 44)
C1, C2
(63, 62)
RESET (46) Input Reset pin Initialized to Low IE (48) Input Select pin of
V5OUT2 (65) Output Two times
V5OUT3 (66) Three times
IM (47) Input Interface mode
0V(GND)
Output Segment output Segment signal output for LCD drive. LCD
Output Common output Common signal output for LCD drive. LCD
Input
(OSC1),
Output
(OSC2)
Input External
Name Description Interface
Bias voltage level for LCD driving.
to generate LCD drive voltage
(Vci = 2.5 - 4.5V).
Oscillator When use internal oscillator, connect
capacitance input
instruction set
converter output
converter output
selection
external Rf resistor.
If external clock is used, connect it to
OSC1.
To use the voltage converter (2 times/3
the external capacitance.
When IE = "High", Instruction set is
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.
The value of Vci is converted three
times.
Select Interface mode with the MPU.
When IM = "Low" : Serial mode,
When IM = "High" : 4-bit/8-bit bus
mode.
resistor/oscillator
External
(OSC1)
External
capacitance
-
V5
capacitance
V5
-
7
S6A0074 34COM/80SEG DRIVER & CONTROLLER FOR DOT MATRIX LCD
Table 2. Pad Description (Continued)
Pad (No) Input/
Name Description Interface
Output
RS/CS (50) Input Register elect/
Chip select
RW/SID (51) Input Read/Write/Serial
input data
E/SCLK (49) Input Read/Write
enable/Serial
clock
DB0/SOD (53) Input.-
Output/
DB1- DB3
(54 - 56)
DB4 - DB7
Output
Input.
Output
When 8-bit bus mode, used as high
Data bus 0 bit/
Serial output data
Data bus 1 - 7 When 8-bit bus mode, used as low
(57- 60)
When bus mode, used as register
selection input.
When RS/CS = "High", Data register 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
selection input.
When RW/SID = "High", read
operation.
When RW/SID = "Low", write
operation.
When serial mode, used for data input
pin.
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-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.
order bi-directional data bus.
During 4-bit bus mode or serial mode,
open these pins.
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
8
34COM/80SEG DRIVER & CONTROLLER FOR DOT MATRIX LCD S6A0074
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.
9
S6A0074 34COM/80SEG DRIVER & CONTROLLER FOR DOT MATRIX LCD
COM16
COM16
COM16
DISPLAY DATA RAM (DDRAM)
DDRAM stores display data of maximum 80 x 8 bits (80 characters). DDRAM address is set in the address
counter (AC) as a hexadecimal number. (refer to Figure 1.)
MSBLSB
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-4FH (Refer to Figure 2).
Display Position
COM1
COM8
1 2 3 4 5
00 01 02 03 04
SEG1
6 7 8 9 10 11 12 13 14 15
05 06 07 08 09 0A0E 0F1610 11 12
S6A0074
0B 0C 0D
17 18 19 20
SEG80SEG1
21 22 23 24
13 14 15 16
25 26
17 18
19 1A 1B 1C
DDRAM Address
S6A0074
27 28 29 30
1D 1E
31 32
SEG80
COM9
1F
COM1
COM8
COM1
COM8
1 2 3 4 5
01 02 03 04
1 2 3 4 5
01 02 03 04
4F 000F 10
6 7 8 9 10 11 12 13 14 15
05 06 07 08 09 0A0E 0F
6 7 8 9 10 11 12 13 14 15
05 06 07 08 09 0A0E
0B 0C 0D
0B 0C 0D
Figure 2. 1-line X 32 ch. Display
16
17 18 19 20
11 12
1020
(After Shift Left)
16
17 18 19 20
(After Shift Right)
21 22 23 24
13 14 15 16
21 22 23 24
11 12
13 14 15 16
17 18
25 26
27 28 29 30
19 1A 1B 1C
25 26
27 28 29 30
17 18
19 1A 1B 1C
1D 1E
31 32
1F
31 32
1D 1E
COM9
COM9
10
34COM/80SEG DRIVER & CONTROLLER FOR DOT MATRIX LCD S6A0074
5-dot 2-line Display
In case of 2-line display with 5-dot font, the address range of DDRAM is 00H-27H, 40H-67H (refer to Figure 3).
Figure 6. 2-line X 26h. Display (6-dot Font Width)
21 22 23 24
13 14 15 16
21 22 23 24
11 12
13 14 15 16
17 18
25 26
19 1A
25 26
17 18
COM9
COM16
COM25
COM32
COM9
COM16
COM25
COM32
14
34COM/80SEG DRIVER & CONTROLLER FOR DOT MATRIX LCD S6A0074
6-dot 4-line Display
In case of 4-line display with 6-dot font, the address range of DDARM is 00H-13H, 20H-33H, 40H-53H, 60H-73H
(refer to Figure 7).
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 2345
00 01 02 03 04
21 22 23 24 25 26 27 282B 2C2A2920
40 41 42 43 44
61 62 63 64 65 66 67 686B 6C6A6960
SEG1
1 2345
01 02 03 04
21 22 23 24 25 26 27 282D2B 2C2A29
41 42 43 44
61 62 63 64 65 66 67 68
1 2345
01 02 03 04
00
13
33 20
21 22 23 24 25 26 27 28
41 42 43 44
61 62 63 64 65 66 67 68
6 78 9 10 11 12 13
05 06 07 08 09 0A
S6A0074
6 78 9 10 11 12 13
05 06 07 08 09 0A
(After Shift Left)
6 78 9 10 11 12 13
05 06 07 08 09 0A
(After Shift Right)
0B 0C
4B 4C45 46 47 48 49 4A
SEG78
0B 0C 0D
4B 4C 4D45 46 47 48 49 4A
6D6B 6C6A69
0B
2B2A29
4B45 46 47 48 49 4A53 40
6B6A6973 60
Display Position
DDRAM Address
Figure 7. 4-line X 13ch. Display (6-dot Font Width)
15
S6A0074 34COM/80SEG DRIVER & CONTROLLER FOR DOT MATRIX LCD
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 80 segment signals for LCD driving. Data from
SEGRAM/CGRAM/CGROM is transferred to 80-bit segment latch serially, and then it is stored to 80-bit shift
latch. When each com is selected by 34-bit common register, segment data also output through segment driver
from 80-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.
16
34COM/80SEG DRIVER & CONTROLLER FOR DOT MATRIX LCD S6A0074
CGROM (CHARACTER GENERATOR ROM)
CGROM has 5 X 8-dot 240 character pattern.
CGRAM (CHARACTER GENERATOR RAM)
CGRAM has up to 5 × 8 dots 8 characters. By writing font data to CGRAM, user defined character can be used
(refer to Table 4).
5 × 8 dots Character Pattern
Table 4. Relationship Between Character Code (DDRAM) and Character Pattern (CGRAM)
Character Code (DDRAM data)CGRAM AddressCGRAM Data
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
18
34COM/80SEG DRIVER & CONTROLLER FOR DOT MATRIX LCD S6A0074
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 8).
Table 5. Relationship between SEGRAM Address and Display Pattern
1 0 0 No blink No blink
1 0 1 D4 D5
1 1 X D4 - D0 D5 - D0
2. S1-S80: Icon pattern ON/OFF in 5-dot font width
S1-S78: Icon pattern ON/OFF in 6-dot font width
3. "X": Don't care
19
S6A0074 34COM/80SEG DRIVER & CONTROLLER FOR DOT MATRIX LCD
SEG80
SEG10
SEG11
SEG69
SEG70
SEG71
SEG72
SEG74
SEG75
SEG76
SEG77
SEG12
SEG73
SEG78
SEG67
SEG68
5-Dot Font Width (FW = 0)
S1 S2 S3 S4 S5S6 S7 S8 S9 S10
SEG1
SEG2
SEG3
SEG4
SEG5
SEG6
SEG7
SEG8
SEG9
6-Dot Font Width (FW = 1)
S1 S2 S3 S4 S5S7 S8 S9 S10 S11
S6
SEG10
S12
. . .
S71 S72 S73 S74 S75
SEG71
SEG72
SEG73
SEG74
S67 S68S71 S72S74 S75 S76 S77
S69 S70
S76 S77 S78 S79 S80
SEG76
SEG75
S73
SEG77
SEG78
SEG79
S78
SEG1
SEG2
SEG3
SEG4
SEG5
SEG6
SEG7
SEG8
SEG9
. . .. . .
Figure 8. Relationship between SEGRAM and Segment Display
20
34COM/80SEG DRIVER & CONTROLLER FOR DOT MATRIX LCD S6A0074
INSTRUCTION DESCRIPTION
OUTLINE
To overcome the speed difference between internal clock of S6A0074 and MPU clock, S6A0074 performs
internal operation by storing control information to IR or DR. The internal operation is determined according to the
signal from MPU, composed of read/write and data bus. (refer to Table 6/10)
Instruction can be divided largely four kinds;
• S6A0074 function set instructions (set display methods, set data length, etc.)
• Address set instructions to internal RAM
• Data transfer instructions with internal RAM
• Others
The address of internal RAM is automatically increased or decreased by 1.
When IE = "High", S6A0074 is operated according to Instruction Set 1(Table 6) and
when IE = "Low", S6A0074 is operated according to Instruction Set 2 (Table 10).
NOTE: During internal operation, Busy Flag (DB7) is read high. Busy Flag check must be proceeded the next instruction.
Busy flag check must be proceeded the next instruction.
When an MPU program with Busy Flag (DB7) checking is made, 1/2 Fosc (is necessary) for executing the next
instruction by the falling edge of the “E” signal after the Busy Flag (DB7) goes to “Low”.
21
Loading...
+ 47 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.