SANYO LC868364A Datasheet

Ordering number : ENN*6722
CMOS IC
LC868364A
8-Bit Single Chip Microcontroller with
64K-Byte ROM and 512-Byte RAM On Chip
Preliminary Overview
The LC868364A microcontroller 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 RAM capacity: 512 bytes
- Dot-matrix liquid crystal display (LCD) automatic display controller/driver
- External memory
- 16-bit timer/counter (or tw o 8-bit tim ers )
- 16-bit timer/PWM (or two 8-bit timers)
- 13-source 9-vectored interrupt function
All of the above functions are fabricated on a single chip.
Features
(1) Read Only Memory (ROM): 65,280 × 8 bits
(2) Random Access Memory (RAM): 512 × 8 bits (calculation area) 128 × 8 bits (display area)
Ver.1.03 21700
91400 RM (IM) HO No.6722-1/29
LC868364A
(3) Bus Cycle Time/Instruction Cycle Time
Bus cycle time Instruction Cycle Time System Clock Oscillation
0.5µs 1µs Ceramic (CF)
0.75µs 1.5µs Ceramic (CF) 4MHz 2.7-6.5V OCR7=1
1.0µs 2µs Ceramic (CF)
7.5µs 15.0µs OCR7=0
3.8µs 7.5µs 183µs 366µs OCR7=0 93µs 183µs
Internal RC
(or external RC)
Crystal (Xtal) 32.768kHz 2.2-6.5V
Oscillat ion Frequency
12MHz OCR7=0 6MHz
6MHz OCR7=0 3MHz
800kHz 2.4-6.5V
Voltage Other
3.3-6.5V
2.4-6.5V
OCR7=1
OCR7=1
OCR7=1
OCR7=1
* Bus cycle time: ROM-read period OCR7: Oscillation control register bit-7
(4) Ports
- Input/output ports: 6 ports (48 terminals) I/O programmable in nibble units: 1 port (8 terminals) I/O programmable for each bit individually: 5 ports (40 terminals)
- Input port: 1 port (4 terminals)
- LCD drive common output ports: 32 terminals/16 terminals (switched by mask option)
- LCD drive segment output ports: 32 terminals/48 terminals (switched by mask option)
(5) External Program Memory Access Function
- Ports
1. Data input/output: 1 port (8 terminals)
2. Address output: 2 ports (16 terminals)
3. Bank address output: Use normal I/O ports as bank address output by program control.
- External prog ram memory access fu nction
External program memory space: 64K bytes Internal/external program can be switched by program. (at initial: internal program operation mode) Enabling/ disabling of switching from external program to internal program is provided.
- External data memory access function
By LDC instruction execution:
External data memory space: 64K bytes
(Use normal I/O ports as bank address output by program control.)
1. When internal program is operating: Access to the internal or external ROM data is selectable by program.
2. When external program is operating: Only the external ROM data can be accessed.
(Only the external program memory space (64K bytes) can be referred.)
- External RAM memory access function (Able to be used when internal program is executed)
By LDX instruction/STX instruction execution:
External RAM space: 64K bytes (Use normal I/O ports as bank address output by program control.) (When using the external RAM space in the external program operation mode, refer to the “LC868364 User’s Manual” for details.)
(6) LCD Automatic Display Controller/Common Driver/Segment Driver
- Display duty: 1/32 duty, 1/16 duty
- Display bias: 1/5, 1/7 bias
- Graphic display A maximum of 1,024 dots capability (without external segment driver) 32 × 80 dots display capability per each segment driver (LC868920A) can be expanded, when 1/32 duty is selected.
Note: If the display capability is expanded by the LC86920A when 1/16 du ty is selected, only S1-S32 of the LC868364 A can be
used, and S33-S48 can not be used. (Refer to the LC 868920A specification sheet.)
No.6722-2/29
LC868364A
- LCD contrast
LCD display contrast is changeable by program.
- LCD power supply (max. 6V): externally boosted output terminal
(assigned at P40 termina l, The terminal fu nction is selec table by program.)
- LCD driver
Following two kinds of combination can be switched by mask option.
Segment Output Terminals Common Output Terminals 1 32 32 2 48 16
- LCD clock: Select the crystal oscillation circuit output (in order to reduce the current consumption when LCD is on)
- LCD drive frequency: 102Hz (32.768kHz crystal oscillation)
(7) Serial Interface
- Synchronous 8-bit serial interface × 2 channels (built-in 8-bit baud rate generator)
(8) Timer
- Timer 0 (T0L, T0H)
16-bit timer/counter 2-bit prescaler + 8-bit programmable prescaler
Mode 0: Two 8-bit timers with programmable prescaler Mode 1: 8-bit timer with programmable prescaler + 8-bit counter Mode 2: 16-bit timer with programmable prescaler Mode 3: 16-bit counter
- Timer 1 (T1L, T1H)
16-bit timer/PWM
Mode 0: Two 8-bit timers Mode 1: 8-bit timer + 8-bit PWM Mode 2: 16-bit timer Mode 3: Variable bit PWM (9-16 bits)
- Base Timer
Generates an overflow every 500ms for a clock application. (using a 32.768kHz crystal oscillation for the base timer clock.) Clock for the base timer is selectable from 32.768kHz crystal oscillation, system clock or programmable prescaler output of Timer 0.
(9) Buzzer Output
- Built-in 4kHz and 2kHz buzzer generation function
(10) Remote Receiver Circuit (shares with P73/INT3/T0IN terminal)
- Noise re jection function
- Polarity switch function
(11) Watchdog Timer
- External RC circuit is required (connected to P70/INT0 terminal)
- Interrupt or system reset is activated when the timer overflows.
No.6722-3/29
LC868364A
(12) Interrupt
- 13-source and 9-vectored interrupt function:
1. External interrupt INT0 (including watchdog timer)
2. External interrupt INT1
3. External interrupt INT2, timer/counter T0L (lower 8 bits of Timer 0)
4. External interrupt INT3, base timer
5. Timer/counter T0H (upper 8 bits of Timer 0)
6. Timer T1L (lower 8 bits of Timer 1), Timer T1H (upper 8 bits of Timer 1)
7. Serial interface SIO0
8. Serial interface SIO1
9. Port 0 or Port 3
- Built-in Interrupt Priority Control
Three interrupt priorities are supported (low, high and highest) and multi-level nesting is possible. Low or high priori ty can be assig ned to the 11 inter rupt sour ces, fro m the extern al interr upt INT2 , Timer /Counter T0L (T imer 0, lower 8 bits) to Port 0 or Port 3. For the external interrupt INT0 and INT1, low or highest priority can be set regardless of the interrupt priority register.
(13) Sub-routine Stack Level
- A maximum of 128 levels: (sets stack inside RAM)
(14) Multiplication/Division Instru cti on
- 16 bits × 8-bit (7 instruction-cycle-times)
- 16 bits ÷ 8-bit (7 instruction-cycle-ti mes)
(15) Three Types of Oscillation Circuit
- Built-in/external RC oscillation circuit used for the system clock
- CF oscillation circuit used for the sy s tem clock
- Xtal oscillation circuit used for the clock, system clock and LCD
* Crystal oscillation clock is also used as LCD display base clock. T he current consumption of this microcontroller
becomes smaller than the Sanyo’s previous microcontrollers by this configuration.
Built-in/external RC oscillation circuit: switched by mask option
(16) Standby Function
- HALT mode
In this operation mode, the program execution is stopped. The mode can be released by a system reset or an interrupt request.
- HOLD mode
The HOLD mode is used to stop the oscillations; CF, RC, and Xtal oscillations. This mode can be released by the following conditions:
• System reset
• Feed the selected level to INT0 or INT1 terminals.
• Feed “L” level to the Port 0 or Port 3.
(17) Operating Supply Voltage Range
- VDD=2.4 to 6.5V
- VLCD=2.5 to 6.5V (LCD power supply)
(18) Shipping Form
- Chip
(19) Development Tool
- Evaluation (EVA) chip: LC868099
- Emulator: EVA86000(main) + ECB868300 (evaluation board)
No.6722-4/29
LC868364A
Pad Assignment
(Display dut y: 1/ 32 du ty)
- Chip size (X × Y): 5.38mm × 4.84mm
- Thickness of chip : 480µm
- Pad size : 100µm × 100µm
- Pad pitch : 120µm
SEG27 SEG28 SEG29 SEG30 SEG31
SEG32 COM32 COM31 COM30 COM29 COM28 COM27 COM26 COM25 COM24 COM23 COM22 COM21 COM20 COM19 COM18 COM17 COM16 COM15 COM14 COM13 COM12 COM11 COM10
COM9 COM8 COM7 COM6 COM5 COM4 COM3 COM2 COM1
SEG26
SEG25
SEG24
SEG23
SEG22
SEG21
SEG20
SEG19
SEG18
35 30 25 20 15 10 5 2
40
45
50
55
60
65
70
75 80 85 90 95 100 102
P40
P41
P42
VSS
P43
SEG17
P44
SEG16
P45
SEG15
P46
SEG14
P47
SEG13
P70
SEG12
P71
SEG11
P72
SEG10
P73
SEG9
SEG8
SEG7
SEG6
SEG5
SEG4
SEG3
SEG2
SEG1
V1
V2
V3
V4
V5
VLCD
RC1
RC2
VDD
1
135
130
125
120
115
110
105
103
P10
P11
P12
P13
P14
P15
P16
P17
P57
P56
P55
P54
P53
P52
P51
P50
CF2 CF1 VSS XT2 XT1 RES EROE ADLC P27 P26 P25 P24 P23 P22 P21 P20 P07 P06 P05 P04 P03 P02 P01 P00 P37 P36 P35 P34 P33 P32 P31 P30 VDD
No.6722-5/29
LC868364A
Pad Assignment
(Display duty: 1/16 duty)
- Chip size (X × Y): 5.38mm × 4.84mm
- Thickness of chip : 480µm
- Pad size : 100µm × 10 0µm
- Pad pitch : 120µm
SEG27
SEG28
SEG29
SEG30
SEG31
SEG32
SEG33
SEG34
SEG35
SEG36
SEG37
SEG38
SEG39
SEG40
SEG41
SEG42
SEG43
SEG44
SEG45
SEG46
SEG47
SEG48 COM16 COM15 COM14 COM13 COM12 COM11 COM10
COM9 COM8 COM7 COM6 COM5 COM4 COM3 COM2 COM1
SEG26
SEG25
SEG24
SEG23
SEG22
SEG21
SEG20
SEG19
SEG18
35 30 25 20 15 10 5 2
40
45
50
55
60
65
70
P40
P41
P42
VSS
P43
SEG17
P44
SEG16
P45
SEG15
P46
SEG14
P47
SEG13
P70
SEG12
P71
SEG11
P72
SEG10
P73
SEG9
SEG8
SEG7
SEG6
SEG5
SEG4
SEG3
SEG2
SEG1
V1
V2
V3
V4
V5
VLCD
RC1
RC2
VDD
1
135
130
125
120
115
110
105
103
P10
P11
P12
P13
P14
P15
P16
P17
P57
P56
P55
P54
P53
P52
P51
P50
CF2 CF1 VSS XT2 XT1
RES EROE ADLC P27 P26 P25 P24 P23 P22 P21 P20 P07 P06 P05 P04 P03 P02 P01 P00 P37 P36 P35 P34 P33 P32 P31 P30 VDD
No.6722-6/29
LC868364A
A
g
pply
g
Application Circuit
Power su
8-bit sin
(Display duty: 1/32 duty)
32
32 COM 32
for LCD
LCD Panel
32
SEGMENT DRIVER
80 SEG
LC868920A
Control si
LC868364A
le chip microcomputer
nal
112 dots
×
80
DATA COM1-32 SEG1-32
EROE
Mask ROM
4M Byte
DATA
OE
DDRESS
KEY MATRIX
8
8
×
No.6722-7/29
LC868364A
Pad Name and Coordi nates Table
(Display duty: 1/32 duty)
No.
10 SEG1 942 2450 56 COM18 -2179 -108 102 P50 1967 -2442 11 SEG2 822 2450 57 COM17 -2179 -228 103 VDD 2178 -2294 12 SEG3 702 2450 58 COM16 -2179 -348 104 P30 2178 -2104 13 SEG4 582 2450 59 COM15 -2179 -468 105 P31 2178 -1974 14 SEG5 462 2450 60 COM14 -2179 -588 106 P32 2178 -1844 15 SEG6 342 2450 61 COM13 -2179 -708 107 P33 2178 -1714 16 SEG7 223 2450 62 COM12 -2179 -828 108 P34 2178 -1584 17 SEG8 103 2450 63 COM11 -2179 -948 109 P35 2178 -1454 18 SEG9 -17 2450 64 COM10 -2179 -1068 110 P36 2178 -1324 19 SEG10 -137 2450 65 COM9 -2179 -1188 111 P37 2178 -1194 20 SEG11 -257 2450 66 COM8 -2179 -1308 112 P00 2178 -1064 21 SEG12 -377 2450 67 COM7 -2179 -1428 113 P01 2178 -934 22 SEG13 -497 2450 68 COM6 -2179 -1548 114 P02 2178 -804 23 SEG14 -617 2450 69 COM5 -2179 -1668 115 P03 2178 -674 24 SEG15 -737 2450 70 COM4 -2179 -1788 116 P04 2178 -544 25 SEG16 -857 2450 71 COM3 -2179 -1908 117 P05 2178 -414 26 SEG17 -977 2450 72 COM2 -2179 -2028 118 P06 2178 -284 27 SEG18 -1097 2450 73 COM1 -2179 -2148 119 P07 2178 -154 28 SEG19 -1217 2450 74 VSS -1673 -2442 120 P20 2178 -24 29 SEG20 -1337 2450 75 P40 -1543 -2442 121 P21 2178 106 30 SEG21 -1457 2450 76 P41 -1413 -2442 122 P22 2178 236 31 SEG22 -1577 2450 77 P42 -1283 -2442 123 P23 2178 366 32 SEG23 -1697 2450 78 P43 -1153 -2442 124 P24 2178 496 33 SEG24 -1817 2450 79 P44 -1023 -2442 125 P25 2178 626 34 SEG25 -1937 2450 80 P45 -893 -2442 126 P26 2178 756 35 SEG26 -2057 2450 81 P46 -763 -2442 127 P27 2178 886 36 SEG27 -2177 2450 82 P47 -633 -2442 128 ADLC 2178 1216 37 SEG28 -2179 2172 83 P70 -503 -2442 129 38 SEG29 -2179 2052 84 P71 -373 -2442 130 39 SEG30 -2179 1932 85 P72 -243 -2442 131 XT1 2178 1606 40 SEG31 -2179 1812 86 P73 -113 -2442 132 XT2 2178 1736 41 SEG32 -2179 1692 87 P10 17 -2442 133 VSS 2178 1866 42 COM32 -2179 1572 88 P11 147 -2442 134 CF1 2178 1996 43 COM31 -2179 1452 89 P12 277 -2442 135 CF2 2178 2126 44 COM30 -2179 1332 90 P13 407 -2442 45 COM29 -2179 1212 91 P14 537 -2442 46 COM28 -2179 1092 92 P15 667 -2442
Name
1 VDD 2178 2330 47 COM27 -2179 972 93 P16 797 -2442 2 RC2 1967 2449 48 COM26 -2179 852 94 P17 927 -2442 3 RC1 1836 2449 49 COM25 -2179 732 95 P57 1057 -2442 4 VLCD 1663 2449 50 COM24 -2179 612 96 P56 1187 -2442 5 V5 1543 2449 51 COM23 -2179 492 97 P55 1317 -2442 6 V4 1423 2449 52 COM22 -2179 372 98 P54 1447 -2442 7 V3 1303 2449 53 COM21 -2179 252 99 P53 1577 -2442 8 V2 1183 2449 54 COM20 -2179 132 100 P52 1707 -2442 9 V1 1063 2449 55 COM19 -2179 12 101 P51 1837 -2442
Coordinates Coordinates Coordinates Pad
Xµm Yµm
Pad
No.
Name
Xµm Yµm
Pad No.
Name
EROE
RES
Xµm Yµm
2178 1346 2178 1476
The values (X, Y) indicate the coordinates of each pad center with the center of the chip as the origin.
No.6722-8/29
LC868364A
Pad Name and Coord i na te s Table
(Display duty: 1/16 duty)
No.
10 SEG1 942 2450 56 SEG47 -2179 -108 102 P50 1967 -2442 11 SEG2 822 2450 57 SEG48 -2179 -228 103 VDD 2178 -2294 12 SEG3 702 2450 58 COM16 -2179 -348 104 P30 2178 -2104 13 SEG4 582 2450 59 COM15 -2179 -468 105 P31 2178 -1974 14 SEG5 462 2450 60 COM14 -2179 -588 106 P32 2178 -1844 15 SEG6 342 2450 61 COM13 -2179 -708 107 P33 2178 -1714 16 SEG7 223 2450 62 COM12 -2179 -828 108 P34 2178 -1584 17 SEG8 103 2450 63 COM11 -2179 -948 109 P35 2178 -1454 18 SEG9 -17 2450 64 COM10 -2179 -1068 110 P36 2178 -1324 19 SEG10 -137 2450 65 COM9 -2179 -1188 111 P37 2178 -1194 20 SEG11 -257 2450 66 COM8 -2179 -1308 112 P00 2178 -1064 21 SEG12 -377 2450 67 COM7 -2179 -1428 113 P01 2178 -934 22 SEG13 -497 2450 68 COM6 -2179 -1548 114 P02 2178 -804 23 SEG14 -617 2450 69 COM5 -2179 -1668 115 P03 2178 -674 24 SEG15 -737 2450 70 COM4 -2179 -1788 116 P04 2178 -544 25 SEG16 -857 2450 71 COM3 -2179 -1908 117 P05 2178 -414 26 SEG17 -977 2450 72 COM2 -2179 -2028 118 P06 2178 -284 27 SEG18 -1097 2450 73 COM1 -2179 -2148 119 P07 2178 -154 28 SEG19 -1217 2450 74 VSS -1673 -2442 120 P20 2178 -24 29 SEG20 -1337 2450 75 P40 -1543 -2442 121 P21 2178 106 30 SEG21 -1457 2450 76 P41 -1413 -2442 122 P22 2178 236 31 SEG22 -1577 2450 77 P42 -1283 -2442 123 P23 2178 366 32 SEG23 -1697 2450 78 P43 -1153 -2442 124 P24 2178 496 33 SEG24 -1817 2450 79 P44 -1023 -2442 125 P25 2178 626 34 SEG25 -1937 2450 80 P45 -893 -2442 126 P26 2178 756 35 SEG26 -2057 2450 81 P46 -763 -2442 127 P27 2178 886 36 SEG27 -2177 2450 82 P47 -633 -2442 128 ADLC 2178 1216 37 SEG28 -2179 2172 83 P70 -503 -2442 129 38 SEG29 -2179 2052 84 P71 -373 -2442 130 39 SEG30 -2179 1932 85 P72 -243 -2442 131 XT1 2178 1606 40 SEG31 -2179 1812 86 P73 -113 -2442 132 XT2 2178 1736 41 SEG32 -2179 1692 87 P10 17 -2442 133 VSS 2178 1866 42 SEG33 -2179 1572 88 P11 147 -2442 134 CF1 2178 1996 43 SEG34 -2179 1452 89 P12 277 -2442 135 CF2 2178 2126 44 SEG35 -2179 1332 90 P13 407 -2442 45 SEG36 -2179 1212 91 P14 537 -2442 46 SEG37 -2179 1092 92 P15 667 -2442
Name
1 VDD 2178 2330 47 SEG38 -2179 972 93 P16 797 -2442 2 RC2 1967 2449 48 SEG39 -2179 852 94 P17 927 -2442 3 RC1 1836 2449 49 SEG40 -2179 732 95 P57 1057 -2442 4 VLCD 1663 2449 50 SEG41 -2179 612 96 P56 1187 -2442 5 V5 1543 2449 51 SEG42 -2179 492 97 P55 1317 -2442 6 V4 1423 2449 52 SEG43 -2179 372 98 P54 1447 -2442 7 V3 1303 2449 53 SEG44 -2179 252 99 P53 1577 -2442 8 V2 1183 2449 54 SEG45 -2179 132 100 P52 1707 -2442 9 V1 1063 2449 55 SEG46 -2179 12 101 P51 1837 -2442
Coordinates Coordinates Coordinates Pad
Xµm Yµm
Pad
No.
Name
Xµm Yµm
Pad No.
Name
EROE
RES
Xµm Yµm
2178 1346 2178 1476
The values (X, Y) indicate the coordinates of each pad center with the center of the chip as the origin.
No.6722-9/29
Loading...
+ 20 hidden pages