10.2External data memory
11PACKAGE OUTLINES
12SOLDERING
12.1Introduction
12.2DIP
12.3QFP
13DEFINITIONS
14LIFE SUPPORT APPLICATIONS
15PURCHASE OF PHILIPS I2C COMPONENTS
1995 Jul 132
Philips SemiconductorsProduct specification
Low voltage 8-bit microcontrollersP83CL781; P83CL782
1FEATURES
• 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.
2GENERAL 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.
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 135
Fig.2 Pin configuration for DIP package.
Philips SemiconductorsProduct specification
Low voltage 8-bit microcontrollersP83CL781; 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 136
Fig.3 Pin configuration for QFP packages.
Philips SemiconductorsProduct specification
Low voltage 8-bit microcontrollersP83CL781; P83CL782
5.2Pin description
Table 1 QFP packages (SOT205 and SOT307)
SYMBOLPINDESCRIPTION
P1.0/INT2/T240Port 1: 8-bit bidirectional I/O port with alternative functions. Port pins that have logic 1s
P1.1/INT3/T2EX41
P1.2/INT442
P1.3/INT543
P1.4/INT644
P1.5/INT71
P1.6/INT8/SCL2
P1.7/INT9//SDA3
RST4Reset: A HIGH level on this pin for two machine cycles while the oscillator is running,
n.c.6Not connected.
P3.0/RXD/data5Port 3: 8-bit bidirectional I/O port with alternative functions. Port pins that have logic 1s
P3.1/TXD/clock7
P3.2/INT08
INT19
P3.3/
P3.4/T010
P3.5/T111
WR12
P3.6/
RD13
P3.7/
XTAL214Crystal Output: Output of the inverting amplifier that forms the oscillator. Left
XTAL115Crystal Input: Input to the inverting amplifier that forms the oscillator, also the input for
V
SS
TEST/V
SS
P2.0/A818Port 2: 8-bit bidirectional I/O port with alternative functions. Port pins that have logic 1s
P2.1/A919
P2.2/A1020
P2.3/A1121
P2.4/A1222
P2.5/A1323
P2.6/A1424
P2.7/A1525
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.
16Ground: Circuit ground potential.
17Test 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 137
Philips SemiconductorsProduct specification
Low voltage 8-bit microcontrollersP83CL781; P83CL782
SYMBOLPINDESCRIPTION
PSEN26Program 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.
ALE27Address 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.28Not connected.
EA29External 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/AD730Port 0: 8-bit open drain bidirectional I/O port with alternative functions. P0.7 to P0.0
P0.6/AD631
P0.5/AD532
P0.4/AD433
P0.3/AD334
P0.2/AD235
P0.1/AD136
P0.0/AD037
V
DD
n.c.39Not 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.
38Power supply
1995 Jul 138
Philips SemiconductorsProduct specification
Low voltage 8-bit microcontrollersP83CL781; P83CL782
6FUNCTIONAL DESCRIPTION
6.1General
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.2CPU 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.3Memory 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.1P
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.2D
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.3S
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.4Addressing
The P83CL781 has five methods for addressing source
operands:
• Register
• Direct
• Register-Indirect
• Immediate
• Base-Register plus Index-Register-Indirect.
1995 Jul 139
Philips SemiconductorsProduct specification
Low voltage 8-bit microcontrollersP83CL781; 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 1310
Philips SemiconductorsProduct specification
Low voltage 8-bit microcontrollersP83CL781; 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 1311
Philips SemiconductorsProduct specification
Low voltage 8-bit microcontrollersP83CL781; 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
FEFFFD FC FB FA F9 F8
B
F6F7F5 F4 F3 F2 F1 F0
EEEFED EC EB EA E9 E8
E6E7E5 E4 E3 E2 E1 E0
DEDFDD DC DB DA D9 D8
D6D7D5 D4 D3 D2 D1 D0
CECFCD 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 1312
IRQ1
C6C7C5 C4 C3 C2 C1 C0
C0H
MLA606 - 1
Fig.6 Special Function Register memory map (continued in Fig.7).
Loading...
+ 27 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.