INTEGRATED CIRCUITS
80CL31/80CL51
Low-voltage single-chip
8-bit microcontrollers
Product specification
IC20 Data Handbook
1995 January
Philips
Semiconductors
Philips Semiconductors
Product specification
Low-voltage single-chip 8-bit microcontrollers
80CL31/80CL51
FEATURES
•
•
•
•
•
•
•
•
•
•
•
Full static 80C51 CPU
8-bit CPU, ROM, RAM, 1/0 in a single 40-lead DIL / mini-pack
4K x 8 ROM, expandable externally to 64K bytes
128 bytes RAM, expandable externally to 64K bytes
Four 8-bit ports, 321/0 lines
Two 16-bit timer / event counters
External memory expandable up to 128K, external ROM up to
64K and / or RAM up to 64K
On-chip oscillator suitable for RC, LC, quartz crystal or ceramic
resonator
Thirteen source, thirteen vector interrupt structure with two priority
levels
Full duplex serial port (UART)
Enhanced architecture with:
–
non-page oriented instructions
–
direct addressing
–
four eight byte RAM register banks
–
stack depth up to 128 bytes
–
multiply, divide, subtract and compare instructions
•
•
•
•
•
Wake-up via external interrupts at Port 1
Single supply voltage of 1.8V to 6.0V (5.0V
±10%
for P80C51)
Frequency range of 0 to 16MHz (3.5MHz to 16MHz for P80C51)
Very low current consumption
Operating temperature range: -40 to +85
o
C
DESCRIPTION
The 80CL51 is manufactured in an advanced CMOS technology.
The instruction set of the 80CL51 is based on that of the 8051. The
80CL51 is a general purpose microcontroller especially suited for
battery-powered applications. The device has low power
consumption and a wide range of supply voltage. For emulation
purposes, the 85CL000 (Piggy-back version) with 256 bytes of RAM
is recommended. The 80CL51 has two software selectable modes
of reduced activity for further power reduction: Idle and Power-down.
The 80CL51 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, 46 two-byte, and 16 three-byte.
The P80CL31 is the ROMless version of the P80CL51. P80C51 is a
5V version of the low voltage P80CL51.
The P80CL31 is the ROMless version of the P80CL51. P80C51 is a
5V version of the low voltage P80CL51.
•
Power-Down and IDLE instructions
PIN CONFIGURATIONS
INT2/P1.0
INT3/P1.1
INT4/P1.2
INT5/P1.3
INT6/P1.4
INT7/P1.5
INT8/P1.6
INT9/P1.7
RST
1
2
3
4
5
6
7
8
9
PLASTIC
DUAL
IN-LINE
AND
SMALL
OUTLINE
PACKAGES
40 V
DD
39 P0.0/AD0
P1.4/INT6
P1.3/INT5
P1.2/INT4
P1.1/INT3
P0.1/AD1
P0.2/AD2
VDD
P0.0/AD0
P0.3/AD3
33
32
31
30
29
PLASTIC QUAD FLAT PACKAGE
28
27
26
25
24
23
12 13 14 15 16 17 18 19 20 21 22
NC
P2.0/A8
V SS
P2.2/A10
P2.3/A11
P3.6/WR
P2.1/A9
P2.4/A12
XTAL2
P3.7/RD
XTAL1
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
30 ALE
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
P1.5/INT7
P1.6/INT8
P1.7/INT9
RST
P3.0/RXD
NC
P3.1/TXD
P3.2/INT0
P3.3/INT1
P3.4/T0
P3.5/T1
1
2
3
4
5
6
7
8
9
10
11
P0.4/AD4
P0.5/AD5
P0.6/AD6
P0.7/AD7
EA
NC
ALE
PSEN
P2.7/A15
P2.6/A14
P2.5/A13
P1.0/INT2
44 43 42 41 40 39 38 37 36 35 34
RXD/DATA/P3.0 10
TXD/CLOCK/P3.1
INT0/P3.2
INT1/P3.3
T0/P3.4
T1/P3.5
WR/P3.6
11
12
13
14
15
16
RD/P3.7 17
XTAL2
XTAL1
V
SS
18
19
20
January 1995
2
NC
Philips Semiconductors
Product specification
Low-voltage single-chip 8-bit microcontrollers
80CL31/80CL51
ORDERING INFORMATION
PHILIPS PART ORDER
NUMBER PART MARKING
ROMless
P80CL31HFP
ROM
P80CL51HFP
PHILIPS NORTH AMERICA
1
PART ORDER NUMBER
ROMless
P80CL31HFP N
ROM
P80CL51HFP N
TEMPERATURE RANGE
o
C
AND PACKAGE
–40 to +85;
40-lead Plastic Dual In-line Package (1.8V to 6V)
–40 to +85;
40-lead Plastic Small Outline Package (1.8V to 6V)
–40 to +85;
44-lead Plastic Quad Flat Package (1.8V to 6V)
–40 to +85;
40-lead Plastic Dual In-line Package (5.0V
±10%)
–40 to +85;
40-lead Plastic Small Outline Package (5.0V
±10%)
–40 to +85;
44-lead Plastic Quad Flat Package (5.0V
±10%)
DRAWING
NUMBER
SOT129-1
P80CL31HFT
P80CL31HFH
P80CL51HFT
P80CL31HFT D
P80CL51HFT D
SOT158-1
P80CL51HFH
P80CL31HFH B
P80CL51HFH B
SOT307-2
P80C51HFP
P80C51HFP N
SOT129-1
P80C51HFT
P80C51HFT D
SOT158-1
P80C51HFH
P80C51HFH B
SOT307-2
NOTE:
1. Parts ordered by the Philips North America part number will be marked with the Philips part marking.
January 1995
3
Philips Semiconductors
Product specification
Low-voltage single-chip 8-bit microcontrollers
80CL31/80CL51
PIN DESCRIPTIONS
PIN
DESIGNATION
QFP
40
41
42
43
44
1
2
3
4
5–13
DIP
1
2
3
4
5
6
7
8
9
10-17
P1.O/INT2
P1.1/lNT3
P1.2/lNT4
P1.3/INT5
P1.4/lNT6
P1.5/lNT7
P1.6/lNT8
P1.7/lNT9
RST
Port 1:
Port 1 is an 8-bit bidirectional I/O port with internal pullups. Port 1 pins that have 1s written
to them are pulled HIGH by the internal pullups and in that state can be used as inputs The Port 1
pullups,
inputs.
output buffer can sink/source 4 LS TTL loads As inputs Port 1 pins that are externally pulled LOW
loads.
inputs,
will source current (I
lL
in the characteristics) due to the internal pullups. Port 1 also serves the
pullups
alternative functions INT2 to INT9.
INT9
FUNCTION
Reset:
A high level on this pin for two machine cycles while the oscillator is running resets the
device.
Port 3:
Port 3 is an 8-bit bidirectional I/O port with internal pull-ups. The Port 3 output buffers can
sink/source 4 LS TTL inputs. Port 3 pins that have 1s written to them are pulled HIGH by the
internal pull ups, and in that state can be used as inputs. As inputs, Port 3 pins that are externally
pulled LOW will source current (I
lL
in the characteristics) due to the internal pull ups.
RXD/data:
Serial port receiver data input (asynchronous)or data input/output (synchronous)
TXD/clock:
Serial port transmitter data output (asynchronous) or clock output (synchronous)
INT0:
External interrupt 0.
INT1:
External interrupt 1.
T0:
Timer 0 external input.
T1:
Timer 1 external input.
WR:
External data memory write strobe.
RD:
External data memory read strobe.
Crystal output:
Output of the inverting amplifier of the oscillator. Left open when external clock is
used.
Crystal input:
Input to the inverting amplifier of the oscillator; also the input for an externally gen-
erated clock source.
5
7
8
9
10
11
12
13
14
10
11
12
13
14
15
16
17
18
P3.0/RXD/data
P3.1/TXD/clock
P3.2/lNT0
P3.3/lNT1
P3.4/T0
P3.5/T1
P3.6/WR
P3.7/RD
XTAL2
15
16
18-25
19
20
21-28
XTAL1
Vss
P2.0-P2.7
Crystal input:
Input to the inverting amplifier of the oscillator; also the input for an externally
generated clock source.
Ground:
Circuit ground potential.
Port 2:
Port 2 is an 8-bit bidirectional 1/0 port with internal pullups. Port 2 pins that have 1s written
to them are pulled HIGH by the internal pullups, and in that state can be used as inputs. The Port 2
output buffer can sink/source 4 LS TTL loads.
Port 2 emits the high-order address byte during accesses to external memory that use 1 6-bit ad-
dresses (MOVX @DPTR). In this application it uses the strong internal pullups when emitting 1s.
During accesses to external memory that use 8-bit addresses (MOVX @Ri), Port 2 emits the con-
tents of the P2 Special Function Register.
26
29
PSEN
Program store enable output:
Read strobe to external program memory. When executing code
out of external program memory, PSEN is activated twice each machine cycle. However, during
each access to external data memory two PSEN activations are skipped.
Address Latch Enable:
Output pulse for latching the low byte of the address during access to
external memory. ALE is emitted at a constant rate of 1/6 of the oscillator frequency, and may be
used for external timing or clocking purposes.
External Access:
When EA is held High the CPU executes out of internal program memory (un-
less the program counter exceeds 0FFFH). Holding EA LOW forces the CPU to execute out of
external memory regardless of the value of the program counter.
Port 0:
Port 0 is an 8-bit open drain bidirectional I/O port. As an open drain output port it can sink 8
LS TTL loads. Port 0 pins that have 1s written to them float, and in that state will function as high
impedance inputs. Port 0 is also the multiplexed low order address and data bus during access to
external memory. In this application it uses strong internal pull-ups when emitting logic 1s.
Power supply.
27
30
ALE
29
31
EA
30-37
32-39
P0.0-P00.7
38
40
V
DD
January 1995
4
Philips Semiconductors
Product specification
Low-voltage single-chip 8-bit microcontrollers
80CL31/80CL51
BLOCK DIAGRAM
FREQUENNCY REFERENCE
XTAL2 XTAL1
COUNTER
1
T0
T1
OSCILLATOR
AND TIMING
PROGRAM
MEMORY
(4K BY 8 ROM)
DATA MEMORY
(128 BY 8 RAM)
TWO 16-BIT TIMER/
EVENT COUNTERS
80CL51
CPU
10
3
64K BYTE BUS
EXPANSION
CONTROL
INTERNAL
INTERRUPTS
PROGRAMMABLE
I/O
PROGRAMMABLE
SERIAL PORT,
FULL DUPLEX UART,
SYNCHRONOUS
SHIFT
EXTERNAL ENTERRUPTS
1
CONTROL
PARALLEL PORTS
ADDRESS/DATA BUS
I/O PINS
RXD
(1)
TXD
1. Pins shared with parallels ports pins.
FUNCTIONAL DIAGRAM
V
SS
V
DD
RST
XTAL1
XTAL2
PORT 0
ADDRESS AND
DATA BUS
EA
PSEN
ALTERNATIVE
FUNCTIONS
RxD/data
TxD/clock
INT0
INT1
T0
T1
WR
RD
PORT 3
ALE
PORT 1
INT2/INT9
PORT 2
ADDRESS BUS
January 1995
5