Ordering number : ENN*6686
CMOS IC
LC86F1216A
8-Bit Single Chip Microcontroller with
16K-Byte ROM and 1220-Byte RAM On Chip
Preliminary
Overview
The LC86F1216A is an 8-bit single chip microcontroller with the following on-chip functional blocks:
- CPU: Operable at a minimum bus cycle time of 0.5µs
- On-chip Flash EEPROM capacity: 144 Kbytes
- On-chip RAM capacity: 1222 bytes
- Dot matrix liquid crystal display controller / driver
- 16-bit timer/counter (or tw o chan nels × 8-bit timer)
- 16-bit timer/PWM (or two channels × 8-bit timer)
- Serial interface circuit
All of the above functions are fabricated on a single chip.
Features
(1)Flash EEPROM: 64K × 8 bits: (program/data area) + 64K × 8 bits (data area)
16K × 8 bits: (program area)
(2) Mask ROM: 4K × 8 bits: (4K: BIOS program area)
(3) Random Access Memory (RAM): 512 × 8 bits (calculation area) + 512 × 8 bits
198
(4) Bus Cycle Time
Note: Bus cycle time means cycle time of reading ROM. OCR7: Bit 7 of the oscillation control register
(5) Ports
- Input / Output Ports: 2 ports (16 terminals)
- Input port: 1 port (4 terminals)
8 bits (display area)
×
Bus Cycle Time
0.5µs 1.0µs Ceramic 6MHz OCR7 = 1
3.8µs 7.5µs External RC 600kHz OCR7 = 1
93µs 183µs X’tal 32.768kHz
Cycle Time System Clock Oscillation Oscillation Frequency Voltage Notes
3.15–3.85V
OCR7 = 1
Ver.1.02
11800
91400 RM (IM) Ohsawa No.6686-1/21
LC86F1216A
(6) Dot matrix liquid crystal display controller / driver
- Display duty: 1/33 duty
- Display bias: 1/5 bias
- LCD power supply (max. 6V)
- LCD driver (max. 1584 dots capability)
Common output ports: 33 ports
Segment output ports: 48 ports
- Externally boosted clock
(7) Serial interfaces
- Synchronous 8-bit serial interface × 2 (with 8-bit baud rate generator)
(8) Timers
- Timer 0 (T0H/T0L)
16-bit timer/counter
- Timer 1 (T1H/T1L)
16-bit timer/PWM
(9) Interrupts
- 13 sources 10 vectored interrupts
(10) Sub-routine stack level
- A maximum of 128 levels (stack is built in the internal RAM)
(11) 3 oscillation circuits
- External RC oscillation circuit / CF oscillation circuit / X’tal oscillation circuit
(12) Power voltage
- VDD = 3.15V – 3.85V
(13) Shipping form
- Chip or SQFP144
(14) Flash memory
- Erasing block unit size: 128 bytes
- Erasing / writing voltage range: 3.15V – 5.5V
- Maximum number of erase-write cycle: 50,000 times (Ta = +25°C) (with memory management program)
Note
The microcontroller will malfunction if the power supply voltage is less than the specified operable supply voltage. To
prevent a malfunction, the low voltage detect circuit should be connected externally, and the volta ge should always be set
to the proper level. If the power supply voltage becomes lower than the voltage which is detected by the low voltage detect
reset IC, then the m icrocont roller should be reset to restore stable opera tion. Use t he low volta ge detect re set IC which
detects the lowest specification voltage of the power supply.
We cannot ensure the integrity of the block data, if the microcontroller is reset while writing to the flash memory.
Therefore, in such a case, we recommend disabling any flash writing operation by user's program when the voltage
decreases to a level just above the voltage which is detected by the low voltage detect reset IC.
No.6686-2/21
Pin Assignment
SQFP144
NC
S7
S6
S5/A11
S4/A9
S3/A8
S2/A13
S1/A14
WE
VDD
EP
F/M_SEL
C1/A17
C2/A16
C3/A15
C4/A12
C5/A7
C6/A6
C7/A5
C8/A4
C9
C10
C11
C12
C13
C14
C15
C16
VSS
V1
V2
V3
V4
V5
VLCD
NC
108 105 100 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
12345678910 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
Package Dimension
(unit : mm)
3214
LC86F1216A
NC
S8
S9
S10
S11
S12
S13
S14
S15
S16
S17
S18
S19
S20
S21
S22
S23
S24
S25
S26
S27
S28
S29
S30
S31
S32
S33
S34
S35
S36
S37
S38
S39
S40
S41
NC
72
71
70
69
68
67
66
65
64
63
62
61
60
59
58
57
56
LC86F1216A
RES
XT1
XT2
VDD
NCTE
NCEX
SUPCL
RCIN
NCT2
NCTD
NCTC
NCT1
TEST1
RCOUT
TEST2
VDD
VSS
P70
P71
P72
P73
P30
P31
P32
CF1
CF2
VDD
P33
P34/A3
P35/A2
P36/A1
P37/A0
55
54
53
52
51
50
49
48
47
46
45
44
43
42
41
40
39
38
37
NC
P10/DQ0
P11/DQ1
P12/DQ2
NC
S42
S43
S44
S45
S46
S47
S48
C17
C18
C19
C20
C21
C22
C23
C24
C25
C26
C27
C28
C29
C30
C31
C32
C33
OE
A10
CE
P17/DQ7
P16/DQ6
P15/DQ5
P14/DQ4
P13/DQ3
VSS
NC
NC
SANYO : SQFP-144
No.6686-3/21
Pad Assignment
S7
S6
S5/A11
S4/A9
S3/A8
S2/A13
S1/A14
WE
VDD
EP
F/M_SEL
C1/A17
C2/A16
C3/A15
C4/A12
C5/A7
C6/A6
C7/A5
C8/A4
C9
C10
C11
C12
C13
C14
C15
C16
VSS
V1
V2
V3
V4
V5
VLCD
S8
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
1 2 3 4 5 6 7 8 9
NCEXT
SUPCL
LC86F1216A
S9
S10
S11
S12
S13
S14
S15
S16
S17
S18
S19
S20
S21
S22
S23
S24
S25
S26
S27
S28
S29
S30
S31
S32
S33
S34
9998979695949392919089888786858483828180797877767574737271
102
101
100
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
P70
P71
P72
P73
P30
P31
XT1
VDD
NCTE
RCIN
NCTD
NCT2
NCTC
RCOUT
RES
NCT1
TEST1
TEST2
XT2
CF1
CF2
VSS
VDD
VDD
P32
S35
28
P33
29
P34/A3
S36
30
P35/A2
S37
31
P36/A1
S38
32
P37/A0
S39
33
P10/DQ0
S40
34
P11/DQ1
S41
70
69
68
67
66
65
64
63
62
61
60
59
58
57
56
55
54
53
52
51
50
49
48
47
46
45
44
43
42
41
40
39
38
37
36
35
P12/DQ2
S42
S43
S44
S45
S46
S47
S48
C17
C18
C19
C20
C21
C22
C23
C24
C25
C26
C27
C28
C29
C30
C31
C32
C33
OE
A10
CE
P17/DQ7
P16/DQ6
P15/DQ5
P14/DQ4
P13/DQ3
VSS
VSS
No.6686-4/21
LC86F1216A
Pad Name and Coordi nates Table
PAD
Pin Name X-cord Y-cord SQFP-
No.
1 NCEXT -2965 -3540 1 47 C32 3333 -698 49 93 S18 -1139 3539 97
2 SUPCLK -2791 -3540 2 48 C31 3333 -524 50 94 S17 -1313 3539 98
3 VDD -2617 -3540 3 49 C30 3333 -350 51 95 S16 -1486 3539 99
4 NCTE -2443 -3540 4 50 C29 3333 -176 52 96 S15 -1660 3539 100
5 NCTD -2269 -3540 5 51 C28 3333 -2 53 97 S14 -1834 3539 101
6 NCTC -2096 -3540 6 52 C27 3333 171 54 98 S13 -2008 3539 102
7 RCOUT -1922 -3540 7 53 C26 3333 345 55 99 S12 -2182 3539 103
8 RCIN -1748 -3540 8 54 C25 3333 519 56 100 S11 -2356 3539 104
9 NCT2 -1574 -3540 9 55 C24 3333 693 57 101 S10 -2530 3539 105
10 NCT1 -1400 -3540 10 56 C23 3333 867 58 102 S9 -2703 3539 106
11 TEST1 -1226 -3540 11 57 C22 3333 1041 59 103 S8 -2877 3539 107
12 TEST2 -1052 -3540 12 58 C21 3333 1215 60 104 S7 -3333 2992 110
13 RES# -879 -3540 13 59 C20 3333 1388 61 105 S6 -3333 2818 111
14 VDD -705 -3540 14 60 C19 3333 1562 62 106 S5/A11 -3333 2644 112
15 XT1 -531 -3540 15 61 C18 3333 1736 63 107 S4/A9 -3333 2470 113
16 XT2 -357 -3540 16 62 C17 3333 1910 64 108 S3/A8 -3333 2296 114
17 VSS -183 -3540 17 63 S48 3333 2084 65 109 S2/A13 -3333 2122 115
18 CF1 -9 -3540 18 64 S47 3333 2258 66 110 S1/A14 -3333 1949 116
19 CF2 165 -3540 19 65 S46 3333 2432 67 111 WE# -3333 1749 117
20 VDD 338 -3540 20 66 S45 3333 2605 68 112 VDD -3333 1549 118
21 P70 512 -3540 21 67 S44 3333 2779 69 113 EP -3333 1375 119
22 P71 686 -3540 22 68 S43 3333 2953 70 114 F/MSEL -3333 1202 120
23 P72 860 -3540 23 69 S42 3333 3127 71 115 C1/A17 -3333 1010 121
24 P73 1034 -3540 24 70 S41 2860 3539 74 116 C2/A16 -3333 836 122
25 P30 1208 -3540 25 71 S40 2686 3539 75 117 C3/A15 -3333 662 123
26 P31 1382 -3540 26 72 S39 2512 3539 76 118 C4/A12 -3333 488 124
27 P32 1556 -3540 27 73 S38 2339 3539 77 119 C5/A7 -3333 314 125
28 P33 1729 -3540 28 74 S37 2165 3539 78 120 C6/A6 -3333 140 126
29 P34/A3 1903 -3540 29 75 S36 1991 3539 79 121 C7/A5 -3333 -34 127
30 P35/A2 2077 -3540 30 76 S35 1817 3539 80 122 C8/A4 -3333 -207 128
31 P36/A1 2251 -3540 31 77 S34 1643 3539 81 123 C9 -3333 -381 129
32 P37/A0 2425 -3540 32 78 S33 1469 3539 82 124 C10 -3333 -555 130
33 P10/DQ0 2599 -3540 33 79 S32 1295 3539 83 125 C11 -3333 -729 131
34 P11/DQ1 2773 -3540 34 80 S31 1122 3539 84 126 C12 -3333 -903 132
35 P12/DQ2 2946 -3540 35 81 S30 948 3539 85 127 C13 -3333 -1077 133
36 VSS 3333 -2756 39 82 S29 774 3539 86 128 C14 -3333 -1251 134
37 VSS 3333 -2582 39 83 S28 600 3539 87 129 C15 -3333 -1425 135
38 P13/DQ3 3333 -2408 40 84 S27 426 3539 88 130 C16 -3333 -1598 136
39 P14/DQ4 3333 -2234 41 85 S26 252 3539 89 131 VSS -3333 -1772 137
40 P15/DQ5 3333 -2061 42 86 S25 78 3539 90 132 V1 -3333 -1946 138
41 P16/DQ6 3333 -1887 43 87 S24 -95 3539 91 133 V2 -3333 -2120 139
42 P17/DQ7 3333 -1713 44 88 S23 -269 3539 92 134 V3 -3333 -2294 140
43 CE# 3333 -1539 45 89 S22 -443 3539 93 135 V4 -3333 -2468 141
44 A10 3333 -1365 46 90 S21 -617 3539 94 136 V5 -3333 -2642 142
45 OE# 3333 -1191 47 91 S20 -791 3539 95 137 VLCD -3333 -2815 143
46 C33 3333 -872 48 92 S19 -965 3539 96
144
PAD
No.
Pin Name X-cord Y-cord SQFP-1
44
PAD
No.
Pin
X-cord Y-cord SQFP-
Name
144
No.6686-5/21
LC86F1216A
Terminal Function
Terminal Pin No. Pad No.
VSS 17,39,137 17,36-37,131 - ·Negative power supply
VDD 3,14, 20,118 3,14,20,112 - ·Positive power supply
VLCD 143 137 - ·Positi ve power supply (power supply for LCD driver)
V1-5 138-142 132-136 - ·Power supply for LCD driver
PORT3 25-32 25-32 I/O
PORT1 33-35
40-44
PORT7 21-24 21-24 I
C01-C33 121-136
64-48
S01-S48 116-110
107-74
71-65
SUPCK 2 2 O
CF1 18 18 I
CF2 19 19 O
XT1 15 15 I
XT2 16 16 O
RCIN 8 8 I
RCOUT 7 7 O
RES
TEST1 11 11 TEST2 12 12 - ·Test terminal Leave open circuit.
13 13 I
33-35
38-42
115-130
62-46
110-63 O ·LCD controller
Input/
Output
I/O
O
·8 bit I/O port
(Output fo rmat: CMOS with pu ll-up resistor: P30-P37)
·I/O programmable for each bit individually
·Used for switch input
·Key interrupt input
·8 bit I/O port
(Output format: CMOS: P16, P17
Nch-OD: P10, P11, P12, P13, P14, P15)
(pull-up resistor : P10 - P17)
·I/O programmable for each bit individually
·Other functions
Terminal Serial
P10 Serial OUT0
P11 Serial IN0
P12 Serial Clock0
P13 Serial OUT1
P14 Serial IN1
P15 Serial Clock1
P16 Buzzer output
P17 Timer1 output (PWM output)
·4bit input port (pull-up resistor: P70 - P73)
·External in terrupt function
·Input only
·LCD controller
Common output terminals
Segment output terminals
·Externally boosted clock output terminal
·Input terminal for ceramic resonator
·Output terminal for ceramic resonator
·Input terminal for 32.768kHz X’tal
·Output terminal for 32.768kHz X’tal
·Input terminal for RC oscillation
Connect R between RCIN and RCOUT, and C between
RCIN and VSS.
·Output terminal for RC oscillation
Connect R between RCOUT and RCIN.
·Reset terminal
·Test terminal Leave open circuit.
Function Description
Continued.
No.6686-6/21
LC86F1216A
Terminal Pin No. Pad No.
NCT1, NCT2,
NCTC,
NCTD, NCTE
, OE,
CE
WE
EP, A10 119,46 113,44 I ·Memory test terminal Leave open circuit.
F/M_SEL 120 114 I ·Connect to VDD.
NC 36,37,38,
NCEXT 1 1 I ·Test terminal
10,9,
6,5
4
45,47,117 43,45 I ·Memory test terminal Pull up to VDD.
72,73,108,
109,144
10,9
6,5
4
- ·Unused terminal Le ave open circuit.
Input/
Output
- ·Test terminal Leave open circuit.
Connect this ter m inal to VSS.
Function Description
*Initial Port Status
Terminal Input/Output Pull-up Resistor Status
Port1 I Programmable pull-up resistor : OFF
Port3 I Programmable pull-up resistor : OFF
No.6686-7/21