Philips p83cl781 DATASHEETS

INTEGRATED CIRCUITS
DATA SH EET
P83CL781; P83CL782
Low voltage 8-bit microcontrollers
Product specification File under Integrated Circuits, IC20
1995 Jul 13
Philips Semiconductors Product specification
Low voltage 8-bit microcontrollers P83CL781; P83CL782
CONTENTS
1 FEATURES 2 GENERAL DESCRIPTION 3 ORDERING INFORMATION 4 BLOCK DIAGRAM 5 PINNING INFORMATION
5.1 Pinning
5.2 Pin description 6 FUNCTIONAL DESCRIPTION
6.1 General
6.2 CPU timing
6.3 Memory organization
6.4 Addressing
6.5 I/O facilities
6.6 Timer/event counters
6.7 Idle and Power-down operation
6.8 I2C-bus serial I/O
6.9 Standard serial interface SIO0: UART
6.10 Baud rates
6.11 Interrupt system
6.12 Oscillator circuitry
6.13 Reset 7 INSTRUCTION SET
7.1 Instruction Map 8 LIMITING VALUES 9 DC CHARACTERISTICS 10 AC CHARACTERISTICS
10.1 Program memory
10.2 External data memory 11 PACKAGE OUTLINES 12 SOLDERING
12.1 Introduction
12.2 DIP
12.3 QFP 13 DEFINITIONS 14 LIFE SUPPORT APPLICATIONS 15 PURCHASE OF PHILIPS I2C COMPONENTS
1995 Jul 13 2
Philips Semiconductors Product specification
Low voltage 8-bit microcontrollers P83CL781; P83CL782
1 FEATURES
Full static 80C51 CPU
8-bit CPU, ROM, RAM, I/O in a 40 lead DIP or 44 lead
QFP package
16 kbytes ROM, expandable externally to 64 kbytes
256 bytes RAM, expandable externally to 64 kbytes
Four 8-bit ports, 32 I/O lines
Three 16-bit timer/event counters
External memory expandable up to 128 kbytes external
ROM up to 64 kbytes and/or RAM up to 64 kbytes
On-chip oscillator suitable for RC, LC, quartz crystal or ceramic resonator
Fifteen source, fifteen vector interrupt structure with two priority levels
Full duplex serial port (UART)
2
C-bus interface for serial transfer on two lines
I
Enhanced architecture with:
– non-page oriented instructions – direct addressing – four 8 byte RAM register banks – stack depth limited only by available internal RAM
(maximum 256 bytes)
– multiply, divide, subtract and compare instructions
Power-down and Idle modes
Wake-up via external interrupts at Port 1
Single supply voltage of 1.8 to 6.0 V
Frequency range of DC to 12 MHz
Very low current consumption
Operating temperature:
– 83CL781: 40 to +85 °C – 83CL782: 25 to +55 °C.
2 GENERAL DESCRIPTION
The term P83CL781 is used throughout this data sheet to refer to both the P83CL781 and P83CL782; differences between the devices are highlighted in the text.
The P83CL781 is manufactured in an advanced CMOS technology. The instruction set of the P83CL781 is based on that of the 8051. The P83CL781 is an 8-bit general purpose microcontroller especially suited for cordless telephone applications. The device has low power consumption and a wide range of supply voltage. For emulation purposes, the P85CL781 (Piggy-back version) with 256 bytes of RAM is recommended. The P83CL781 has two software selectable modes of reduced activity for further power reduction: Idle and Power-down. The P83CL781 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 P83CL782 is a faster version of the P83CL781 and operates at a maximum frequency of 12 MHz at
3.1 V.
V
DD
This data sheet details the specific properties of the P83CL781; for details of the P83CL781 core and all the I2C-bus functions see
“Data Handbook IC20”
. This handbook may be ordered using the code 9398 181 30011.
3 ORDERING INFORMATION
TYPE NUMBER
P83CL781HFP DIP40 plastic dual in-line package; 40 leads (600 mil) SOT129-1 P83CL782HDP P83CL781HFH QFP44 P83CL782HDH P83CL781HFH QFP44 P83CL781HDH
Note
1. When using IR reflow soldering it is recommended that the Dry Packing instructions in the
Pocketbook”
(order number 9398 510 34011) are followed.
1995 Jul 13 3
PACKAGE
NAME DESCRIPTION VERSION
(1)
plastic quad flat package; 44 leads (lead length 2.35 mm);
SOT205-1
body 14 × 14 ×2.2 mm
(1)
plastic quad flat package; 44 leads (lead length 1.3 mm);
SOT307-2
body 10 × 10 × 1.75 mm
“Quality Reference
Philips Semiconductors Product specification
Low voltage 8-bit microcontrollers P83CL781; P83CL782
4 BLOCK DIAGRAM
handbook, full pagewidth
XTAL1
XTAL2
EA
ALE
PSEN
WR
RD
RST
AD0 to 7
A8 to 15
T0 T1 INT0 INT1
3 3 3 3
16-BIT TIMER/ EVENT
COUNTERS
P83CL580
excluding
ROM/RAM
3
3
CPU
core
PROGRAM
MEMORY
16 kbyte
ROM
8-bit internal bus
P83CL781
DATA
MEMORY
256 byte
RAM
MLA601
V
DD
P83CL782
PARALLEL
0
2
I/O PORTS
AND
EXTERNAL
BUS
SERIAL
UART PORT
16-BIT TIMER/ EVENT
COUNTER
2
I C
INTERFACE
V
SS
RXDTXDP3P2P1P0
0
alternative function of Port 0
1
alternative functions of Port 1
2
alternative function of Port 2
3
alternative function of Port 3
Fig.1 Block diagram.
1995 Jul 13 4
33 1
T2
1
T2EX
1 1
SDASCL
Philips Semiconductors Product specification
Low voltage 8-bit microcontrollers P83CL781; P83CL782
5 PINNING INFORMATION
5.1 Pinning
P1.0/INT2/T2
P1.1/INT3/T2EX
P1.2/INT4 P1.3/INT5 P1.4/INT6 P1.5/INT7
P1.6/INT8/SCL
P1.7/INT9/SDA
RST
P3.0/RXD/data
P3.1/TXD/clock
P3.2/INT0
P3.3/INT1
P3.4/T0
P3.5/T1
P3.6/WR
P3.7/RD
XTAL2 XTAL1
V
SS
1 2 3 4 5 6 7 8
9 10 11 12 13 14 15 16
17 18 19 20
P83CL781 P83CL782
MLA603
40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21
V
DD
P0.0/AD0 P0.1/AD1 P0.2/AD2 P0.3/AD3 P0.4/AD4 P0.5/AD5 P0.6/AD6 P0.7/AD7 EA ALE PSEN P2.7/A15 P2.6/A14 P2.5/A13 P2.4/A12 P2.3/A11 P2.2/A10 P2.1/A9 P2.0/A8
1995 Jul 13 5
Fig.2 Pin configuration for DIP package.
Philips Semiconductors Product specification
Low voltage 8-bit microcontrollers P83CL781; P83CL782
handbook, full pagewidth
DD
n.c.
P1.0/INT2/T2
P1.3/INT5
P1.4/INT6 44
43
P1.1/INT3/T2EX
P1.2/INT4 42
41
40
P0.0/AD0
V
39
38
37
P0.2/AD2
P0.1/AD1 36
35
P0.3/AD3 34
P1.5/INT7
P1.6/INT8/SCL
P1.7/INT9/SDA
RST
P3.0/RXD/data
n.c.
P3.1/TXD/clock
P3.2/INT0 P3.3/INT1
P3.4/T0 P3.5/T1
1 2 3 4 5
14
XTAL2
P83CL781 P83CL782
15
16
SS
V
XTAL1
17
18
SS
TEST/V
19
P2.0/A8
P2.1/A9
20
21
P2.2/A10
P2.3/A11
6 7 8
9 10 11
12
13
P3.7/RD
P3.6/WR
22
P2.4/A12
33 32 31 30 29 28 27 26 25 24 23
MLA604
P0.4/AD4 P0.5/AD5 P0.6/AD6 P0.7/AD7 EA n.c. ALE PSEN P2.7/A15 P2.6/A14 P2.5/A13
1995 Jul 13 6
Fig.3 Pin configuration for QFP packages.
Philips Semiconductors Product specification
Low voltage 8-bit microcontrollers P83CL781; P83CL782
5.2 Pin description Table 1 QFP packages (SOT205 and SOT307)
SYMBOL PIN DESCRIPTION
P1.0/INT2/T2 40 Port 1: 8-bit bidirectional I/O port with alternative functions. Port pins that have logic 1s P1.1/INT3/T2EX 41 P1.2/INT4 42 P1.3/INT5 43 P1.4/INT6 44 P1.5/INT7 1 P1.6/INT8/SCL 2 P1.7/INT9//SDA 3 RST 4 Reset: A HIGH level on this pin for two machine cycles while the oscillator is running,
n.c. 6 Not connected. P3.0/RXD/data 5 Port 3: 8-bit bidirectional I/O port with alternative functions. Port pins that have logic 1s P3.1/TXD/clock 7 P3.2/INT0 8
INT1 9
P3.3/ P3.4/T0 10 P3.5/T1 11
WR 12
P3.6/
RD 13
P3.7/ XTAL2 14 Crystal Output: Output of the inverting amplifier that forms the oscillator. Left
XTAL1 15 Crystal Input: Input to the inverting amplifier that forms the oscillator, also the input for
V
SS
TEST/V
SS
P2.0/A8 18 Port 2: 8-bit bidirectional I/O port with alternative functions. Port pins that have logic 1s P2.1/A9 19 P2.2/A10 20 P2.3/A11 21 P2.4/A12 22 P2.5/A13 23 P2.6/A14 24 P2.7/A15 25
written to them are pulled HIGH by internal pull-ups, and in this state can be used as inputs. As inputs, Port 1 pins that are externally pulled LOW will source current (I to the internal pull-ups. Port 1 output buffers can sink/source 4 LS TTL loads. Port 1 also serves the alternative functions INT2 to INT9 and Timer T2 external input.
resets the device.
written to them are pulled HIGH by internal pull-ups, and in this state can be used as inputs. As inputs, port pins that are externally pulled LOW will source current (I the internal pull-ups. Port 3 output buffers can sink/source 4 LS TTL loads. RXD/data is the serial port receiver data input (asynchronous) or data I/O (synchronous). TXD/clock is the serial port transmitter data output (asynchronous) or clock output (synchronous). INT0 and INT1 are external interrupt lines. T0 and T1 are external inputs for Timer 0 and Timer 1 respectively. WR is the external memory write strobe and RD is the external memory read strobe.
open-circuit when an external oscillator clock is used.
an externally generated clock source. 16 Ground: Circuit ground potential. 17 Test Input: Must be connected to VSS or left open.
written to them are pulled HIGH by internal pull-ups, and in this state can be used as
inputs. Port 2 output buffers can sink/source 4 LS TTL loads. Port 2 emits the high order
address byte during accesses to external memory that use 16-bit addresses
(MOVX@DPTR). In this application it uses the strong internal pull-ups when emitting
logic 1's. During accesses to external memory that use 8-bit addresses (MOVX@Ri),
Port 2 emits the contents of the P2 Special Function Register.
) due
IL
) due to
IL
1995 Jul 13 7
Philips Semiconductors Product specification
Low voltage 8-bit microcontrollers P83CL781; P83CL782
SYMBOL PIN DESCRIPTION
PSEN 26 Program Store Enable: 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.
ALE 27 Address Latch Enable: Latches the low byte of the address during accesses to external
memory . It is activated every six oscillator periods and may be used for external timing or
clocking purposes.
n.c. 28 Not connected. EA 29 External Access: When EA is held HIGH, the CPU executes out of the internal program
memory (unless the Program Counter exceeds 3FFFH). When EA is held LOW, the CPU
executes out of external program memory regardless of the value of the program
counter.
P0.7/AD7 30 Port 0: 8-bit open drain bidirectional I/O port with alternative functions. P0.7 to P0.0 P0.6/AD6 31 P0.5/AD5 32 P0.4/AD4 33 P0.3/AD3 34 P0.2/AD2 35 P0.1/AD1 36 P0.0/AD0 37 V
DD
n.c. 39 Not connected.
provide the 8-bit I/O port. As an open-drain output port it can sink/source 8 LS TTL loads.
Port 0 pins that have logic 1s written to them float, and in this state will function as
high-impedance inputs. AD7 to AD0 provide the multiplexed low-order address and data
bus during accesses to external memory. In this application it uses the strong internal
pull-ups when emitting logic 1s.
38 Power supply
1995 Jul 13 8
Philips Semiconductors Product specification
Low voltage 8-bit microcontrollers P83CL781; P83CL782
6 FUNCTIONAL DESCRIPTION
6.1 General
The P83CL781 is a stand-alone high-performance CMOS microcontroller designed for use in real-time applications such as instrumentation, industrial control, intelligent computer peripherals and consumer products. The device provides hardware features, architectural enhancements and new instructions to function as a controller for applications requiring up to 64 kbytes of program memory and/or up to 64 kbytes of data storage.
The P83CL781 contains a non-volatile 16 kbyte read-only program memory; a static 256 byte read/write data memory; 32 I/O lines; three 16-bit timer/event counters; a fifteen-source two priority-level, nested interrupt structure and on-chip oscillator and timing circuit.
The device has two software selectable modes of reduced activity for power reduction; Idle and Power-down. The Idle mode freezes the CPU while allowing the RAM, timers, serial I/O and interrupt system to continue functioning. The Power-down mode saves the RAM contents but freezes the oscillator causing all other chip functions to be inoperative.
Two serial interfaces are provided on-chip; a standard UART serial interface and an I
2
C-bus serial interface. The I2C-bus serial interface has byte orientated master and slave functions allowing communication with the whole family of I2C-bus compatible devices.
6.2 CPU timing
A machine cycle consists of a sequence of 6 states. Each state lasts for two oscillator periods, thus a machine cycle takes 12 oscillator periods or 1 µs if the oscillator frequency is 12 MHz.
6.3 Memory organization
The P83CL781 has a 16 kbyte Program Memory (ROM) plus 256 bytes of Data Memory (RAM) on-chip. The device has separate address spaces for Program and Data Memory (see Fig.4). Using Ports P0 and P2, the P83CL781 can address up to 64 kbytes of external memory. The CPU generates both read (RD) and write (WR) signals for external Data Memory accesses, and the read strobe (PSEN) for external Program Memory.
6.3.1 P
ROGRAM MEMORY
The P83CL781 contains 16 kbytes of internal ROM. After reset the CPU begins execution at location 0000H. The lower 16 kbytes of Program Memory can be implemented in either on-chip ROM or external memory. If the EA pin is strapped to VDD, then program memory fetches from addresses 0000H through to 3FFFH are directed to the internal ROM. Fetches from addresses 4000H through to FFFFH are directed to external ROM. Program Counter values greater than 3FFFH are automatically addressed to external memory regardless of the state of the
6.3.2 D
ATA MEMORY
EA pin.
The P83CL781 contains 256 bytes of internal RAM and 34 Special Function Registers (SFRs). Figure 4 shows the internal Data Memory space divided into the lower 128 bytes the upper 128 bytes and the SFR space. Internal RAM locations 0 to 27 are directly and indirectly addressable. Internal RAM locations 128 to 255 are only indirectly addressable. The Special Function Register locations 128 to 255 bytes are only directly addressable.
6.3.3 S
PECIAL FUNCTION REGISTERS
The upper 128 bytes are the address locations of the Special Function Registers. Figures 6 and 7 show the Special Function Registers space. The SFRs include the port latches, timers, peripheral control, serial I/O registers, etc. These registers can only be accessed by direct addressing. There are 128 addressable locations in the SFR address space (SFRs with addresses divisible by eight).
6.4 Addressing
The P83CL781 has five methods for addressing source operands:
Register
Direct
Register-Indirect
Immediate
Base-Register plus Index-Register-Indirect.
1995 Jul 13 9
Philips Semiconductors Product specification
Low voltage 8-bit microcontrollers P83CL781; P83CL782
The first three methods can be used for addressing destination operands. Most instructions have a ‘destination/source’ field that specifies the data type, addressing methods and operands involved. For operations other than MOVs, the destination operand is also a source operand.
Access to memory addressing is as follows:
Registers in one of the four 8-register banks through
Register Direct or Register-Indirect
256 bytes of internal data RAM through Direct or
Register-Indirect
Special Function Registers through Direct
External data memory through Register-Indirect
Program memory look-up tables through Base-Register
plus Index-Register-Indirect.
handbook, full pagewidth
64 kbytes
The P83CL781 is classified as an 8-bit device since the internal ROM, RAM, Special Function Registers, Arithmetic Logic Unit and external data bus are all 8-bits wide. It performs operations on bit, nibble, byte and double-byte data types.
Facilities are available for byte transfer, logic and integer arithmetic operations. Data transfer, logic and conditional branch operations can be performed directly on Boolean variables to provide excellent bit handling.
16 kbytes
16 kbytes
INTERNAL
(EA = 1)
EXTERNAL
16 kbytes
PROGRAM MEMORY
EXTERNAL
(EA = 0)
OVERLAPPED SPACE
255
(INDIRECT
127
ONLY)
INTERNAL
DATA RAM
0
INTERNAL DATA MEMORY
Fig.4 Memory map.
SPECIAL
FUNCTION
REGISTERS
64 kbytes
MLA605
0
EXTERNAL
DATA MEMORY
1995 Jul 13 10
Philips Semiconductors Product specification
Low voltage 8-bit microcontrollers P83CL781; P83CL782
7FH
30H 2FH
bit-addressable space
(bit addresses 0 to 7F)
20H
R7
1FH
R0 R7
R0 R7
R0 R7
R0
18H 17H
10H 0FH
08H 07H
4 banks of 8 registers
0
MLA560 - 1
(R0 to R7)
Fig.5 The lower 128 bytes of internal RAM.
1995 Jul 13 11
Philips Semiconductors Product specification
Low voltage 8-bit microcontrollers P83CL781; P83CL782
DIRECT
REGISTER
MNEMONIC
BIT ADDRESS
BYTE
ADDRESS (HEX)
FFH FEH FDH FCH
IP1
IX1
IEN1
ACC
S1ADR
S1DAT S1STA
S1CON
PSW
TH2
TL2
RCAP2H
RCAP2L
T2CON
FEFF FD FC FB FA F9 F8
B
F6F7 F5 F4 F3 F2 F1 F0
EEEF ED EC EB EA E9 E8
E6E7 E5 E4 E3 E2 E1 E0
DEDF DD DC DB DA D9 D8
D6D7 D5 D4 D3 D2 D1 D0
CECF CD CC CB CA C9 C8
F8H
F0H EFH EEH EDH ECH EBH EAH
E9H
E8H
E0H
DBH DAH D9H D8H
D0H CFH CEH
CDH CCH
CBH CAH C9H C8H
SFRs containing
directly addressable
bits
1995 Jul 13 12
IRQ1
C6C7 C5 C4 C3 C2 C1 C0
C0H
MLA606 - 1
Fig.6 Special Function Register memory map (continued in Fig.7).
Loading...
+ 27 hidden pages