COP888FH
8-Bit CMOS ROM Based Microcontrollers with 12k
Memory, Comparators, USART and Hardware
Multiply/Divide
General Description
The COP888FH Family of ROM based microcontrollers are
highly integrated COP8
™
Feature core devices with 12k
memory and advanced features including Analog compara-
tors, and Hardware Multiply/Divide. These single-chip
CMOS devices are suited for more complex applications re-
quiring a full featured controller, low EMI, two comparators, a
full-duplex USART, and hardware multiply/divide functions.
COP87L88FH devices are pin and software compatible (dif-
ferent V
CC
range) 16k OTP (One Time Programmable) ver-
sions for pre-production , and 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, hardware
multiply/divide functions, three multi-function 16-bit timer/
counters with PWM, full duplex USART, MICROWIRE/
PLUS
™
, two Analog comparators, two power saving HALT/
IDLE modes, MIWU, idle timer, high current outputs,
software selectable options WATCHDOG
™
and clock/
oscillator mode, low EMI 2.5V to 5.5V operation, and 28/
40/44 pin packages.
Devices included in this data sheet are:
Device
Memory (bytes)
RAM (bytes)
I/O Pins
Packages
Temperature
Comments
COP684FH
12k ROM
512
24
28 DIP/SOIC
-55 to +125˚C
4.5V to 5.5V
COP884FH
12k ROM
512
24
28 DIP/SOIC
-40 to +85˚C
COP984FH
12k ROM
512
24
28 DIP/SOIC
0 to +70˚C
2.5V to 4.0V, FHH=4.0V to
6.0V
COP688FH
12k ROM
512
36/40
40 DIP, 44 PLCC
-55 to +125˚C
4.5V to 5.5V
COP888FH
12k ROM
512
36/40
40 DIP, 44 PLCC
-40 to +85˚C
COP988FH
12k ROM
512
36/40
40 DIP, 44 PLCC
0 to +70˚C
2.5V to 4.0V, FHH=4.0V to
6.0V
Key Features
n
Hardware Multiply/Divide Functions
n
Full duplex USART
n
Three 16-bit timers, each with two 16-bit registers
supporting:
— Processor Independent PWM mode
— External Event counter mode
— Input Capture mode
n
Quiet design (low radiated emissions)
n
12 kbytes on-board ROM
n
512 bytes on-board RAM
Additional Peripheral Features
n
Idle Timer
n
Multi-Input Wakeup (MIWU) with optional interrupts (8)
n
Two analog comparators
n
WATCHDOG and Clock Monitor logic
n
MICROWIRE/PLUS serial I/O
I/O Features
n
Software selectable I/O options ( TRI-STATE
®
,
Push-Pull, Weak Pull-Up, and High Impedance Input)
n
Schmitt trigger inputs on ports G and L
n
Packages:
— 40 DIP with 36 I/O pins
— 44 PLCC with 40 I/O pins
— 28 DIP/SO with 24 I/O pins
CPU/Instruction Set Features
n
1 µs instruction cycle time
n
Fourteen multi-source vectored interrupts servicing
— External Interrupt
— Idle Timer T0
— Three Timers (Each with 2 Interrupts)
— MICROWIRE/PLUS
— Multi-Input Wake Up
— Software Trap
— USART (2)
— Default VIS (default interrupt)
n
Versatile and easy to use instruction set
COP8
™
is a trademark of National Semiconductor Corporation.
MICROWIRE
™
is a trademark of National Semiconductor Corporation.
MICROWIRE/PLUS
™
is a trademark of National Semiconductor Corporation.
TRI-STATE
®
is a registered trademark of National Semiconductor Corporation.
WATCHDOG
™
is a trademark of National Semiconductor Corporation.
iceMASTER
™
is a trademark of MetaLink Corporation.
September 1999
COP888FH
8-Bit
CMOS
ROM
Based
Microcontrollers
with
12k
Memory
,
Comparators,
USART
and
Hardware
Multiply/Divide
© 1999 National Semiconductor Corporation
DS012602
www.national.com
CPU/Instruction Set Features
(Continued)
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
<
5 µA)
n
Two power saving modes: HALT and IDLE
n
Single supply operation: 2.5V–5.5V
n
Temperature ranges: 0˚C to +70˚C,
−40˚C to +85˚C
−55˚C to +125˚C
Development Support
n
Emulation and OTP devices
n
Real time emulation and full program debug offered by
MetaLink Development System
Block Diagram
DS012602-1
FIGURE 1. COP888FH Block Diagram
www.national.com
2
Connection Diagrams
Plastic Chip Carrier
DS012602-2
Top View
Order Number COP688FH-XXX/V,
COP888FH-XXX/V or COP988FH-XXX/V
See NS Plastic Chip Package Number V44A
Dual-In-Line Package
DS012602-3
Top View Order
Number COP688FH-XXX/N,
COP888FH-XXX/N or COP988FH-XXX/N
See NS Molded Package Number N40A
Dual-In-Line Package
DS012602-4
Order Number COP684FH-XXX/M, COP884FH-XXX/M,
COP984FH-XXX/M, COP684FH-XXX/N,
COP884FH-XXX/N or COP984FH-XXX/N
See NS Molded Package Number M28B or N28B
FIGURE 2. Connection Diagrams
www.national.com
3
Connection Diagrams
(Continued)
Pinouts for 28-, 40- and 44-Pin Packages
Port
Type
Alt. Fun
Alt. Fun
28-Pin
40-Pin
44-Pin
Pack.
Pack.
Pack.
L0
I/O
MIWU
11
17
17
L1
I/O
MIWU
CKX
12
18
18
L2
I/O
MIWU
TDX
13
19
19
L3
I/O
MIWU
RDX
14
20
20
L4
I/O
MIWU
T2A
15
21
25
L5
I/O
MIWU
T2B
16
22
26
L6
I/O
MIWU
T3A
17
23
27
L7
I/O
MIWU
T3B
18
24
28
G0
I/O
INT
25
35
39
G1
WDOUT
26
36
40
G2
I/O
T1B
27
37
41
G3
I/O
T1A
28
38
42
G4
I/O
SO
1
3
3
G5
I/O
SK
2
4
4
G6
I
SI
3
5
5
G7
I/CKO
HALT Restart
4
6
6
D0
O
19
25
29
D1
O
20
26
30
D2
O
21
27
31
D3
O
22
28
32
D4
O
29
33
D5
O
30
34
D6
O
31
35
D7
O
32
36
I0
I
7
9
9
I1
I
COMP1IN−
8
10
10
I2
I
COMP1IN+
9
11
11
I3
I
COMP1OUT
10
12
12
I4
I
COMP2IN−
13
13
I5
I
COMP2IN+
14
14
I6
I
COMP2OUT
15
15
I7
I
16
16
C0
I/O
39
43
C1
I/O
40
44
C2
I/O
1
1
C3
I/O
2
2
C4
I/O
21
C5
I/O
22
C6
I/O
23
C7
I/O
24
V
CC
6
8
8
GND
23
33
37
CKI
5
7
7
RESET
24
34
38
www.national.com
4
COP98xFH
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
)
7V
Voltage at Any Pin
−0.3V to V
CC
+ 0.3V
Total Current into V
CC
Pin (Source)
100 mA
Total Current out of GND Pin (Sink)
110 mA
Storage Temperature Range
−65˚C to +140˚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 COP98xFH:
0˚C
≤
T
A
≤
+70˚C unless otherwise specified
Parameter
Conditions
Min
Typ
Max
Units
Operating Voltage COP98XFH
2.5
4.0
V
COP98XFHH
4.0
6.0
V
Power Supply Ripple (Note 2)
Peak-to-Peak
0.1 V
CC
V
Supply Current (Note 3)
CKI = 10 MHz
V
CC
= 5.5V, t
c
= 1 µs
12.5
mA
CKI = 4 MHz
V
CC
= 5.5V, t
c
= 2.5 µs
5.5
mA
CKI = 4 MHz
V
CC
= 4V, t
c
= 2.5 µs
2.5
mA
CKI = 1 MHz
V
CC
= 4V, t
c
= 10 µs
1.4
mA
HALT Current (Note 4)
V
CC
= 5.5V, CKI = 0 MHz
<
5
8
µA
V
CC
= 4V, CKI = 0 MHz
<
3
4
µA
IDLE Current
CKI = 10 MHz
V
CC
= 5.5V, t
c
= 1 µs
3.5
mA
CKI = 4 MHz
V
CC
= 5.5V, t
c
= 2.5 µs
2.5
mA
CKI = 1 MHz
V
CC
= 4V, t
c
= 10 µs
0.7
mA
Input Levels
RESET
Logic High
0.8 V
CC
V
Logic Low
0.2 V
CC
V
CKI (External and Crystal Osc. Modes)
Logic High
0.7 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
= 5.5V, V
IN
= 0V
−1
+1
µA
Input Pullup Current
V
CC
= 5.5V, V
IN
= 0V
−40
−250
µA
G and L Port Input Hysteresis
0.35 V
CC
V
www.national.com
5
DC Electrical Characteristics COP98xFH:
(Continued)
0˚C
≤
T
A
≤
+70˚C unless otherwise specified
Parameter
Conditions
Min
Typ
Max
Units
Output Current Levels
D Outputs
Source
V
CC
= 4V, V
OH
= 3.3V
−0.4
mA
V
CC
= 2.5V, V
OH
= 1.8V
−0.2
mA
Sink
V
CC
= 4V, V
OL
= 1V
10
mA
V
CC
= 2.5V, V
OL
= 0.4V
2.0
mA
All Others
Source (Weak Pull-Up Mode)
V
CC
= 4V, V
OH
= 2.7V
−10
−100
µA
V
CC
= 2.5V, V
OH
= 1.8V
−2.5
−33
µA
Source (Push-Pull Mode)
V
CC
= 4V, V
OH
= 3.3V
−0.4
mA
V
CC
= 2.5V, V
OH
= 1.8V
−0.2
mA
Sink (Push-Pull Mode)
V
CC
= 4V, V
OL
= 0.4V
1.6
mA
V
CC
= 2.5V, V
OL
= 0.4V
0.7
mA
TRI-STATE Leakage
V
CC
= 5.5V
−1
+1
µA
Allowable Sink/Source
Current per Pin
D Outputs (Sink)
15
mA
All Others
3
mA
Maximum Input Current
T
A
= 25˚C
±
100
mA
without Latchup (Note 5)
RAM Retention Voltage, V
r
500 ns Rise
2
V
and Fall Time (Min)
Input Capacitance
7
pF
Load Capacitance on D2
1000
pF
AC Electrical Characteristics COP98xFH:
0˚C
≤
T
A
≤
+70˚C unless otherwise specified
Parameter
Conditions
Min
Typ
Max
Units
Instruction Cycle Time (t
c
)
4V
≤
V
CC
≤
5.5V
1
DC
µs
Crystal Resonator or External
2.5V
≤
V
CC
<
4V
2.5
DC
µs
R/C Oscillator
4V
≤
V
CC
≤
5.5V
3
DC
µs
2.5V
≤
V
CC
<
4V
7.5
DC
µs
CKI Clock Duty Cycle (Note 6)
f = Max
45
55
%
Rise Time (Note 6)
f = 10 MHz Ext Clock
5
µs
Fall Time (Note 6)
f = 10 MHz Ext Clock
5
µs
Inputs
t
SETUP
4V
≤
V
CC
≤
5.5V
200
ns
2.5V
≤
V
CC
<
4V
500
ns
t
HOLD
4V
≤
V
CC
≤
5.5V
60
ns
2.5V
≤
V
CC
<
4V
150
ns
Output Propagation Delay (Note 6)
R
L
= 2.2k, C
L
= 100 pF
t
PD1
, t
PD0
SO, SK
4V
≤
V
CC
≤
5.5V
0.7
µs
2.5V
≤
V
CC
<
4V
1.75
µs
All Others
4V
≤
V
CC
≤
5.5V
1
µs
2.5V
≤
V
CC
<
4V
2.5
µs
www.national.com
6
AC Electrical Characteristics COP98xFH:
(Continued)
0˚C
≤
T
A
≤
+70˚C unless otherwise specified
Parameter
Conditions
Min
Typ
Max
Units
MICROWIRE
™
Setup Time (t
UWS
)
20
ns
MICROWIRE Hold Time (t
UWH
)
56
ns
MICROWIRE Output Propagation Delay (t
UPD
)
220
ns
Input Pulse Width
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
Reset Pulse Width
1
µs
Note 2: Rate of voltage change must be less than 0.5V/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 the Crystal configurations. Test conditions: All inputs tied to V
CC
, L and G ports in the TRI-STATE
mode and tied to ground, all outputs low and tied to ground. The clock monitor and the comparator are disabled.
Note 5: Pins G6 and RESET are designed with a high voltage input network for factory testing. 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 resis-
tance to V
CC
is 750
Ω
(typical). These two pins will not latch up. The voltage at the pins must be limited to less than 14V.
Note 6: The output propagation delay is referenced to the end of the instruction cycle where the output change occurs.
DS012602-5
FIGURE 3. MICROWIRE/PLUS Timing
www.national.com
7
COP88xFH
Absolute Maximum Ratings
(Note 7)
If Military/Aerospace specified devices are required,
please contact the National Semiconductor Sales Office/
Distributors for availability and specifications.
Supply Voltage (V
CC
)
7V
Voltage at Any Pin
−0.3V to V
CC
+ 0.3V
Total Current into V
CC
Pin (Source)
100 mA
Total Current out of GND Pin (Sink)
110 mA
Storage Temperature Range
−65˚C to +140˚C
Note 7: 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 COP88xFH:
−40˚C
≤
T
A
≤
+85˚C unless otherwise specified
Parameter
Conditions
Min
Typ
Max
Units
Operating Voltage
2.5
5.5
V
Power Supply Ripple (Note 8)
Peak-to-Peak
0.1 V
CC
V
Supply Current (Note 9)
CKI = 10 MHz
V
CC
= 5.5V, t
c
= 1 µs
12.5
mA
CKI = 4 MHz
V
CC
= 5.5V, t
c
= 2.5 µs
5.5
mA
CKI = 4 MHz
V
CC
= 4.0V, t
c
= 2.5 µs
2.5
mA
CKI = 1 MHz
V
CC
= 4.0V, t
c
= 10 µs
1.4
mA
HALT Current (Note 10)
V
CC
= 5.5V, CKI = 0 MHz
<
5
10
µA
V
CC
= 4.0V, CKI = 0 MHz
<
3
6
µA
IDLE Current
CKI = 10 MHz
V
CC
= 5.5V, t
c
= 1 µs
3.5
mA
CKI = 4 MHz
V
CC
= 5.5V, t
c
= 2.5 µs
2.5
mA
CKI = 1 MHz
V
CC
= 4.0V, t
c
= 10 µs
0.7
mA
Input Levels
RESET
Logic High
0.8 V
CC
V
Logic Low
0.2 V
CC
V
CKI (All Other Inputs)
Logic High
0.7 V
CC
V
Logic Low
0.2 V
CC
V
Hi-Z Input Leakage
V
CC
= 5.5V, V
IN
= 0V
−2
+2
µA
Input Pullup Current
V
CC
= 5.5V, V
IN
= 0V
−40
−250
µA
G and L Port Input Hysteresis
(Note 12)
0.35 V
CC
V
Output Current Levels
D Outputs
Source
V
CC
= 4V, V
OH
= 3.3V
−0.4
mA
V
CC
= 2.5V, V
OH
= 1.8V
−0.2
mA
Sink
V
CC
= 4V, V
OL
= 1V
10
mA
V
CC
= 2.5V, V
OL
= 0.4V
2.0
mA
All Others
Source (Weak Pull-Up Mode)
V
CC
= 4V, V
OH
= 2.7V
−10
−100
µA
V
CC
= 2.5V, V
OH
= 1.8V
−2.5
−33
µA
Source (Push-Pull Mode)
V
CC
= 4V, V
OH
= 3.3V
−0.4
mA
V
CC
= 2.5V, V
OH
= 1.8V
−0.2
mA
Sink (Push-Pull Mode)
V
CC
= 4V, V
OL
= 0.4V
1.6
mA
V
CC
= 2.5V, V
OL
= 0.4V