S6A0072 is a dot matrix LCD driver & controller IC which is fabricated by low power CMOS technology. It is
capable of displaying1-line 16 characters or 2-line 8 characters with 5 × 8 dots format.
FUNCTIONS
Character type dot matrix LCD driver & controller
• Easy interface with 4-bit or 8-bit MPU.
• Internal driver: 16 common and 40 segment signal output.
• Display character pattern: 5 × 8 dots format (240 kinds)
• Direct programming of the special character patterns by character generator RAM
• Mask option for programming customer character patterns
• Various instruction functions
• Automatic power on reset
FEATURES
• Internal Memory
- Character Generator ROM (CGROM): 9600 bits (240 characters × 5 × 8 dot)
S1 - S40 Output Segment output Segment signal output for LCD driving LCD
C1 - C16 Input Common output Common signal output for LCD driving LCD
EXTCLK Input External clock
EXT_INT Input External/internal
RS Input Register select Used as register selection input.
R/W Input
E Input Read/write
DB0-DB3 Input/Output Data bus 0 - 7 When 8-bit bus mode, used as low order
DB4-DB7
RESETB Input Reset If it is necessary to initialize the system by
TEST Output Test pin Internal oscillator test pin. Open this pin. Open
Input/Output
0V (GND) Bias voltage level for LCD driving
When 8-bit bus mode, used as high order bi-
Name Description Interface
for logical circuit (+3V, +5V) Power supply
LCD bias pin
When using external clock, used as clock
Input
oscillator clock
select
Read/write Used as read/write selection input.
enable
input pin. When using internal oscillator,
connect to VDD or VSS.
When EXT_INT = "High", external clock is
used. When "Low", internal oscillator is used.
When RS = "High", Data register is selected.
When RS = "Low", Instruction register is
selected.
When R/W = "High", read operation.
When R/W = "Low", write operation.
Used as read/write enable signal.
bi-directional data bus.
During 4-bit bus mode open these pins.
directional data bus. In case of 4-bit bus
mode, used as both high and low order.
DB7 is used for busy flag output during read
instruction operation.
hardware, force "Low", level signal to this
terminal about 1.2ms.
This chip consists of two kinds of interface type with MPU: 4-bit bus and 8-bit bus. 4-bit bus and 8-bit bus is
selected by DL bit of function set in the instruction register. During read or write operation, two 8-bit registers are
used. One is the data register (DR), 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 DDRAM/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 code transferred from MPU. MPU
cannot read data from instruction register. The register selection depends on RS input pin setting in both 4-bit bus
mode.
Table 1. Various Kinds Of Operations According 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 - DB6)
1 0 Data write operation (MPU writes data into DR)
1 1 Data read operation (MPU reads data from DR)
BUSY FLAG (BF)
BF = "High" 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
port.
Before executing the next instruction, be sure that BF is not High.
ADDRESS COUNTER (AC)
Address Counter (AC) stores the address of DDRAM/CGRAM that are transferred from IR. After writing into
(reading from) DDRAM/CGRAM data, AC is increased (decreased) by 1 automatically. When RS = "Low", and
R/W = "High", AC value can be read through DB0 - DB6 ports.
DDRAM stores 8bits character code in CGROM/CGRAM and its maximum number is 16 (16 Characters).
DDRAM address is set by the address counter (AC) as hexadecimal number.
MSBLSB
AC6AC5 AC4AC3AC2 AC1AC0
HEXHEX
The relations of DDRAM address and display position is as follows.
1) DDRAM Addressing Mode 0 (A = 0)-
In this addressing mode, the address range of DDRAM is 00H - 0FH.
After Shift Left:
After Shift Right:
12345
00 01 02 03 04
COM1 - COM8COM9 - COM16
COM1
COM8
COM1
COM8
12345
01 02 03 04
12345
0F 00
6789 10 11 12 13 14 15
05 06 0708 09 0A0E 0F
6789 10 11 12 13 14 15
05 06 07 0809 0A0E 0F1600
6789 10 11 12 13 14 15
01 02 03 04
05 0607 08 09 0A0E
0B 0C 0D
0B 0C 0D
16
0B 0C 0D
2) DDRAM Addressing Mode 1 (A = 1)
In this addressing mode, the address range of DDRAM is 00H - 07H and 40H - 47H.
CGRAM is used for user defined character pattern. The format of the character pattern is 5 × 7 dots except for
the cursor position and has a maximum of 4 characters. To use the character pattern in CGRAM write the
character code into DDRAM as shown in table 2.
Table 2. Relationship Between Character Code (DDRAM) and Character Pattern (CGRAM)
Character Code (DDRAM data)CGRAM AddressCGRAM Data
CGROM generates 5 × 8 character pattern from character generate code in DDRAM. CGROM has 5 × 8-dot 240
character pattern including cursor position. If the data in cursor position bit are high, the data are included to the
character pattern. So, the selected positions are always "ON" regardless to cursor position. The relationship
between character code and character pattern can be referred to table 5.
TIMING GENERATION CIRCUIT
Timing generation circuit generates clock signals for the internal operations.
LCD DRIVER CIRCUIT
LCD driver circuit has 16 common and 40 segment output signals for LCD driving. Data from CGRAM/CGROM is
transferred to 40-bit segment shift register serially, then it is stored to 40-bit segment output latch. When each
com is selected by a 16-bit common register, the segment data also outputs through segment driver from 40-bit
segment output latch.
CURSOR/BLINK CONTROL CIRCUIT
It controls cursor/blink ON/OFF at the cursor position.
To overcome the speed difference between the internal clock of S6A0072 and the MPU clock, the S6A0072
performs an 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.
Instruction can be divided into four types:
• S6A0072 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.
NOTE: During an internal operation, the busy flag (DB7) is high. Busy flag check must precede the next instruction.
When an MPU program with busy flag (DB7) checking is made, 1/2Fosc is necessary for executing the next
instruction by the falling edge of the "E" signal after the busy flag (DB7) goes to "Low".
10
Loading...
+ 22 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.