ChipFind - документация

Электронный компонент: COP942CT

Скачать:  PDF   ZIP
COP840CJ/COP842CJ/COP940CJ/COP942CJ
8-Bit Microcontrollers with Multi-Input Wake-Up and
Brown Out Detector
General Description
The COP840CJ is a member of the COP8
TM
feature family
8-bit microcontroller. It is a fully static Microcontroller, fabri-
cated using double-metal silicon gate microCMOS technol-
ogy. This low cost microcontroller is a complete microcom-
puter containing all system timing, interrupt logic, ROM,
RAM, and I/O necessary to implement dedicated control
functions in a variety of applications. Features include an
8-bit memory mapped architecture, MICROWIRE
TM
serial
I/O,
a
16-bit
timer/counter
with
capture
register,
a
multi-sourced interrupt, Comparator, WATCHDOG
TM
Timer,
Modulator/Timer, Brown out detection and Multi Input
Wake-up. Each I/O pin has software selectable options to
adapt the device to the specific application. The device oper-
ates over a voltage range of 2.5V6.0V. High throughput is
achieved with an efficient, regular instruction set operating at
a 1 ms per instruction rate. Low radiated emissions are
achieved by gradual turn on output drivers and internal I
CC
filters on the chip logic and crystal oscillator.
Features
n
Multi-Input wake-up (on the 8-bit Port L)
n
Brown out detection
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
Quiet design (low radiated emissions)
n
Integrated capacitor for the R/C oscillator
n
2048 bytes of ROM
n
128 bytes of RAM
n
Memory mapped I/O
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
TM
serial I/O
n
Packages: 20 DIP/SO with 16 I/O pins
28 DIP/SO with 24 I/O pins
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.5V to 6.0V
n
Temperature ranges: 0C to +70C, -40C to +85C
-55C to +125C
Development Support
n
Emulation and OTP devices
n
Real time emulation and full program debug offered by
MetaLink's development system
TRI-STATE
is a registered trademark of National Semiconductor Corporation.
WATCHDOG
TM
, MICROWIRE/PLUS
TM
, COP8
TM
, and MICROWIRE
TM
are trademarks of National Semiconductor Corporation.
iceMASTER
TM
is a trademark of MetaLink Corporation.
OBSOLETE
January 2000
COP840CJ/COP842CJ/COP940CJ/COP942CJ
8-Bit
Microcontrollers
with
Multi-Input
W
ake-Up
and
Brown
Out
Detector
2000 National Semiconductor Corporation
DS012851
www.national.com
Block Diagram
Connection Diagrams
DS012851-1
DS012851-2
Top View
Order Number COP840CJ-XXX/N
or COP840CJ-XXX/M,
COP940CJ-XXX/N or COP940CJ-XXX/M
See NS Package Number N28B or M28B
DS012851-3
Top View
Order Number COP842CJ-XXX/N
or COP842CJ-XXX/M
COP942CJ-XXX/N or COP942CJ-XXX/M
See NS Package Number N20A or M20B
FIGURE 1. Connection Diagrams
COP840CJ/COP842CJ/COP940CJ/COP942CJ
www.national.com
2
Pin Assignment
Port
Type
ALT
20-Pin
28-Pin
PIN
Funct.
L0
I/O
MIWU/
7
11
CMPOUT
L1
I/O
MIWU/
8
12
CMPIN-
L2
I/O
MIWU/
9
13
CMPIN+
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/
14
18
MODOUT
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
1
1
G5
I/O
SK
2
2
G6
I
SI
3
3
G7
I
CKO
4
4
I0
I
7
I1
I
8
I2
I
9
I3
I
10
D0
O
19
D1
O
20
D2
O
21
D3
O
22
V
CC
6
6
GND
15
23
CKI
5
5
RESET
16
24
COP840CJ/COP842CJ/COP940CJ/COP942CJ
www.national.com
3
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 (V
CC
)
7.0V
Voltage at Any Pin
-0.3V to V
CC
+0.3V
Total Current into V
CC
Pin (source)
80 mA
Total Current out of GND Pin (sink)
80 mA
Storage Temperature Range
-65C to +150C
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 COP94x
0C
T
A
+70C unless otherwise specified
Parameter
Condition
Min
Typ
Max
Units
Operating Voltage
COP94xCJ
Brown Out Disabled
2.5
4.5
V
COP94xCJH
4.5
6.0
V
Power Supply Ripple (Note 2)
Peak-to-Peak
0.1 V
CC
V
Supply Current (Notes 3, 6)
CKI = 10 MHz, R = 2.2k
V
CC
= 6V, t
C
= 1 s
8.0
mA
CKI = 4 MHz, R = 4.7k
V
CC
= 6V, t
C
= 2.5 s
6.0
mA
CKI = 4 MHz, R = 4.7k
V
CC
= 4.5V, t
C
= 2.5 s
2.5
mA
CKI = 1 MHz, R = 20k
V
CC
= 4.5V, t
C
= 10 s
1.5
mA
HALT Current with Brown Out
V
CC
= 6V, CKI = 0 MHz
<
2.2
8
A
Disabled (Note 4)
HALT Current with Brown Out
V
CC
= 6V, CKI = 0 MHz
<
50
100
A
Enabled
Brown Out Trip Level
1.9
3.1
3.9
V
(Brown Out Enabled)
INPUT LEVELS (V
IH
, V
IL
)
Reset, CKI:
Logic High
0.8 V
CC
V
Logic Low
0.2 V
CC
V
All Other Inputs
Logic High
0.7 V
CC
V
Logic Low
0.2 V
CC
V
Hi-Z Input Leakage
V
CC
= 6.0V
-2
+2
A
Input Pullup Current
V
CC
= 6.0V
-40
-250
A
L- and G-Port Hysteresis
0.05 V
CC
0.35 V
CC
V
Output Current Levels
D Outputs:
Source
V
CC
= 4.5V, V
OH
= 3.8V
-0.4
mA
V
CC
= 2.5V, V
OH
= 1.8V
-0.2
mA
Sink
V
CC
= 4.5V, V
OL
= 1.0V
10
mA
V
CC
= 2.5V, V
OH
= 0.4V
2
mA
L4L7 Output Sink
V
CC
= 4.5V, V
OL
= 2.5V
15
mA
All others
Source (Weak Pull-up Mode)
V
CC
= 4.5V, V
OH
= 3.2V
-10
-110
A
V
CC
= 2.5V, V
OH
= 1.8V
-2.5
-33
A
Sink (Push-Pull Mode)
V
CC
= 4.5V, V
OL
= 0.4V
1.6
mA
V
CC
= 2.5V, V
OL
= 0.4V
0.7
mA
TRI-STATE Leakage
-2.0
+2.0
A
COP840CJ/COP842CJ/COP940CJ/COP942CJ
www.national.com
4
DC Electrical Characteristics COP94x
(Continued)
0C
T
A
+70C unless otherwise specified
Parameter
Condition
Min
Typ
Max
Units
Allowable Sink/Source Current per
Pin
D Outputs
15
mA
L4L7 (sink)
20
mA
All Others
3
mA
Maximum Input Current
100
mA
without Latchup (Note 5)
RAM Retention Voltage, Vr
500 ns Rise and
Fall Time (min)
2.0
V
Input Capacitance
7
pF
Load Capacitance on D2
1000
pF
Note 2: Rate of voltage change must be
<
10V/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.
Note 4: The HALT mode will stop CKI from oscillating in the RC and crystal configurations. HALT test conditions: L, and G0..G5 ports configured as outputs and set
high. The D port set to zero. All inputs tied to V
CC
. The comparator and the Brown Out circuits are disabled.
Note 5: Pins G6 and RESET are designed with a high voltage input network. These pins allow input voltages greater than V
CC
and the pins will have sink current
to V
CC
when biased at voltages greater than V
CC
(the pins do not have source current when biased at a voltage below V
CC
). The effective resistance to V
CC
is 750
(typical). These two pins will not latch up. The voltage at the pins must be limited to
<
14V.
Note 6: The Resistor values are for R/C only.
AC Electrical Characteristics COP94x
0C
T
A
+70C unless otherwise specified
Parameter
Condition
Min
Typ
Max
Units
Instruction Cycle Time (t
C
)
Crystal/Resonator
4.5V
V
CC
<
6.0V
1
DC
s
2.5V
V
CC
<
4.5V
2.5
DC
s
R/C Oscillator
4.5V
V
CC
<
6.0V
2
DC
s
2.5V
V
CC
<
4.5V
5
DC
s
V
CC
Rise Time when Using Brown Out
50
s
Frequency at Brown Out Reset
4
MHz
CKI Frequency for Modulator Output
4
MHz
CKI Clock Duty Cycle (Note 7)
fr = Max
40
60
%
Rise Time (Note 7)
fr = 10 MHz ext. clock
12
ns
Fall Time (Note 7)
fr = 10 MHz ext. clock
8
ns
Inputs
t
Setup
4.5V
V
CC
<
6.0
200
ns
2.5V
V
CC
<
4.5
500
ns
tHold
4.5V
V
CC
<
6.0
60
ns
2.5V
V
CC
<
4.5
150
ns
Output Propagation Delay
RL = 2.2k, CL = 100 pF
t
PD1
, t
PD0
SO, SK
4.5V
V
CC
<
6.0
0.7
s
2.5V
V
CC
<
4.5
1.75
s
All Others
4.5V
V
CC
<
6.0
1
s
2.5V
V
CC
<
4.5
5
s
Input Pulse Width
1
t
C
Interrupt Input High Time
1
t
C
Interrupt Input Low Time
1
t
C
Timer Input High Time
1
t
C
Timer Input Low Time
1
t
C
COP840CJ/COP842CJ/COP940CJ/COP942CJ
www.national.com
5