background image
Philips
Semiconductors
8XC54/58
8XC51FA/FB/FC/80C51FA
8XC51RA+/RB+/RC+/RD+/80C51RA +
80C51 8-bit microcontroller family
8K–64K/256–1K OTP/ROM/ROMless,
low voltage (2.7V–5.5V), low power, high speed (33 MHz)
Product specification
Replaces datasheet 8XC52/54/58/80C32
8XC51FA/FB/FC/80C51FA
8XC51RA+/RB+/RC+/RD+/80C51RA + of 1999 Apr 01
2000 Aug 07
INTEGRATED CIRCUITS
background image
Philips Semiconductors
Product specification
8XC54/58
8XC51FA/FB/FC/80C51FA
8XC51RA+/RB+/RC+/RD+/80C51RA+
80C51 8-bit microcontroller family
8K–64K/256–1K OTP/ROM/ROMless, low voltage (2.7V–5.5V),
low power, high speed (33 MHz)
2
2000 Aug 07
853-2068 24292
DESCRIPTION
Three different Single-Chip 8-Bit Microcontroller families are
presented in this datasheet:
8XC54/8XC58
80C51FA/8XC51FA/8XC51FB/8XC51FC
80C51RA+/8XC51RA+/8XC51RB+/8XC51RC+/8XC51RD+
For applications requiring 4K ROM/EPROM, see the 8XC51/80C31
8-bit CMOS (low voltage, low power, and high speed)
microcontroller families datasheet.
All the families are Single-Chip 8-Bit Microcontrollers manufactured
in advanced CMOS process and are derivatives of the 80C51
microcontroller family. All the devices have the same instruction set
as the 80C51.
These devices provide architectural enhancements that make them
applicable in a variety of applications for general control systems.
ROM/EPROM
Memory Size
(X by 8)
RAM Size
(X by 8)
Programmable
Timer Counter
(PCA)
Hardware
Watch Dog
Timer
80C31/8XC51
0K/4K
128
No
No
8XC54/58
0K/8K/16K/32K
256
No
No
80C51FA/8XC51FA/FB/FC
0K/8K/16K/32K
256
Yes
No
80C51RA+/8XC51RA+/RB+/RC+
0K/8K/16K/32K
512
Yes
Yes
8XC51RD+
64K
1024
Yes
Yes
The ROMless devices, 80C51FA, and 80C51RA+ can address up to
64K of external memory. All the devices have four 8-bit I/O ports,
three 16-bit timer/event counters, a multi-source, four-priority-level,
nested interrupt structure, an enhanced UART and on-chip oscillator
and timing circuits. For systems that require extra memory capability
up to 64k bytes, each can be expanded using standard
TTL-compatible memories and logic.
Its added features make it an even more powerful microcontroller for
applications that require pulse width modulation, high-speed I/O and
up/down counting capabilities such as motor control. It also has a
more versatile serial channel that facilitates multiprocessor
communications.
FEATURES
80C51 Central Processing Unit
Speed up to 33 MHz
Full static operation
Operating voltage range:
2.7 V to 5.5 V @ 16 MHz
Security bits:
ROM – 2 bits
OTP–EPROM – 3 bits
Encryption array – 64 bytes
RAM expandable to 64K bytes
4 level priority interrupt
6 or7 interrupt sources, depending on device
Four 8-bit I/O ports
Full-duplex enhanced UART
Framing error detection
Automatic address recognition
Power control modes
Clock can be stopped and resumed
Idle mode
Power down mode
Programmable clock out
Second DPTR register
Asynchronous port reset
Low EMI (inhibit ALE)
background image
Philips Semiconductors
Product specification
8XC54/58
8XC51FA/FB/FC/80C51FA
8XC51RA+/RB+/RC+/RD+/80C51RA+
80C51 8-bit microcontroller family
8K–64K/256–1K OTP/ROM/ROMless, low voltage (2.7V–5.5V),
low power, high speed (33 MHz)
2000 Aug 07
3
BLOCK DIAGRAM
PSEN
EAV
PP
ALE/PROG
RST
XTAL1
XTAL2
VCC
VSS
PORT 0
DRIVERS
PORT 2
DRIVERS
RAM ADDR
REGISTER
RAM
PORT 0
LATCH
PORT 2
LATCH
ROM/EPROM
REGISTER
B
ACC
STACK
POINTER
TMP2
TMP1
ALU
TIMING
AND
CONTROL
INSTRUCTION
REGISTER
PD
OSCILLATOR
PSW
PORT 1
LATCH
PORT 3
LATCH
PORT 1
DRIVERS
PORT 3
DRIVERS
PROGRAM
ADDRESS
REGISTER
BUFFER
PC
INCRE-
MENTER
PROGRAM
COUNTER
DPTR’S
MULTIPLE
P1.0–P1.7
P3.0–P3.7
P0.0–P0.7
P2.0–P2.7
SFRs
TIMERS
P.C.A. (FA & RA+ only)
SU00831B
8
8
16
background image
Philips Semiconductors
Product specification
8XC54/58
8XC51FA/FB/FC/80C51FA
8XC51RA+/RB+/RC+/RD+/80C51RA+
80C51 8-bit microcontroller family
8K–64K/256–1K OTP/ROM/ROMless, low voltage (2.7V–5.5V),
low power, high speed (33 MHz)
2000 Aug 07
4
LOGIC SYMBOL
POR
T
0
POR
T
1
POR
T
2
POR
T
3
ADDRESS AND
DATA BUS
ADDRESS BUS
T2
T2EX
RxD
TxD
INT0
INT1
T0
T1
WR
RD
SECONDAR
Y
FUNCTIONS
RST
EA/V
PP
PSEN
ALE/PROG
V
SS
V
CC
XTAL1
XTAL2
SU00830
PIN CONFIGURATIONS
DUAL IN-LINE PACKAGE PIN FUNCTIONS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
T2/P1.0
T2EX/P1.1
ECI/P1.2
CEX0/P1.3
CEX1/P1.4
CEX2/P1.5
CEX3/P1.6
RST
RxD/P3.0
TxD/P3.1
INT0/P3.2
INT1/P3.3
T0/P3.4
T1/P3.5
CEX4/P1.7
WR/P3.6
RD/P3.7
XTAL2
XTAL1
V
SS
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
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
DUAL
IN-LINE
PACKAGE
SU00021
PLASTIC LEADED CHIP CARRIER PIN FUNCTIONS
LCC
6
1
40
7
17
39
29
18
28
Pin
Function
1
NIC*
2
P1.0/T2
3
P1.1/T2EX
4
P1.2/ECI
5
P1.3/CEX0
6
P1.4/CEX1
7
P1.5/CEX2
8
P1.6/CEX3
9
P1.7/CEX4
10
RST
11
P3.0/RxD
12
NIC*
13
P3.1/TxD
14
P3.2/INT0
15
P3.3/INT1
Pin
Function
16
P3.4/T0
17
P3.5/T1
18
P3.6/WR
19
P3.7/RD
20
XTAL2
21
XTAL1
22
V
SS
23
NIC*
24
P2.0/A8
25
P2.1/A9
26
P2.2/A10
27
P2.3/A11
28
P2.4/A12
29
P2.5/A13
30
P2.6/A14
Pin
Function
31
P2.7/A15
32
PSEN
33
ALE/PROG
34
NIC*
35
EA/V
PP
36
P0.7/AD7
37
P0.6/AD6
38
P0.5/AD5
39
P0.4/AD4
40
P0.3/AD3
41
P0.2/AD2
42
P0.1/AD1
43
P0.0/AD0
44
V
CC
SU00023
* NO INTERNAL CONNECTION
PLASTIC QUAD FLAT PACK
PIN FUNCTIONS
PQFP
44
34
1
11
33
23
12
22
Pin
Function
1
P1.5/CEX2
2
P1.6/CEX3
3
P1.7/CEX4
4
RST
5
P3.0/RxD
6
NIC*
7
P3.1/TxD
8
P3.2/INT0
9
P3.3/INT1
10
P3.4/T0
11
P3.5/T1
12
P3.6/WR
13
P3.7/RD
14
XTAL2
15
XTAL1
Pin
Function
16
V
SS
17
NIC*
18
P2.0/A8
19
P2.1/A9
20
P2.2/A10
21
P2.3/A11
22
P2.4/A12
23
P2.5/A13
24
P2.6/A14
25
P2.7/A15
26
PSEN
27
ALE/PROG
28
NIC*
29
EA/V
PP
30
P0.7/AD7
Pin
Function
31
P0.6/AD6
32
P0.5/AD5
33
P0.4/AD4
34
P0.3/AD3
35
P0.2/AD2
36
P0.1/AD1
37
P0.0/AD0
38
V
CC
39
NIC*
40
P1.0/T2
41
P1.1/T2EX
42
P1.2/ECI
43
P1.3/CEX0
44
P1.4/CEX1
SU00024
* NO INTERNAL CONNECTION
background image
Philips Semiconductors
Product specification
8XC54/58
8XC51FA/FB/FC/80C51FA
8XC51RA+/RB+/RC+/RD+/80C51RA+
80C51 8-bit microcontroller family
8K–64K/256–1K OTP/ROM/ROMless, low voltage (2.7V–5.5V),
low power, high speed (33 MHz)
2000 Aug 07
5
PIN DESCRIPTIONS
PIN NUMBER
MNEMONIC
DIP
LCC
QFP
TYPE
NAME AND FUNCTION
V
SS
20
22
16
I
Ground: 0 V reference.
V
CC
40
44
38
I
Power Supply: This is the power supply voltage for normal, idle, and power-down operation.
P0.0–0.7
39–32
43–36
37–30
I/O
Port 0: Port 0 is an open-drain, bidirectional I/O port. Port 0 pins that have 1s written to
them float and can be used as high-impedance inputs. Port 0 is also the multiplexed
low-order address and data bus during accesses to external program and data memory. In
this application, it uses strong internal pull-ups when emitting 1s. Port 0 also outputs the
code bytes during program verification and received code bytes during EPROM
programming. External pull-ups are required during program verification.
P1.0–P1.7
1–8
2–9
40–44,
1–3
I/O
Port 1: Port 1 is an 8-bit bidirectional I/O port with internal pull-ups. Port 1 pins that have 1s
written to them are pulled high by the internal pull-ups and can be used as inputs. As inputs,
port 1 pins that are externally pulled low will source current because of the internal pull-ups.
(See DC Electrical Characteristics: I
IL
). Port 1 also receives the low-order address byte
during program memory verification.
Alternate functions for 8XC51FX and 8XC51RX+ Port 1 include:
1
2
40
I/O
T2 (P1.0): Timer/Counter 2 external count input/Clockout (see Programmable Clock-Out)
2
3
41
I
T2EX (P1.1): Timer/Counter 2 Reload/Capture/Direction Control
3
4
42
I
ECI (P1.2): External Clock Input to the PCA
4
5
43
I/O
CEX0 (P1.3): Capture/Compare External I/O for PCA module 0
5
6
44
I/O
CEX1 (P1.4): Capture/Compare External I/O for PCA module 1
6
7
1
I/O
CEX2 (P1.5): Capture/Compare External I/O for PCA module 2
7
8
2
I/O
CEX3 (P1.6): Capture/Compare External I/O for PCA module 3
8
9
3
I/O
CEX4 (P1.7): Capture/Compare External I/O for PCA module 4
P2.0–P2.7
21–28
24–31
18–25
I/O
Port 2: Port 2 is an 8-bit bidirectional I/O port with internal pull-ups. Port 2 pins that have 1s
written to them are pulled high by the internal pull-ups and can be used as inputs. As inputs,
port 2 pins that are externally being pulled low will source current because of the internal
pull-ups. (See DC Electrical Characteristics: I
IL
). Port 2 emits the high-order address byte
during fetches from external program memory and during accesses to external data memory
that use 16-bit addresses (MOVX @DPTR). In this application, it uses strong internal
pull-ups when emitting 1s. During accesses to external data memory that use 8-bit addresses
(MOV @Ri), port 2 emits the contents of the P2 special function register. Some Port 2 pins
receive the high order address bits during EPROM programming and verification.
P3.0–P3.7
10–17
11,
13–19
5,
7–13
I/O
Port 3: Port 3 is an 8-bit bidirectional I/O port with internal pull-ups. Port 3 pins that have 1s
written to them are pulled high by the internal pull-ups and can be used as inputs. As inputs,
port 3 pins that are externally being pulled low will source current because of the pull-ups.
(See DC Electrical Characteristics: I
IL
). Port 3 also serves the special features of the 80C51
family, as listed below:
10
11
5
I
RxD (P3.0): Serial input port
11
13
7
O
TxD (P3.1): Serial output port
12
14
8
I
INT0 (P3.2): External interrupt
13
15
9
I
INT1 (P3.3): External interrupt
14
16
10
I
T0 (P3.4): Timer 0 external input
15
17
11
I
T1 (P3.5): Timer 1 external input
16
18
12
O
WR (P3.6): External data memory write strobe
17
19
13
O
RD (P3.7): External data memory read strobe
RST
9
10
4
I
Reset: A high on this pin for two machine cycles while the oscillator is running, resets the
device. An internal diffused resistor to V
SS
permits a power-on reset using only an external
capacitor to V
CC
.
ALE/PROG
30
33
27
O
Address Latch Enable/Program Pulse: Output pulse for latching the low byte of the
address during an access to external memory. In normal operation, ALE is emitted at a
constant rate of 1/6 the oscillator frequency, and can be used for external timing or clocking.
Note that one ALE pulse is skipped during each access to external data memory. This pin is
also the program pulse input (PROG) during EPROM programming. ALE can be disabled by
setting SFR auxiliary.0. With this bit set, ALE will be active only during a MOVX instruction.
background image
Philips Semiconductors
Product specification
8XC54/58
8XC51FA/FB/FC/80C51FA
8XC51RA+/RB+/RC+/RD+/80C51RA+
80C51 8-bit microcontroller family
8K–64K/256–1K OTP/ROM/ROMless, low voltage (2.7V–5.5V),
low power, high speed (33 MHz)
2000 Aug 07
6
PIN DESCRIPTIONS (Continued)
PIN NUMBER
MNEMONIC
DIP
LCC
QFP
TYPE
NAME AND FUNCTION
PSEN
29
32
26
O
Program Store Enable: The read strobe to external program memory. When executing
code from the external program memory, PSEN is activated twice each machine cycle,
except that two PSEN activations are skipped during each access to external data memory.
PSEN is not activated during fetches from internal program memory.
EA/V
PP
31
35
29
I
External Access Enable/Programming Supply Voltage: EA must be externally held low
to enable the device to fetch code from external program memory locations starting with
0000H. If EA is held high, the device executes from internal program memory unless the
program counter contains an address greater than 8k Devices (IFFFH), 16k Devices
(3FFFH) or 32k Devices (7FFFH). Since the RD+ has 64k Internal Memory, the RD+ will
execute only from internal memory when EA is held high. This pin also receives the 12.75 V
programming supply voltage (V
PP
) during EPROM programming. If security bit 1 is
programmed, EA will be internally latched on Reset.
XTAL1
19
21
15
I
Crystal 1: Input to the inverting oscillator amplifier and input to the internal clock generator
circuits.
XTAL2
18
20
14
O
Crystal 2: Output from the inverting oscillator amplifier.
NOTE:
To avoid “latch-up” effect at power-on, the voltage on any pin at any time must not be higher than V
CC
+ 0.5 V or V
SS
– 0.5 V, respectively.
background image
Philips Semiconductors
Product specification
8XC54/58
8XC51FA/FB/FC/80C51FA
8XC51RA+/RB+/RC+/RD+/80C51RA+
80C51 8-bit microcontroller family
8K–64K/256–1K OTP/ROM/ROMless, low voltage (2.7V–5.5V),
low power, high speed (33 MHz)
2000 Aug 07
7
8XC54/58 ORDERING INFORMATION
MEMORY SIZE
16K
×
8
MEMORY SIZE
32K
×
8
TEMPERATURE RANGE
°
C
AND PACKAGE
VOLTAGE
RANGE
FREQ.
(MHz)
DWG.
#
ROM
P80C54SBPN
P80C58SBPN
0 to +70 Plastic Dual In line Package
2.7 V to
0 to 16
SOT129 1
OTP
P87C54SBPN
P87C58SBPN
0 to +70, Plastic Dual In-line Package
5.5 V
0 to 16
SOT129-1
ROM
P80C54SBAA
P80C58SBAA
0 to +70 Plastic Leaded Chip Carrier
2.7 V to
0 to 16
SOT187 2
OTP
P87C54SBAA
P87C58SBAA
0 to +70, Plastic Leaded Chip Carrier
5.5 V
0 to 16
SOT187-2
ROM
P80C54SBBB
P80C58SBBB
0 to +70 Plastic Quad Flat Pack
2.7 V to
0 to 16
SOT307 2
OTP
P87C54SBBB
P87C58SBBB
0 to +70, Plastic Quad Flat Pack
5.5 V
0 to 16
SOT307-2
ROM
P80C54SFP N
P80C58SFP N
40 to +85 Plastic Dual In line Package
2.7 V to
0 to 16
SOT129 1
OTP
P87C54SFP N
P87C58SFP N
–40 to +85, Plastic Dual In-line Package
5.5 V
0 to 16
SOT129-1
ROM
P80C54SFA A
P80C58SFA A
40 to +85 Plastic Leaded Chip Carrier
2.7 V to
0 to 16
SOT187 2
OTP
P87C54SFA A
P87C58SFA A
–40 to +85, Plastic Leaded Chip Carrier
5.5 V
0 to 16
SOT187-2
ROM
P80C54SFB B
P80C58SFB B
40 to +85 Plastic Quad Flat Pack
2.7 V to
0 to 16
SOT307 2
OTP
P87C54SFB B
P87C58SFB B
–40 to +85, Plastic Quad Flat Pack
5.5 V
0 to 16
SOT307-2
ROM
P80C54UBAA
P80C58UBAA
0 to +70 Plastic Leaded Chip Carrier
5 V
0 to 33
SOT187 2
OTP
P87C54UBAA
P87C58UBAA
0 to +70, Plastic Leaded Chip Carrier
5 V
0 to 33
SOT187-2
ROM
P80C54UBPN
P80C58UBPN
0 to +70 Plastic Dual In line Package
5 V
0 to 33
SOT129 1
OTP
P87C54UBPN
P87C58UBPN
0 to +70, Plastic Dual In-line Package
5 V
0 to 33
SOT129-1
ROM
P80C54UBBB
P80C58UBBB
0 to +70 Plastic Quad Flat Pack
5 V
0 to 33
SOT307 2
OTP
P87C54UBBB
P87C58UBBB
0 to +70, Plastic Quad Flat Pack
5 V
0 to 33
SOT307-2
ROM
P80C54UFA A
P80C58UFA A
40 to +85 Plastic Leaded Chip Carrier
5 V
0 to 33
SOT187 2
OTP
P87C54UFA A
P87C58UFA A
–40 to +85, Plastic Leaded Chip Carrier
5 V
0 to 33
SOT187-2
ROM
P80C54UFPN
P80C58UFPN
40 to +85 Plastic Dual In line Package
5 V
0 to 33
SOT129 1
OTP
P87C54UFPN
P87C58UFPN
–40 to +85, Plastic Dual In-line Package
5 V
0 to 33
SOT129-1
ROM
P80C54UFBB
P80C58UFBB
40 to +85 Plastic Quad Flat Pack
5 V
0 to 33
SOT307 2
OTP
P87C54UFBB
P87C58UFBB
–40 to +85, Plastic Quad Flat Pack
5 V
0 to 33
SOT307-2
Note: For Multi Time Programmable devices, See P89C51RX+
Flash datasheet.
background image
80C51 8-bit microcontroller family
Philips Semiconductors
Product specification
8XC54/58
8XC51F
A/FB/FC/80C51F
A
8XC51RA+/RB+/RC+/RD+/80C51RA+
8K–64K/256–1K OTP/ROM/ROMless, low voltage (2.7V–5.5V),
low power
, high speed (33MHz)
8
2000 Aug
07
8XC51FA/FB/FC AND 80C51FA ORDERING INFORMATION
MEMORY SIZE
8K
×
8
MEMORY SIZE
16K
×
8
MEMORY SIZE
32K
×
8
ROMless
TEMPERATURE RANGE
°
C
AND PACKAGE
VOLTAGE
RANGE
FREQ.
(MHz)
DWG.
#
ROM
P83C51FA–4N
P83C51FB–4N
P83C51FC–4N
P80C51FA 4N
0 to +70 40 Pin Plastic Dual In line Pkg
2 7V to 5 5V
0 to 16
SOT129 1
OTP
P87C51FA–4N
P87C51FB–4N
P87C51FC–4N
P80C51FA–4N
0 to +70, 40-Pin Plastic Dual In-line Pkg.
2.7V to 5.5V
0 to 16
SOT129-1
ROM
P83C51FA–4A
P83C51FB–4A
P83C51FC–4A
P80C51FA 4A
0 to +70 44 Pin Plastic Leaded Chip Carrier
2 7V to 5 5V
0 to 16
SOT187 2
OTP
P87C51FA–4A
P87C51FB–4A
P87C51FC–4A
P80C51FA–4A
0 to +70, 44-Pin Plastic Leaded Chip Carrier
2.7V to 5.5V
0 to 16
SOT187-2
ROM
P83C51FA–4B
P83C51FB–4B
P83C51FC–4B
P80C51FA 4B
0 to +70 44 Pin Plastic Quad Flat Pack
2 7V to 5 5V
0 to 16
SOT307 2
OTP
P87C51FA–4B
P87C51FB–4B
P87C51FC–4B
P80C51FA–4B
0 to +70, 44-Pin Plastic Quad Flat Pack
2.7V to 5.5V
0 to 16
SOT307-2
ROM
P83C51FA–5N
P83C51FB–5N
P83C51FC–5N
P80C51FA 5N
40 to +85 40 Pin Plastic Dual In line Pkg
2 7V to 5 5V
0 to 16
SOT129 1
OTP
P87C51FA–5N
P87C51FB–5N
P87C51FC–5N
P80C51FA–5N
–40 to +85, 40-Pin Plastic Dual In-line Pkg.
2.7V to 5.5V
0 to 16
SOT129-1
ROM
P83C51FA–5A
P83C51FB–5A
P83C51FC–5A
P80C51FA 5A
40 to +85 44 Pin Plastic Leaded Chip Carrier
2 7V to 5 5V
0 to 16
SOT187 2
OTP
P87C51FA–5A
P87C51FB–5A
P87C51FC–5A
P80C51FA–5A