91400 RM (IM) HO No.6703-1/21
Ver.1.34
32900
Preliminary
Overview
The LC868920A is a segment driver with built-in display RAM for the liquid crystal dot matrix-graphic display. It
stores the display data sent from the 8-bit microcontroller in the internal display RAM and generates dot matrix LCD
drive signals to control LCD panels. The LC868920A controls the graphic display simply in such a way that one bit of
the display RAM corresponds to one dot of the LCD.
It is possible to expand the display capacity of LC868364A more than 32 × 100 dots by using this segment driver. The
LCD controller operates on the low frequency clock from the microcontroller except when writing to registers or RAM.
Therefore, it is suitable for personal electronics devices with LCD panelswhich operates in low-power.
Features
(1) Segment driver to expand LCD display capability for LC868364A.
(2) Internal RAM : 1280 × 8 bits
(3) Segment output port : 80 terminals
- Segment output direction : S01 S80
Dot Matrix LCD Segment Driver with On-Chip
1280-Byte Display RAM for the LC868364A Expansion
LC868920A
Ordering number : ENN*6703
CMOS IC
LC868920A
No.6703-2/21
(4) LCD automatic display controller
- Display duty : 1/1 - 1/32 duty
- LCD control functions
1. Number of display bits in horizontal direction control
2. Vertical display scroll function : by changing the display start address
3. Read/Write display RAM
4. LCD drive frequency control
- Source clock of LCD controller : Crystal oscillator for low power consumption
- Clock for accessing registers and display RAM (R/W) : System clock from microcontroller.
(5) Power supply
- Internal logic circuit 2.5V - 6.5V
- LCD driver 3.0V - 6.5V
(6) Shipping form
- Chip delivery form
LC868920A
No.6703-3/21
Pad Assignment
Chip size (X × Y) : 4.04mm × 3.21mm
Thickness of chip : 480µm
Pad size : 105µm × 105µm
Pad pitch : 110µm
51
50
49
48
47
46
45
44
43
42
41
40
39
38
37
36
35
34
33
32
31
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 73 74 75 76 77 78 79 80 72
30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 8 7 6 5 4 3 2 1 9
LC868920A
No.6703-4/21
Pad na m e an d Coordi na te s value
Coordinates Coordinates
Pin No. Pad No. Name Xµm Yµm Pin No. Pad No. Name Xµm Yµm
1 1 S01 -1423 -1365 51 51 S51 1780 1352
2 2 S02 -1313 -1365 52 52 S52 1265 1364
3 3 S03 -1203 -1365 53 53 S53 1155 1364
4 4 S04 -1093 -1365 54 54 S54 1045 1364
5 5 S05 -983 -1365 55 55 S55 935 1364
6 6 S06 -873 -1365 56 56 S56 825 1364
7 7 S07 -763 -1365 57 57 S57 715 1364
8 8 S08 -653 -1365 58 58 S58 605 1364
9 9 S09 -543 -1365 59 59 S59 495 1364
10 10 S10 -433 -1365 60 60 S60 385 1364
11 11 S11 -323 -1365 61 61 S61 275 1364
12 12 S12 -213 -1365 62 62 S62 165 1364
13 13 S13 -103 -1365 63 63 S63 55 1364
14 14 S14 7 -1365 64 64 S64 -55 1364
15 15 S15 117 -1365 65 65 S65 -165 1364
16 16 S16 227 -1365 66 66 S66 -275 1364
17 17 S17 337 -1365 67 67 S67 -386 1364
18 18 S18 447 -1365 68 68 S68 --496 1364
19 19 S19 557 -1365 69 69 S69 -606 1364
20 20 S20 667 -1365 70 70 S70 -716 1364
21 21 S21 777 -1365 71 71 S71 -826 1364
22 22 S22 887 -1365 72 72 S72 -936 1364
23 23 S23 997 -1365 73 73 S73 -1046 1364
24 24 S24 1107 -1365 74 74 S74 -1156 1364
25 25 S25 1218 -1365 75 75 S75 -1266 1364
26 26 S26 1328 -1365 76 76 S76 -1376 1364
27 27 S27 1438 -1365 77 77 S77 -1486 1364
28 28 S28 1548 -1365 78 78 S78 -1596 1364
29 29 S29 1658 -1365 79 79 S79 -1706 1364
30 30 S30 1768 -1365 80 80 S80 -1816 1364
31 31 S31 1780 -849 81 81 V2 -1753 909
32 32 S32 1780 -739 82 82 V3 -1753 788
33 33 S33 1780 -629 83 83 V5 -1753 668
34 34 S34 1780 -519 84 84 VSS -1753 548
35 35 S35 1780 -408 85 85 DB0 -1753 428
36 36 S36 1780 -298 86 86 DB1 -1753 308
37 37 S37 1780 -188 87 87 DB2 -1753 188
38 38 S38 1780 -78 88 88 DB3 -1753 68
39 39 S39 1780 32 89 89 DB4 -1753 -52
40 40 S40 1780 142 90 90 DB5 -1753 -172
41 41 S41 1780 252 91 91 DB6 -1753 -292
42 42 S42 1780 362 92 92 DB7 -1753 -412
43 43 S43 1780 472 93 93 VDD -1753 -532
44 44 S44 1780 582 94 94 SCK -1753 -652
45 45 S45 1780 692 95 95 CS -1753 -772
46 46 S46 1780 802 96 96 RD -1753 -892
47 47 S47 1780 912 97 97 WR -1753 -1012
48 48 S48 1780 1022 98 98 RS -1753 -1132
49 49 S49 1780 1132 99 99 CL2 -1753 -1252
50 50 S50 1780 1242
100 100 M -1753 -1372
Notes:
• When using LC868920A in the form of chip, connect the substrate of chip to VSS or leave it open.
LC868920A
No.6703-5/21
System Block Diagram
Term inal Form
A TYPE B TYPE
Terminals: M, RS, RD , WR , CL2 Terminals : SCK
C TYPE D TYPE
Terminals: DB0 to DB7 Term inals: S1 to S80
LCD DRIVER
Latch for display data
TIMING
GENERATOR
START ADDRESS
UPPER CURSOR
ADDRESS REGISTER
LOWER CURSOR
ADDRESS REGISTER
HOTIZONTAL WORD
COUNT REGISTER
INSTRUCTION
REGISTER
DOUT
DOUT
UPPER ADDRESS
LOWER ADDRESS
DIN
RAM
(1280 BYTES)
S80
S01
V2
V3
V5
VDD
VSS
SCK
CL2
M
RS
RD
WR
CS
DB0
DB1
DB2
DB3
DB4
DB5
DB6
DB7
DUTY REGISTER
VDD
VSS
IN IN
VDD
IN/OUT
DATA
OUTPUT
CONTROL OUT
V5
V3
V2
VSS
LC868920A
No.6703-6/21
Terminal Function Table
Terminal Pin No. Input/Output Function Description
VSS 84 - Neg ative power supply (-)
VDD 93 - Positive power supply (+)
DB0 - DB7 85 - 92 Input/Output Built -in Data bus
Terminals for sending/receiving data to/from the MPU
SCK 94 Input Clock for regi sters and display RAM access
CS 95 Input Chip select terminal : Enable when CS=0
RD 96 Input Read signal f rom LC868920A to LC868 364A
WR 97 Input Write si gnal from LC8683 64A to LC868 920A
RS 98 Input Register selection
RS=1 : Instruction register
RS=0 : Data register
CL2 99 Input LCD display sign al (clock signal )
M 100 I nput LCD display signal (synchronization signal)
V2
V3
V5
81
82
83
-
-
-
LCD power supply
S1 - S80 1 - 80 Output LCD segment drive output terminal
LC868920A
No.6703-7/21
1. Absolute Maximum Ratings at Ta=25°C, VSS=0V
Conditions Ratings
Parameter Symbol Pins VDD[V] min. typ. max.
unit
Supply voltage VDDMAX VDD -0.3 - +7.0
LCD Input voltage VNMAX V2,V3,V5 VSS - +7.0
VI(1) CS,RD,WR,RS,
CL2,M,SCK
-0.3 - VDD+0.3 Input voltage
VI(2) DB0 to DB7
(Input mode)
-0.3 VDD+0.3
VO(1) S1 to S80 -0.3 - V5+0.3 Output voltage
VO(2) DB0 to DB7
(Output mode)
-0.3 - VDD+0.3
V
Maximum power
consumption
Pdmax 200 mW
Operating
temperature
Topr -30 - 70
Storage
temperature
Tstg -55 - 125
°C
*) The following condition has to be satisfied: V5 V3 V2 VSS
2. Rec ommended Operating Ra nge at Ta=- 30 to +70°C, VSS=0V
Conditions Ratings
Parameter Symbol Pins VDD[V] min. typ. max.
unit
FSCK 6MHz 3.3 6.5
FSCK 4MHz 2.7 6.5
Operating
supply voltage
range
VDD VDD
FSCK 3MHz 2.4 6.5
Supply voltage
range in Hold
mode
VHD VDD Keep RAM and
register data in
standby mode
2.0 6.5
LCD supply
voltage range
V5 V5 VSS 6.5
4.5 - 6.5 0.75VDD VDD VIH(1) DB0 to DB7
(Input mode)
CS,RD,WR ,RS
2.4 - 4.5 0.75VDD VDD
4.5 - 6.5 0.75VDD VDD
High level input
voltage
VIH(2) CL2,M,SCK
2.4 - 4.5 0.75VDD VDD
4.5 - 6.5 0 0.25VDD VIL(1) DB0 to DB7 Input mode
2.4 - 4.5 0 0.25VDD
4.5 - 6.5 0 0.25VDD VIL(2) CS,RD,WR,RS
2.4 - 4.5 0 0.25VDD
4.5 - 6.5 0 0.25VDD
Low level input
voltage
VIL(3) CL2,M,SCK
2.4 - 4.5 0 0.25VDD
V
FCL2 CL2 2.4 - 6.5 32 32.768 33 kHz
2.4 - 6.5 0.3 3
2.7 - 6.5 0.3 4
Input clock
frequency FSCK SCK
3.3 - 6.5 0.3 6
MHz
Note:
The specifications above concerning recommended operating conditions and electrical characteristics
assume the chip is in th e QIP100E package. However, the LSI will be delivered i n die form, not in a p ackage.
The specifications will be very similar for the die, however, depending on factors such as the board on which
the chip is mounted, t he bonding pressure, and the mo ulded plastic the characte ristics will differ.
The ideal operating temperature for the above specifications is Ta= 25
°
C ± 2
°
C.
LC868920A
No.6703-8/21
3. Electrical Characteristics at Ta=-30 to +70°C, VSS=0V
Conditions Ratings
Parameter Symbol Pins
VDD[V] min. typ. max.
unit
• Output mode
• IOH=-0.6mA
4.5 - 6.5 2.4 VDD High level output
voltage
VOH(1) DB0 to DB7
• Output mode
• IOH=-0.1mA
2.5 - 6.5 VDD-0.5 VDD
• Output mode
• IOL=+0.6mA
4.5 - 6.5 0 0.4 Low level output
voltage
VOL(1) DB0 to DB7
• Output mode
• IOL=+0.1mA
2.5 - 6.5 0 0.4
V
• -90µA for each
Si terminal
• V5-VSS=5V
4.5 - 6.5 630
V5-Si drop voltage
(i:1 to 80)
VD(1) S1 to S80
• -15µA for each
Si terminal
• V5-VSS=5V
2.5 - 6.5 120
• -90µA for each
Si terminal
• V5-VSS=5V
4.5 - 6.5 200
VX-Si drop voltage
(X:2, 3) (i: 1 to 80)
VD(2) S1 to S80
• -15µA for each
Si terminal
• V5-VSS=5V
2.5 - 6.5 120
• +90µA for each
Si terminal
• V5-VSS=5V
4.5 - 6.5 -630
VSS-Si drop voltage
(i:1 to 80)
VD(3) S1 to S80
• +15µA for each
Si terminal
• V5-VSS=5V
2.5 - 6.5 -120
mV
Hysteresis voltage VHIS SCK 2.5 - 6.5 0.1VDD V
4. Sample Current Dissipation Characteristics at Ta=-30 °C to +70°C, VSS=0V
The sample current dissipation characteristics shows the measurement result of Sanyo evaluation board.
The currents through the output transistors are ignored.
Conditions Ratings
Parameter Symbol Pins
VDD[V] min. typ. max.
unit
4.5 - 6.5 7 15 IDD(1) • FCL2=32kHz
• FSCK : stop
• Figure 1
• V2=V3=V5=VSS 2.5 - 4.5 4 10
4.5 - 6.5 15 50
Current consumption
during normal operation
IDD(2)
• FCLK2=32kHz
• FSCK : stop
• Figure 4
• V5=5V, V3=3V,
V2=2V 2.5 - 4.5 5 20
4.5 - 6.5 170 300 Current consumption
during READ/WRITE
operation to RAM or
registers
IDD(3) FCL2=32kHz
• FSCK : 3MHz
• Figure 2
• V2=V3=V5=VSS 3.0 - 4.5 100 200
4.5 - 6.5 0.05 30 Current consumption
during standby mode
IDD(4) FCL2=0Hz
FSCK : stop
• Figure 3
• V2=V3=V5=VSS 2.5 - 4.5 0.02 20
µA
LC868920A
No.6703-9/21
Figure 1 Current consumption measuring circuit Figure 2 Current consumption measuring circuit
during normal operation during READ/WRITE operation to
RAM or registers
Figure 3 Current consumption measuring circuit Figure 4 Current consumption measuring circuit
during standby mode during LCD operation
A
VDD Open
Open Open
VDD S1 S2 S80
DB0
DB1
DB2
DB3
DB4
DB5
DB6
DB7
SCK
CS
RD
WR
RS
M
CL2 VSS V2 V3 V5
fCL2=32kHz
LC868920A
VDD Open
Open
Open
VDD S1 S2 S80
DB0
DB1
DB2
DB3
DB4
DB5
DB6
DB7
CS
RD
WR
RS
M
CL2 VSS V2 V3 V5
fCL2=32kHz
LC868920A
SCK
fSCK=3MHz
A
VDD Open
Open
Open
VDD S1 S2 S80
DB0
DB1
DB2
DB3
DB4
DB5
DB6
DB7
SCK
CS
RD
WR
RS
M
CL2 VSS V2 V3 V5
fCL2=32kHz
LC868920A
2V 3V 5V
A
VDD Open
Open
Open
VDD S1 S2 S80
DB0
DB1
DB2
DB3
DB4
DB5
DB6
DB7
SCK
CS
RD
WR
RS
M
CLK2 VSS V2 V3 V5
fCL2=0Hz
LC868920A
A
LC868920A
No.6703-10/21
AC Characteris tics at Ta=-30 to +70°C, VSS=0V
(1) MPU Interface
1. Read/write clock
2. Read cycle
3. Write cycle
SCK
RD, WR
1
4 3 5
2
6
RD
CS, RS
12
10
11
7
6
9
8
8
DB0 - DB7
0.75VDD
0.25VDD
WR
CS, RS
DB0 - DB7
7
6
9 10 8
8
14
0.75VDD
0.25VDD
13
LC868920A
No.6703-11/21
Conditions Value
No Item Symbol
VDD MIN MAX
unit
3.3 – 6.5 166 3340
2.7 – 6.5 249 3340
1 SCK clock cycle tsck SCK
2.4 – 6.5 333 3340
ns
2 SCK_H width pw1 SCK 2.4 – 6.5 0.45 0.55 tsck
3 SCK_L width tr1,tf1 SCK 2.4 – 6.5 0.45 0.55 tsck
4.5 - 6.5 5 40 4 RD, WR set-up time tRS SCK, RD, WR
2.4 - 4.5 5 100
ns
4.5 - 6.5 5 40 5 RD, WR Hold time tRH SCK, RD, WR
2.4 - 4.5 5 100
ns
6 RD, WR pulse width pw1 RD, WR 2.4 – 6.5 3 6 tsck
tcyc1 RD 2.4 – 6.5 12
7 ENABLE cycle time
tcyc2 WR 2.4 – 6.5 12
tsck
4.5 - 6.5 20 8 Rising/Falling time tr1, tf1 RD
2.4 - 4.5 40
ns
4.5 - 6.5 40 tAS1 CS, RS, RD
2.4 - 4.5 40
ns
4.5 - 6.5 40
9 Address set-up time
tAS2 CS, RS, WR
2.4 - 4.5 40
ns
tAH1 CS, RS, RD 2.4 – 6.5 0.5
10 Address Hold time
tAH2 CS, RS, WR 2.4 – 6.5 0.5
tsck
11 Data delay time tDDR1 RD, DB0 - DB7, CL=50pF 2.4 – 6.5 2 tsck
4.5 - 6.5 20 12 Data Hold time tDHR1 RD, DB0 - DB7, CL=50pF
2.4 – 6.5 20
ns
13 Data set-up time tDSW1 WR, DB0 - DB7, CL=50pF 2.4 – 6.5 1.5 tsck
14 Data Hold time tDHW1 WR, DB0 - DB7, CL=50pF 2.4 – 6.5 1 tsck
CL: Loading Capacity
LC868920A
No.6703-12/21
(2) Display Control Timing at Ta=-30 to +70°C, VSS=0V
Conditions Value
No Item Symbol
VDD MIN MAX
unit
1 Clock cycle tCL2 CL2 2.4 - 6.5 30 31 µs
2 Low level pulse width tWLCL2 CL2 2.4 - 6.5 13 µs
3 High level pulse width tWHCL2 CL2 2.4 - 6.5 13 µs
4.5 - 6.5 20 4 Rising time tr CL2
2.4 - 4.5 50
ns
4.5 - 6.5 20 5 Falling time tf CL2
2.4 - 4.5 50
ns
4.5 - 6.5 60 6 M delay time tDM M
2.4 - 4.5 100
ns
CL2
M
4 5
0.75VDD
0.25VDD
0.75VDD
0.25VDD
1
2
3
6
LC868920A
No.6703-13/21
Exam pl e circuit for refe rence
1. 32
× 112 dots
2. 32
× 192 dots
LCD Panel (32 × 112 dots)
External
Voltage up
converter
C32
C1
P40
(
2KOUT
)
VLCD
S32 S1
P41(CL2)
P42(LCDP2)
P43(M)
P00
P01
P02
P03
P04
P05
P06
P07
P46(RD)
P47(WR)
P44
P45
VDD
V2
V3
V5
VSS
LC868364A LC868920A
CL2
SCK
M
DB0
DB1
DB2
DB3
DB4
DB5
DB6
DB7
RD
WR
CS
RS
VDD
V2
V3
V5
VSS
S80 S1
LCD Panel (32 × 192 dots)
C32
C1
P40(2KOUT)
VLCD
S32 S1 S80 S1 S80 S1
LC868364A LC868920A LC868920A
DB
RD
WR
CS
RS
CL2
SCK
M
LCD power
VDD
VSS
DB
RD
WR
CS
RS
CL2
SCK
M
LCD power
VDD
VSS
P0
P46(RD)
P47(WR)
P44
P45
P41(CL2)
P42(LCDP2)
P43(M)
LCD power
VDD
VSS
External
Voltage up
converter
LC868920A
No.6703-14/21
! Evaluation Sample (ES)
Shipping Form: LC868920A: chip, Evaluation sample: QIP100E (shown below) or chip
If you use the ES in the package to design and fabricate an evaluation board, refer to the following pin assignment.
Terminal Assignment
Package Dimension
(unit : mm)
3151
SANY O : QIP-10 0E
(FLP100)
S50
S49
S48
S47
S46
S45
S44
S43
S42
S41
S40
S39
S38
S37
S36
S35
S34
S33
S32
S31
V2
V3
V5
VSS
DB0
DB1
DB2
DB3
DB4
DB5
DB6
DB7
VDD
SCK
CS
RD
WR
RS
CL2
M
S80
S79
S78
S77
S76
S75
S74
S73
S72
S71
S70
S69
S68
S67
S66
S65
S64
S63
S62
S61
S60
S59
S58
S57
S56
S55
S54
S53
S52
S51
S1
S2
S3
S4
S5
S6
S7
S8
S9
S10
S11
S12
S13
S14
S15
S16
S17
S18
S19
S20
S21
S22
S23
S24
S25
S26
S27
S28
S29
S30
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
50
49
48
47
46
45
44
43
42
41
40
39
38
37
36
35
34
33
32
31
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
80
79
78
77
76
75
74
73
72
71
70
69
68
67
66
65
64
63
62
61
60
59
58
57
56
55
54
53
52
51
LC868920A
No.6703-15/21
Functions
1. Interface control
The interface control block consists of the instruction register and the timing generator.
(Note) When accessing to registers or the display RAM of LC868920A, the system clock of LC868364A has to be either
CF oscillation or RC oscillation. It will cause the irregular operation if the crystal oscillation is used in
LC868364A when reading/writing data from/to LC868920A.
The STX instruction of LC868364A should be used to write data to LC868920A. The LDX instruction of
LC868364A should be used to read data from LC868920A.
(1) Instruction register (4-bit data)
- When RS = '1', the lower 4-bits data of the eight bit data bus (DB0-DB7) is sent to this register.
- The following conditions have to be set to write data to the instruction register.
1. CS = '0' : Enable the chip select.
2. WR = '0' : Writing mode from LC868364A to LC868920A
3. RS = '1' : Select the instruction register.
4. Feed clock to SCK.
- The value of the instruction registers serves as the address of 7 kinds of data registers.
The instruction register holds the data until the instruction code is rewritten. A list of instruction codes is shown below.
Instruction code
DB3 DB2 DB1 DB0 Description
0 0 1 0 Select the horizontal word count register
0 0 1 1 Select the duty register
1 0 0 0 Select t he start address register
1 0 1 0 Select the lower cursor address register
1 0 1 1 Select the upper cursor address register
1 1 1 0 Set the display data writing mode
1 1 1 1 Set the dis play data reading mode
Notes:
Don’t write to the Test Register.
The Test Register can be specified by writing ‘00H’ to the Instruction Register. However, setting any bits in this register
will cause malfunction since this register is only used for testing.
(2) Writing to each data register
- The following indicates how to write data to the registers or the display RAM specified by the instruction register setting.
- The following conditions should be set to write data to each register or the display RAM.
1. CS = '0' : Enable the chip select
2. WR = '0' : Writing mode from LC868364A.to LC868920A
3. RS = '0' : Select writing data
4. Feed clock to SCK
- The data output from LC868364A through the 8 bits data bus (DB0 - DB7) is written to the register specified by the
instruction register. (Data can not be written without a SCK clock signal.)
- By selecting the display data writing mode with the instruction register and setting the condition shown above, the output
data from LC868364A through the data bus (DB0 - DB7) is written to the display RAM address specified by the cursor
address. After the completion of writing, the cursor address is automatically decremeted by 1. Therefore, the data can
be written contiguously to the display RAM.
LC868920A
No.6703-16/21
(3) Reading display RAM
- Refer to "Section 2 Display control registers and display RAM (8)" about how to output the display RAM data to the data
bus (DB0 - DB7).
- The following conditions are necessary to be set to read display RAM data.
1. CS = '0' : Enable the chip select
2. RD = '0' : Reading mode from LC868920A to LC868364A
3. RS = '0' : Select the display RAM
4. Feed clock to SCK.
- Each time data is read from the display RAM, the address of the display RAM (cursor address) is automatically
decremented by 1.
(4) Timing generator
- The interface control block and the display are controlled by the timing signals and control signals generated in this circuit.
The control signals and timing signals are used to transfer the data output from terminals DB0 - DB7 to the internal
registers and to transfer data between terminals DB0 - DB7 and the display RAM. This circuit also produces the data
input/output control signals and read/write timing signals.
2. Display control registers and display RAM
- The display is controlled by writing data to the instruction register and 7 internal data registers.
(1) LCD drive frequency
- DP indicates the number of clocks which is necessary to display 1 word (16 dots). DP is fixed to '2' in
LC868920A.
- LC868920 A is a s egm ent d river to expand the LCD display capability for LC868364 A. T he co mm on signa l is
output from LC868364A. Theref ore, the number of dots to display a line may vary between the internal driver
in microcontroller and the segment driver for expansion. Even if the num ber of display dots is different, the
LCD driver freque ncy has to be th e same on each side.
(Example 1) When selecting 32COM × 32SEG in LC868364A
The number of dots per line in microcontroller : 32 dots
The number of dots per line in LC868920A : 80 dots
The time required to display a line is the same for both the microcontroller and LC868920A by setting as
follows.
LC868364A : HP = 5 32 × 5 (Hp) = 160
LC868920A : Dp = 2 80 × 2 (Dp) = 160
LCD Panel
C1
|
C32
S32 - S1 S80 - S1
LC868364A LC868920A
32
80
32
LC868920A
No.6703-17/21
(Examp le 2) When s electing 16COM in LC868364A
The number of dots per line in LC86 8920A : 80 dots
80 × 2 ( DP) = 160
It is necess ary to set as follows to have the sam e tim e requir ed to dis play a line in LC868364A as in
LC868920A.
32 × 5 (Hp) = 160
(Note) If 16COM is selected in LC868364A and LC868920A is used to expand segments, S1 to S32 segments
can only be used in LC868364A and segme nts S33 to S48 can not be used. HP = 5 s hould be set to
LC868364A by program.
(2) Horizontal word count register
Register RD WR RS DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
Instruction register 1 0 1 0 0 0 0 0 0 1 0
Horizontal word count register 1 0 0 - - - - Dn-1
- This register sets the number of horizontal words.
- Dn indicates the number of words in horizontal direction.
- The total number of horizontal dots on the LCD panel (n) is given by the following formula.
n = 8 × (Dn ×2) (n80)
- 1 to 5 ( in decimal) can be set as Dn.
- The relation between the total number of horizontal dots (n), the number of horizontal words (Dn) and register settings is
shown below.
Tot al number of horizontal dots (n) Dn DB2 DB1 DB0
16 1 0 0 0
32 2 0 0 1
48 3 0 1 0
64 4 0 1 1
80 5 1 0 0
(3) Duty register
Register RD WR RS DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
Instruction register 1 0 1 0 0 0 0 0 0 1 1
Divider ratio register 1 0 0 0 0 Nx-1
- This register sets the divider ratio (Nx). (Display duty = 1/Nx)
- Nx represents the divider ratio of display and 1/Nx indicates a display duty.
- 2 to 32 (in decimal) can be set as Nx.
LCD Panel
C1
|
C16
S32 - S1 S80 - S1
LC868364A LC868920A
16
80
32 (Note)
S33 to S48 can not be used.
LC868920A
No.6703-18/21
(4) Start address register
Register RD WR RS DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
Instruction register 1 0 1 0 0 0 0 1 0 0 0
Start address register 1 0 0 0 Start Address (STAD)
- This register sets the value of display start line address.
- The display start line address shows the RAM line address of the data to be displayed in the top line on the LCD panel.
- The start address counter is a 7-bit down-counter with a preset function.
- The start address (STAD) is set to the start address counter as an initial value.
- The start address counter is decremented by 1 each time the display of a line in horizontal direction is completed on the
screen.
- The start address counter takes the value 7FH on the next decrement after 0.
(5) Lower cursor address register
Register RD WR RS DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
Instruction register 1 0 1 0 0 0 0 1 0 1 0
Cursor address counter
(lower byte) 1 0 0 0 0 0 0 Lower cursor address (CAL)
- Set the lower address used to read/write data from/to the display RAM in this register.
- The lower cursor address counter is a 4-bit down-counter with a preset function.
- The lower cursor address (CAL) is set to the counter as an initial value.
- This counter is decremented by 1 each time the RAM is accessed.
- If RAM is accessed when the value of this counter is "0", then Dn-1 is automatically set.
- 0 to 9 (in decimal) can be set as a lower cursor address.
(6) Upper cursor address register
Register RD WR RS DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
Instruction register 1 0 1 0 0 0 0 1 0 1 1
Cursor address counter
(upper byte) 1 0 0 0 Upper cursor address (CAH)
- Set the upper addresses used to read/write data from/to the display RAM in this register.
- The upper cursor address counter is a 7-bit down-counter with a preset function.
- This counter is decremented by 1 each time the lower cursor address counter generates the underflow.
- The cursor address is written to the cursor address counter by setting data to the lower and upper cursor address registers.
- The cursor address indicates the RAM address to access display data. The data of the address specified by the cursor
address is read /written from/to the display RAM.
- The cursor address consists of the 4-bit lower address and 7-bit upper address.
(7) Display RAM
a.) Writing data to Display RAM
Register RD WR RS DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
Instruction register 1 0 1 0 0 0 0 1 1 1 0
RAM 1 0 0 MSB Display pa ttern data LSB
- Select the display data writing mode by setting "0EH" to the instruction register. Then set RS = 0 and write 8-bit data to
the display RAM.
The display pattern data is written to the RAM address specified by the cursor address. After writing data to RAM, the
cursor address counter is automatically decremented by 1.
LC868920A
No.6703-19/21
b.) Reading data from display RAM
Register RD WR RS DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
Instruction register 1 0 1 0 0 0 0 1 1 1 1
RAM 0 1 0 MSB Display pa ttern data LSB
- Select the display data reading mode by setting ‘0FH’ to the instruction register. Then set RS=0 and select the display
RAM.
- The procedure of reading RAM data is as follows:
(1) The RAM data of the address specified by the cursor address is output to DB0 to DB7 terminals by setting as
shown above.
(2) The cursor address counter is decremented by 1.
The following figure indicates the procedure of reading RAM data.
e.x.) Writing (reading) data to (from) display RAM
• Lower cursor address (CAL) =03H
• Upper cursor address (CAH) =02H
• The number or horizontal bytes (Dn)=05H
• Internal RAM capacity =1280 bytes
00H 01H 02H 03H 04H
10H 11H 12H 13H 14H
20H 21H 22H 23H 24H
30H 31H 32H 33H 34H
7F0H 7F1H 7F2H 7F3H 7F4H
Notes:
Don’t write to the Test Register.
The Test Register can be specified by writing ‘00H’ to the Instruction Register. However, setting any bits in this register
will cause malfunction since this register is only used for testing.
Specified by the cursor address
First, data is written to this RAM address.
If the writing operation is executed when the cursor address is ‘00H’,
then "7FH" is set to the upper cursor address counter after the
completion of writing.
(Dn-1) is set to the lower cursor address counter.
• Instruction register (IR) = OFH
• RS=0
RD=0
Conditions
Cursor
address
counter
A0 to A10
11 bits
-1
(2)
RAM data
D0
D1
D7
(1) Output control (OE)
(1) RAM DATA is output to DB terminals
DB0
DB1
DB7
D
ecremente
d
b
y
1
a
f
ter t
h
e co mp
l
et
i
on o
f
wr
i
t
i
ng.
If the writing operation is executed when the value of the
lower cursor address counter is ‘0’, the upper cursor address
counter is decremented by 1 after the completion of writing.
Then (Dn-1) is set to the lower cursor address counter.
LC868920A
No.6703-20/21
3. LC D dr i v er
- 4 levels of the LCD driving voltage (V5, V3, V2, and VSS) are externally supplied. The LCD driving voltage level to be
output to the segment drivers S1 to S80 vary according to the contents of the display data latch and the synchronous signal (M
signal).
- The 8-bit data output from the display RAM is input to the display data latch. The input 8-bit data is latched in the display
data latch for the number of bytes specified by the horizontal byte count register. This operation is repeated for the number
of times that is determined by the divide ratio number.
- The LCD display voltage has to be supplied to V2, V3 and V5 terminals after all data is set to LCD display data registers and
the display RAM. After power is on, if the LCD display voltage is supplied to V2, V3, and V5 terminals without setting
data to the internal registers and the display RAM, uncertain display is appeared on LCD panel. Thus, supply the VSS level
to V2, V3 and V5 terminals until all data required to display is set to data registers and the display RAM.
(Actually, the LCD display voltage is supplied to this circuit from LC868364A microcontroller. Therefore, turn OFF the
LCD display in LC868364A until data is set to the internal registers and the display RAM in LC868920A)
Display examples
(1) Display mode control register=01H (LCD: ON)
The total number of horizontal dots=80 (Dn=5)
Divider ratio (Nx)=32
Start address register=1FH
S80 - - - - S73 S72 - - - -S65 S64- - - -S57 S56- - - -S49 S48- - - -S41 S40- - - -S33 S32- - - - -S25 S24- - - -S1 7 S16- - - -S9 S8 - - - - -S1
C1 MSB (1F0H)
LSB MSB (1F1H)
LSB MSB (1F2H)
LSB MSB (1F3H)
LSB MSB (1F4H)
LSB MSB (1F5H)
LSB MSB (1F6H)
LSB MSB (1F7H)
LSB MSB (1F8H)
LSB MSB (1F9H)
LSB
C2 MSB (1E0H) LSB MSB (1E1H) LSB MSB (1E2H) LSB MSB (1E3H) LSB MSB (1E4H) LSB MSB (1E5H) LSB MSB (1E6H) LSB MSB (1E7H) LSB MSB (1E8H) LSB MSB (1E9 H) LSB
C3 MSB (1D0H) LSB MSB (1D1H) LSB MSB (1D2H) LSB MSB (1D3H) LSB MSB (1D4 H) LSB MSB (1D5H) LSB MSB (1D6H) LSB MSB (1D7H) LSB MSB (1D8H) LSB MSB (1D9H) LSB
- - - -
C28 MSB (040H) LSB MSB (041H) LSB MSB (042H) LSB MSB (043H) LSB MSB (044H) LSB MSB (045H) LSB MSB (046H) LSB MSB (047H) LSB MSB (048H) LSB MSB (049H) LSB
C29 MSB (030H) LSB MSB (031H) LSB MSB (032H) LSB MSB (033H) LSB MSB (034H) LSB MSB (035H) LSB MSB (036H) LSB MSB (037H) LSB MSB (038H) LSB MSB (039H) LSB
C30 MSB (020H) LSB MSB (021H) LSB MSB (022H) LSB MSB (023H) LSB MSB (024H) LSB MSB (025H) LSB MSB (026H) LSB MSB (027H) LSB MSB (028H) LSB MSB (029H) LSB
C31 MSB (010H) LSB MSB (011H) LSB MSB (012H) LSB MSB (013H) LSB MSB (014H) LSB MSB (015H) LSB MSB (016H) LSB MSB (017H) LSB MSB (018H) LSB MSB (019H) LSB
C32 MSB (000H) LSB MSB (001H) LSB MSB (002H) LSB MSB (003H) LSB MSB (004H) LSB MSB (005H) LSB MSB (006H) LSB MSB (007H) LSB MSB (008H) LSB MSB (009H) LSB
(2) Display mode control register=01H (LCD: ON)
The total number of horizontal dots=80 (Dn=5)
Divider ratio (Nx)=32
Start address register=1EH
S80 - - - S73 S72 - - - S65 S64 - - - S57 S5 6 - - - S49 S48 - - - S41 S40 - - - S33 S32 - - - S25 S24 - - - S17 S16 - - - - S9 S8 - - - - S1
C1 MSB (1E0H) LSB MSB (1E1H) LSB MSB (1E2 H) LSB MSB (1E3H) LSB M SB (1E4H) LSB MSB (1E5 H) LSB MSB (1E6H ) LSB MSB (1E7H) LSB MSB (1E8H) LSB MSB (1E9H) LSB
C2 MSB (1 D0H) LSB MSB (1D1H) LSB MSB (1D2H) LSB MSB (1D3H) LSB MSB (1D4 H) LSB MSB (1D5H) L SB MSB (1D6H) LSB MSB (1D7H) LSB MSB (1D8H) LSB MSB (1D9H) LSB
C3 MSB (1 C0H) LSB MSB (1C1H) LSB MSB (1C2H) LSB MSB (1C3H) LSB MSB (1C4H) LSB MSB (1 C5H) LSB MSB (1C6H) LSB MSB (1C7H) LSB MSB (1C8H) LSB MSB (1C9H) LSB
- - - -
C28 MSB (030H) LSB MSB (041H) LSB MSB (042H) LSB MSB (043H) LSB MSB (044H) LSB MSB (045H) LSB MSB (046H) LSB MSB (047H) LSB MSB (048H) LSB MSB (049H) LSB
C29 MSB (020H) LSB MSB (031H) LSB MSB (032H) LSB MSB (033H) LSB MSB (034H) LSB MSB (035H) LSB MSB (036H) LSB MSB (037H) LSB MSB (038H) LSB MSB (039H) LSB
C30 MSB (010H) LSB MSB (021H) LSB MSB (022H) LSB MSB (023H) LSB MSB (024H) LSB MSB (025H) LSB MSB (026H) LSB MSB (027H) LSB MSB (028H) LSB MSB (029H) LSB
C31 MSB (000H) LSB MSB (011H) LSB MSB (012H) LSB MSB (013H) LSB MSB (014H) LSB MSB (015H) LSB MSB (016H) LSB MSB (017H) LSB MSB (018H) LSB MSB (019H) LSB
C32 MSB (7F0H) LSB MSB (7F1H) LSB MSB (7F2H) LSB MSB (7F3H) LSB MSB (7F4H) LSB MSB (7F5H) LSB MSB (7F6H) LSB MSB (7F7H) LSB MSB (7F8H) LSB MSB (7F9H) LSB
LC868920A
No.6703-21/21
(3) Display mode control register=01H (LCD: ON)
The total number of horizontal dots=80 (Dn=5)
Divider ratio (Nx)=16
Start address register=0FH
S80 - - - S73 S72 - - - S65 S64 - - - S57 S56 - - - S49 S48 - - - S41 S40 - - - S33 S32 - - - S25 S24 - - - S17 S16 - - - - S9 S8 - - - - - S1
C1 MSB (0F0H) LSB MSB (0F1H) LSB MSB (0F2H) LSB MSB (0F3H) LSB MSB (0F4H) LSB MSB (0F5H) LSB MSB (0F6H) LSB MSB (0F7H) LSB MSB (0F8H) LSB MSB (0F9H) LSB
C2 MSB (0E0H) LSB MSB (0E1H) LSB MSB (0E2 H) LSB MSB (0E3H) LSB M SB (0E4H) LSB MSB (0E5 H) LSB MSB (0E6H ) LSB MSB (0E7H) LSB MSB (0E8H) LSB MSB (0E9H) LSB
C3 MSB (0 D0H) LSB MSB (0D1H) LSB MSB (0D2H) LSB MSB (0 D3H) LSB MSB (0D4H) LSB MSB (0D5H) L SB MSB (0D6H) LSB MSB (0D7H) LSB MSB (0D8H) LSB MSB (0D9H) LSB
- - - -
C12 MSB (040H) LSB MSB (041H) LSB MSB (042H) LSB MSB (043H) LSB MSB (044H) LSB MSB (045H) LSB MSB (046H) LSB MSB (047H) LSB MSB (048H) LSB MSB (049H) LSB
C13 MSB (030H) LSB MSB (031H) LSB MSB (032H) LSB MSB (033H) LSB MSB (034H) LSB MSB (035H) LSB MSB (036H) LSB MSB (037H) LSB MSB (038H) LSB MSB (039H) LSB
C14 MSB (020H) LSB MSB (021H) LSB MSB (022H) LSB MSB (023H) LSB MSB (024H) LSB MSB (025H) LSB MSB (026H) LSB MSB (027H) LSB MSB (028H) LSB MSB (029H) LSB
C15 MSB (010H) LSB MSB (011H) LSB MSB (012H) LSB MSB (013H) LSB MSB (014H) LSB MSB (015H) LSB MSB (016H) LSB MSB (017H) LSB MSB (018H) LSB MSB (019H) LSB
C16 MSB (000H) LSB MSB (001H) LSB MSB (002H) LSB MSB (003H) LSB MSB (004H) LSB MSB (005H) LSB MSB (006H) LSB MSB (007H) LSB MSB (008H) LSB MSB (009H) LSB
(4) Display mode control register=01H (LCD: ON)
The total number of horizontal dots=64 (Dn=4)
Divider ratio (Nx)=16
Start address register=1FH
S64 - - - S57 S56 - - - S49 S48 - - - S41 S40 - - - S33 S32 - - - S25 S24 - - - S17 S16 - - - - S9 S8 - - - - S1
C1 MSB (1F0H) LSB MSB (1F1H) LSB MSB (1F2H) LSB MSB (1F3H) LSB MSB (1F4H) LSB MSB (1F5H) LSB MSB (1F6H) LSB MSB (1F7H) LSB
C2 MSB (1E0H) LSB MSB (1E1H) LSB MSB (1E2 H) LSB MSB (1E3H) LSB M SB (1E4H) LSB MSB (1E5 H) LSB MSB (1E6H ) LSB MSB (1E7H) LSB
C3 MSB (1D0H) LSB MSB (1D1H) LSB MSB (1D2H) LSB MSB (1D3H) LSB MSB (1D4H) LSB MSB (1D5H) LSB MSB (1D6H) LSB MSB (1D7H) LSB
- - - -
C12 MSB (140H) LSB MSB (141H) LSB MSB (142H) LSB MSB (143H) LSB MSB (144H) LSB MSB (145H) LSB MSB (146H) LSB MSB (147H) LSB
C13 MSB (130H) LSB MSB (131H) LSB MSB (132H) LSB MSB (133H) LSB MSB (134H) LSB MSB (135H) LSB MSB (136H) LSB MSB (137H) LSB
C14 MSB (120H) LSB MSB (121H) LSB MSB (122H) LSB MSB (123H) LSB MSB (124H) LSB MSB (125H) LSB MSB (126H) LSB MSB (127H) LSB
C15 MSB (110H) LSB MSB (111H) LSB MSB (112H) LSB MSB (113H) LSB MSB (114H) LSB MSB (115H) LSB MSB (116H) LSB MSB (117H) LSB
C16 MSB (100H) LSB MSB (101H) LSB MSB (102H) LSB MSB (103H) LSB MSB (104H) LSB MSB (105H) LSB MSB (106H) LSB MSB (107H) LSB
PS