COP684EK.pdf 데이터시트 (총 28 페이지) - 파일 다운로드 COP684EK 데이타시트 다운로드

No Preview Available !

PRELIMINARY
September 1999
COP87LxxCJ/RJ Family
8-Bit CMOS OTP Microcontrollers with 4k or 32k Memory
and Comparator
General Description
The COP87LxxCJ/RJ Family OTP (One Time Program-
mable) microcontrollers are integrated COP8Base core
devices with 4k or 32k memory, and an Analog comparator
(no brownout). These multi-chip CMOS devices are suited
for lower-functionality applications, and as pre-production
devices for a ROM design. Low cost, pin and software com-
patible (plus Brownout) 1k or 2k ROM versions are available
(COP820CJ/840CJ Family). Versions are available for use
with a range of COP8 software and hardware development
tools.
Family features include an 8-bit memory mapped architec-
ture, 10 MHz CKI with 1µs instruction cycle, three clock op-
tions (-1 = crystal; -2 = external; -3 = internal RC), one multi-
function 16-bit timer/counter, MICROWIRE/PLUSserial
I/O, one analog comparator, power saving HALT mode with
multi-sourced wakeup/interrupt capability, on-chip R/C oscil-
lator capacitor, high current outputs, software selectable I/O
options, WATCHDOGtimer, modulator/timer, Power on
Reset, program code security, 2.7V to 5.5V operation and
20/28 pin packages.
In this datasheet, the term COP87L20CJ refers to the
COP87L20CJ, and COP87L22CJ. COP840CJ refers to the
COP87L40CJ, COP87L42CJ, COP87L40RJ, and
COP87L42RJ.
Devices included in this datasheet are:
Device
COP87L20CJ
COP87L22CJ
COP87L40CJ
COP87L42CJ
COP87L40RJ
COP87L42RJ
Memory (bytes)
4k OTP EPROM
4k OTP EPROM
4k OTP EPROM
4k OTP EPROM
32k OTP EPROM
32k OTP EPROM
RAM (bytes)
64
64
128
128
128
128
I/O Pins
24
16
24
16
24
16
Packages
28 DIP/SOIC
20 DIP/SOIC
28 DIP/SOIC
20 DIP/SOIC
28 DIP/SOIC
20 DIP/SOIC
Temperature
-40 to +85˚C
-40 to +85˚C
-40 to +85˚C
-40 to +85˚C
-40 to +85˚C
-40 to +85˚C
Key Features
n Multi-Input Wakeup (on the 8-bit Port L)
n Analog comparator
n Modulator/Timer (high speed PWM timer for IR
transmission)
n 16-bit multi-function timer supporting
— PWM mode
— External event counter mode
— Input capture mode
n Integrated capacitor for the R/C oscillator
n 4 or 32 kbyte on-board OTP EPROM with security
feature
n 64 or 128 bytes on-chip RAM
I/O Features
n Software selectable I/O options (TRI-STATE®, Push-Pull,
Weak Pull-Up Input, High Impedance Input)
n High current outputs (8 pins)
n Schmitt trigger inputs on Port G
n MICROWIRE/PLUS serial I/O
n Packages:
— 20 DIP/SO with 16 I/O pins
— 28 DIP/SO with 24 I/O pins
CPU/Instruction Set Features
n 1 µs instruction cycle time
n Three multi-source interrupts servicing
— External interrupt with selectable edge
— Timer interrupt
— Software interrupt
n Versatile and easy to use instruction set
n 8-bit stack pointer (SP) — stack in RAM
n Two 8-bit Register Indirect Data Memory Pointers (B and
X)
Fully Static CMOS
n Low current drain (typically <1 µA)
n Single supply operation: 2.7V to 5.5V
n Temperature range: −40˚C to +85˚C
Development Support
n Emulation device for the COP820CJ/COP840CJ
n Real time emulation and full program debug offered by
MetaLink Development Systems
TRI-STATE® is a registered trademark of National Semiconductor Corporation.
COP8, MICROWIRE, MICROWIRE/PLUSand WATCHDOGare trademarks of National Semiconductor Corporation.
iceMASTER® is a registered trademark of MetaLink Corporation.
© 1999 National Semiconductor Corporation DS012529
www.national.com

No Preview Available !

Block Diagram
Connection Diagrams
FIGURE 1. Block Diagram
DS012529-1
DS012529-3
DS012529-2
Top View
Order Number
COP87L20CJN (-1N, -2N, -3N), or
COP87L20CJM(-1N, -2N, -3N), or
COP87L40CJN (-1N, -2N, -3N), or
COP87L40CJM (-1N, -2N, -3N), or
COP87L40RJN (-1N, -2N, -3N), or
COP87L40RJM (-1N, -2N, -3N)
See NS Package Number N28B or M28B
Top View
Order Number
COP87L22CJN (-1N, -2N, -3N), or
COP87L22CJM(-1N, -2N, -3N), or
COP87L42CJN (-1N, -2N, -3N), or
COP87L42CJM (-1N, -2N, -3N), or
COP87L42RJN (-1N, -2N, -3N), or
COP87L42RJM (-1N, -2N, -3N)
See NS Package Number N20A or M20B
FIGURE 2. Connection Diagrams
Note: -1 Crystal Oscillator
-2 External Oscillator
-3 R/C Oscillator
N - Brown out disabled
www.national.com
2

No Preview Available !

Pin Assignment
Port
Pin
Typ
ALT
Funct.
20 28
Pin Pin
L0 I/O MIWU/CMPOUT 7 11
L1
I/O MIWU/CMPIN−
8 12
L2
I/O MIWU/CMPIN+
9 13
L3 I/O MIWU
10 14
L4 I/O MIWU
11 15
L5 I/O MIWU
12 16
L6 I/O MIWU
13 17
L7
I/O MIWU/MODOUT 14
18
G0 I/O INTR
17 25
G1 I/O
18 26
G2 I/O
19 27
G3 I/O TIO
20 28
G4 I/O SO
11
G5 I/O SK
22
G6 I SI
33
G7 I CKO
44
I0 I
7
I1 I
8
I2 I
9
I3 I
10
D0 O
19
D1 O
20
D2 O
21
D3 O
22
VCC
GND
66
15 23
CKI 5 5
RESET
16 24
3 www.national.com

No Preview Available !

Absolute Maximum Ratings (Note 1)
If Military/Aerospace specified devices are required,
please contact the National Semiconductor Sales Office/
Distributors for availability and specifications.
Supply Voltage (VCC)
Voltage at any Pin
7.0V
−0.3V to VCC + 0.3V
Total Current into VCC pin (Source)
Total Current out of GND pin (sink)
80 mA
80 mA
Storage Temperature Range
−65˚C to +150˚C
Note 1: Absolute maximum ratings indicate limits beyond which damage to
the device may occur. DC and AC electrical specifications are not ensured
when operating the device at absolute maximum ratings.
DC Electrical Characteristics
−40˚C TA +85˚C unless otherwise specified
Parameter
Conditions
Operating Voltage
Power Supply Ripple 1 (Note 2)
Peak to Peak
Supply Current (Note 3)
CKI = 10 MHz
CKI = 4 MHz
VCC = 5.5V, tc = 1 µs
VCC = 4.5V, tc = 2.5 µs
Min Typ Max
Units
2.7 5.5 V
0.1 VCC
V
12 mA
6.5 mA
CKI = 4 MHz (COP87L20CJ)
HALT Current (Note 4)
INPUT LEVELS (VIH, VIL)
Reset, CKI:
Logic High
Logic Low
All Other Inputs
Logic High
Logic Low
Hi-Z Input Leakage
Input Pullup Current
L- and G-Port Hysteresis (Note 7)
Output Current Levels
D Outputs:
Source
Sink (Note 5)
L4–L7 Output Sink
All Others
Source (Weak Pull-up Mode)
Source (Push-pull Mode)
Sink (Push-pull Mode)
(COP887L20CJ)
TRI-STATE Leakage
Allowable Sink/Source
Current Per Pin
D Outputs
L4–L7 (Sink)
All Others
Maximum Input Current
without Latchup (Note 6)
RAM Retention Voltage, Vr
Input Capacitance
Load Capacitance on D2
VCC = 4.0V, tc = 2.5 µs
VCC = 5.5V, CKI = 0 MHz
0.8 VCC
VCC = 5.5V
VCC = 5.5V
0.7 VCC
−2
−40
VCC = 4.5V, VOH = 3.8V
VCC = 4.5V, VOL = 1.0V
VCC = 4.5V, VOL = 2.5V
VCC = 4.5V, VOH = 3.2V
VCC = 4.5V, VOH = 3.8V
VCC = 4.5V, VOL = 0.4V
VCC = 5.5V, VOL = 0.4V
−0.4
10
15
−10
−0.4
1.6
−2.0
Room Temperature
500 ns Rise and
Fall Time (Min)
2.0
10
12
0.2 VCC
0.2 VCC
+2
−250
0.35 VCC
−110
+2.0
15
20
3
±100
7
1000
Note 2: Rate of voltage change must be less than 10 V/mS.
Note 3: Supply current is measured after running 2000 cycles with a square wave CKI input, CKO open, inputs at rails and outputs open.
mA
µA
V
V
V
V
µA
µA
V
mA
mA
mA
µA
mA
mA
µA
mA
mA
mA
mA
V
pF
pF
www.national.com
4

No Preview Available !

DC Electrical Characteristics (Continued)
Note 4: The HALT mode will stop CKI from oscillating in the RC and crystal configurations by bringing CKI high. HALT test conditions: L, and G0..G5 ports configured
as outputs and set high. The D port set to zero. All inputs tied to VCC. The comparator is disabled.
Note 5: The user must guarantee that D2 pin does not source more than 10 mA during RESET. If D2 sources more than 10 mA during reset, the device will go into
programming mode.
Note 6: Pins G6 and RESET are designed with a high voltage input network. These pins allow input voltages greater than VCC and the pins will have sink current
to VCC when biased at voltages greater than VCC (the pins do not have source current when biased at a voltage below VCC). The effective resistance to VCC is 750
(typical). These two pins will not latch up. The voltage at the pins must be limited to less than 14V.
AC Electrical Characteristics
−40˚C TA +85˚C unless otherwise specified
Parameter
Conditions
Instruction Cycle Time (tc)
Crystal/Resonator
R/C Oscillator
CKI Clock Duty Cycle (Note 7)
4.5V VCC 5.5V
4.5V VCC 5.5V
fr = Max
Rise Time (Note 7)
fr = 10 MHz ext. Clock
Fall Time (Note 7)
fr = 10 MHz ext. Clock
Inputs
tSetup
tHold
Output Propagation Delay
tPD1, tPD0
SO, SK
All Others
Input Pulse Width
4.5V VCC 5.5V
4.5V VCC 5.5V
RL = 2.2k, CL = 100 pF
4.5V VCC 5.5V
4.5V VCC 5.5V
Interrupt Input High Time
Interrupt Input Low Time
Timer Input High Time
Timer Input Low Time
MICROWIRESetup Time (tµWS)
MICROWIRE Hold Time (tµWH)
MICROWIRE Output
Propagation Delay (tµPD)
Reset Pulse Width
Note 7: Parameter characterized but not production tested.
Min Typ Max Units
1 DC µs
2 DC µs
40 60 %
12 ns
8 ns
200 ns
60 ns
0.7 µs
1 µs
1 tc
1 tc
1 tc
1 tc
20 ns
56 ns
220 ns
1 µs
DS012529-4
FIGURE 3. MICROWIRE/PLUS Timing
5
www.national.com