INTEGRATED CIRCUITS
87C654
CMOS single-chip 8-bit microcontroller
Product specification
IC20 Data Handbook
1996 Aug 16
Philips
Semiconductors
Philips Semiconductors
Product specification
CMOS single-chip 8-bit microcontroller
87C654
DESCRIPTION
The 87C654 Single-Chip 8-Bit Microcontroller
is manufactured in an advanced CMOS
process and is a derivative of the 80C51
microcontroller family. The 87C654 has the
same instruction set as the 80C51. Two
versions of the derivative exist:
83C654—16k bytes mask programmable
ROM
87C654—EPROM version
This device provides architectural
enhancements that make it applicable in a
variety of applications for general control
systems. The 87C654 contains a non-volatile
16k
×
8 EPROM, a volatile 256
×
8 read/write
data memory, four 8-bit I/O ports, two 16-bit
timer/event counters (identical to the timers of
the 80C51), a multi-source, two-priority-level,
nested interrupt structure, an I
2
C interface,
UART and on-chip oscillator and timing
circuits. For systems that require extra
capability, the 87C654 can be expanded
using standard TTL compatible memories
and logic.
The device also functions as an arithmetic
processor having facilities for both binary and
BCD arithmetic plus bit-handling capabilities.
The instruction set consists of over 100
instructions: 49 one-byte, 45 two-byte and 17
three-byte. With a 16MHz crystal, 58% of the
instructions are executed in 0.75µs and 40%
in 1.5µs. Multiply and divide instructions
require 3µs.
PIN CONFIGURATIONS
P1.0
P1.1
P1.2
P1.3
P1.4
1
2
3
4
5
6
7
8
9
CERAMIC
AND
PLASTIC
DUAL
IN-LINE
PACKAGE
40 V
CC
39 P0.0/AD0
38 P0.1/AD1
37 P0.2/AD2
36 P0.3/AD3
35 P0.4/AD4
34 P0.5/AD5
33 P0.6/AD6
32 P0.7/AD7
31 EA/V
PP
30 ALE/PROG
29 PSEN
28 P2.7/A15
27 P2.6/A14
26 P2.5/A13
25 P2.4/A12
24 P2.3/A11
23 P2.2/A10
22 P2.1/A9
21 P2.0/A8
FEATURES
P1.5
SCL/P1.6
SDA/P1.7
RST
•
80C51 central processing unit
•
16k
×
8 EPROM expandable externally to
64k bytes
•
256
×
8 RAM, expandable externally to
64k bytes
RxD/P3.0 10
TxD/P3.1 11
INT0/P3.2 12
INT1/P3.3 13
T0/P3.4 14
T1/P3.5 15
WR/P3.6 16
RD/P3.7 17
XTAL2
XTAL1
V
SS
18
19
20
•
Two standard 16-bit timer/counters
•
Four 8-bit I/O ports
•
I
2
C-bus serial I/O port with byte oriented
master and slave functions
•
Full-duplex UART facilities
•
Power control modes
–
Idle mode
–
Power-down mode
•
Five package styles
•
Extended temperature range
•
OTP package available
•
Two speed ranges
–
16MHz
–
20MHz
6
1
40
7
CERAMIC
AND PLASTIC
LEADED
CHIP
CARRIER
17
39
29
18
28
44
34
1
PLASTIC
QUAD
FLAT
PACK
11
33
23
12
22
SU00259
1996 Aug 16
2
853–1689 17192
Philips Semiconductors
Product specification
CMOS single-chip 8-bit microcontroller
87C654
CERAMIC AND PLASTIC LEADED
CHIP CARRIER PIN FUNCTIONS
6
1
40
PLASTIC QUAD FLAT PACK
PIN FUNCTIONS
44
34
7
39
1
LCC
33
PQFP
17
29
11
23
18
28
12
Function
NC8
P2.0/A8
P2.1/A9
P2.2/A10
P2.3/A11
P2.4/A12
P2.5/A13
P2.6/A14
P2.7/A15
PSEN
ALE/PROG
NC8
EA/V
PP
P0.7/AD7
P0.6/AD6
P0.5/AD5
P0.4/AD4
P0.3/AD3
P0.2/AD2
P0.1/AD1
P0.0/AD0
V
CC
Pin
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Function
P1.5
P1.6/SCL
P1.7/SDA
RST
P3.0/RxD
NC*
P3.1/TxD
P3.2/INT0
P3.3/INT1
P3.4/T0
P3.5/T1
P3.6/WR
P3.7/RD
XTAL2
XTAL1
V
SS
NC*
P2.0/A8
P2.1/A9
P2.2/A10
P2.3/A11
P2.4/A12
Pin
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
22
Function
P2.5/A13
P2.6/A14
P2.7/A15
PSEN
ALE/PROG
NC*
EA/V
PP
P0.7/AD7
P0.6/AD6
P0.5/AD5
P0.4/AD4
P0.3/AD3
P0.2/AD2
P0.1/AD1
P0.0/AD0
V
CC
NC*
P1.0
P1.1
P1.2
P.13
P1.4
Pin
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Function
NC*
P1.0
P1.1
P1.2
P1.3
P1.4
P1.5
P1.6/SCL
P1.7/SDA
RST
P3.0/RxD
NC8
P3.1/TxD
P3.2/INT0
P3.3/INT1
P3.4/T0
P3.5/T1
P3.6/WR
P3.7/RD
XTAL2
XTAL1
V
SS
Pin
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
* DO NOT CONNECT
SU00260
* DO NOT CONNECT
SU00261
LOGIC SYMBOL
V
CC
V
SS
ADDRESS AND
DATA BUS
SCL
SDA
RxD
TxD
INT0
INT1
T0
T1
WR
RD
ADDRESS BUS
RST
PORT 0
PORT 2
PORT 1
XTAL1
XTAL2
V
PP
/EA
PSEN
PROG/ALE
ALTERNATE
FUNCTIONS
PORT 3
SU00262
1996 Aug 16
3
Philips Semiconductors
Product specification
CMOS single-chip 8-bit microcontroller
87C654
ORDERING INFORMATION
PHILIPS PART
ORDER NUMBER
PART MARKING
ROMless
P80C652FBP
ROM
P83C654FBP/xxx
PHILIPS NORTH AMERICA
PART ORDER NUMBER
ROMless
S80C652FBPN
ROM
S83C654FBPN
Drawing
Number
SOT129-1
TEMPERATURE
RANGE
°C
AND PACKAGE
0 to +70, Plastic Dual In-line Package
0 to +70, Ceramic Dual In-line Package
w/Window
P80C652FBA
P83C654FBA/xxx
S80C652FBAA
S83C654FBAA
SOT187-2
0 to +70, Plastic Leaded Chip Carrier
FREQ
MHz
16
16
16
P80C652FBB
P80C652FFP
P83C654FBB/xxx
P83C654FFP/xxx
S80C652FBBB
S80C652FFPN
S83C654FBBB
S83C654FFPN
SOT307-2
4
SOT129-1
0 to +70, Plastic Quad Flat Pack
–40 to +85, Plastic Dual In-line Package
16
16
P80C652FFA
P80C652FFB
P80C652FHP
P80C652FHA
P80C652FHB
P83C654FFA/xxx
P83C654FFB/xxx
P83C654FHP/xxx
P83C654FHA/xxx
P83C654FHB/xxx
S80C652FFAA
S80C652FFBB
S80C652FHPN
S80C652FHAA
S80C652FHBB
S83C654FFAA
S83C654FFBB
S83C654FHPN
S83C654FHAA
S83C654FHBB
SOT187-2
SOT307-2
4
SOT129-1
SOT187-2
SOT307-2
4
–40 to +85, Plastic Leaded Chip Carrier
–40 to +85, Plastic Quad Flat Pack
–40 to +125, Plastic Dual In-line Package
–40 to +125, Plastic Leaded Chip Carrier
–40 to +125, Plastic Quad Flat Pack
16
16
16
16
16
P80C652IBP
P80C652IBA
P80C652IBB
P80C652IFP
P80C652IFA
P83C654IBP/xxx
P83C654IBA/xxx
P83C654IBB/xxx
P83C654IFP/xxx
P83C654IFA/xxx
S80C652IBPN
S80C652IBAA
S80C652IBBB
S80C652IFPN
S80C652IFAA
S83C654IBPN
S83C654IBAA
S83C654IBBB
S83C654IFPN
S83C654IFAA
SOT129-1
SOT187-2
SOT307-2
4
SOT129-1
SOT187-2
SOT307-2
4
0 to +70, Plastic Dual In-line Package
0 to +70, Plastic Leaded Chip Carrier
0 to +70, Plastic Quad Flat Pack
–40 to +85, Plastic Dual In-line Package
–40 to +85, Plastic Leaded Chip Carrier
–40 to +85, Plastic Quad Flat Pack
24
24
24
24
24
24
P80C652IFB
P83C654IFB/xxx
S80C652IFBB
S83C654IFBB
NOTES:
1. For full specification, see the 87C652 data sheet.
2. 87C654 frequency range is 3.5MHz – 16MHz or 3.5MHz – 24MHz.
3. xxx denotes the ROM code number.
4. SOT311 replaced by SOT307-2.
1996 Aug 16
4
Philips Semiconductors
Product specification
CMOS single-chip 8-bit microcontroller
87C654
TEMPERATURE
RANGE
°C
EPROM
S87C654-4N40
S87C654-4F40
S87C654-4A44
S87C654-4K44
S87C654–4B44
S87C654-5N40
S87C654-5F40
S87C654-5A44
S87C654-5B44
Drawing
Number
SOT129-1
0590B
SOT187-2
1472A
SOT307-2
SOT129-1
0590B
SOT187-2
SOT307-2
AND PACKAGE
0 to +70, Plastic Dual In-line Package
0 to +70, Ceramic Dual In-line Package
w/Window
0 to +70, Plastic Leaded Chip Carrier
0 to +70, Ceramic Leaded Chip Carrier
w/Window
0 to +70, Plastic Quad Flat Pack
–40 to +85, Plastic Dual In-line Package
–40 to +85, Ceramic Dual In-line Package
w/Window
–40 to +85, Plastic Leaded Chip Carrier
–40 to +85, Plastic Quad Flat Pack
FREQ
MHz
16
16
16
16
16
16
16
16
16
S87C654–7N40
S87C654–7F40
S87C654–7A44
S87C654–7K44
SOT129-1
0590B
SOT187-2
1472A
0 to +70, Plastic Dual In-line Package
0 to +70, Ceramic Dual In-line Package
w/Window
0 to +70, Plastic Leaded Chip Carrier
0 to +70, Ceramic Leaded Chip Carrier
w/Window
20
20
20
20
S87C654–8N40
S87C654–8F40
S87C654–8A44
SOT129-1
0590B
SOT187-2
–40 to +85, Plastic Dual In-line Package
–40 to +85, Ceramic Dual In-line Package
w/Window
–40 to +85, Plastic Leaded Chip Carrier
20
20
20
1996 Aug 16
5