CMOS single-chip 8-bit microcontroller
with on-chip EEPROM
Product specification
Supersedes data of 1992 Nov 25
IC20 Data Handbook
1998 Jul 03
Page 2
Philips SemiconductorsProduct specification
CMOS single-chip 8-bit microcontroller
with on-chip EEPROM
DESCRIPTION
The Philips 80C851/83C851 is a
high-performance microcontroller fabricated
with Philips high-density CMOS technology.
The 80C851/83C851 has the same
instruction set as the 80C51. The Philips
CMOS technology combines the high speed
and density characteristics of HMOS with the
low power attributes of CMOS. The Philips
epitaxial substrate minimizes latch-up
sensitivity.
The 80C851/83C851 contains a 4k
with mask-programmable ROM code
protection, a 128
EEPROM, 32 I/O lines, two 16-bit
counter/timers, a seven-source, five vector,
two-priority level nested interrupt structure,
a serial I/O port for either multi-processor
communications, I/O expansion or full duplex
UART, and on-chip oscillator and clock
circuits.
In addition, the 80C851/83C851 has two
software selectable modes of power
reduction — idle mode and power-down
mode. The idle mode freezes the CPU while
allowing the RAM, timers, serial port, and
interrupt system to continue functioning. The
power-down mode saves the RAM and
EEPROM contents but freezes the oscillator,
causing all other chip functions to be
inoperative.
× 8 RAM, 256 × 8
× 8 ROM
FEATURES
•80C51 based architecture
– 4k
× 8 ROM
× 8 RAM
– 128
– Two 16-bit counter/timers
– Full duplex serial channel
– Boolean processor
•Non-volatile 256 × 8-bit EEPROM
(electrically erasable programmable read
only memory)
– On-chip voltage multiplier for erase/write
– 10,000 erase/write cycles per byte
– 10 years non-volatile data retention
– Infinite number of read cycles
– User selectable security mode
– Block erase capability
•Mask-programmable ROM code protection
•Memory addressing capability
– 64k ROM and 64k RAM
•Power control modes:
– Idle mode
– Power-down mode
•CMOS and TTL compatible
•1.2 to 16MHz or 3.5 to 24MHz
•Three package styles
•Three temperature ranges
•ROM code protection
80C851/83C851
ORDERING INFORMATION
PHILIPS
PART ORDER NUMBER
PART MARKING
ROMless
Version
P80C851 FBPP83C851 FBPS80C851-4N40 S83C851-4N400 to +70, Plastic Dual In-line Package1.2 to 16SOT129-1
P80C851 IBPP83C851 IBP0 to +70, Plastic Dual In-line Package3.5 to 24SOT129-1
P80C851 FBAP83C851 FBAS80C851-4A44 S83C851-4A440 to +70, Plastic Leaded Chip Carrier1.2 to 16SOT187-1
P80C851 IBAP83C851 IBA0 to +70, Plastic Leaded Chip Carrier3.5 to 24SOT187-1
P80C851 FBBP83C851 FBBS80C851-4B44 S83C851-4B440 to +70, Plastic Quad Flat Pack1.2 to 16SOT307-2
P80C851 IBBP83C851 IBB0 to +70, Plastic Quad Flat Pack3.5 to 24SOT307-2
P80C851 FFPP83C851 FFPS80C851-5N40 S83C851-5N40–40 to +85, Plastic Dual In-line Package1.2 to 16SOT129-1
P80C851 FFAP83C851 FFAS80C851-5A44 S83C851-5A44–40 to +85, Plastic Leaded Chip Carrier1.2 to 16SOT187-1
P80C851 FFBP83C851 FFBS80C851-5B44 S83C851-5B44–40 to +85, Plastic Quad Flat Pack1.2 to 16SOT307-2
P80C851 FHPP83C851 FHPS80C851-6N40 S83C851-6N40 –40 to +125, Plastic Dual In-line Package 1.2 to 16SOT129-1
P80C851 FHAP83C851 FHAS80C851-6A44 S83C851-6A44 –40 to +125, Plastic Leaded Chip Carrier1.2 to 16SOT187-1
P80C851 FHBP83C851 FHBS80C851-6B44 S83C851-6B44–40 to +125, Plastic Quad Flat Pack1.2 to 16SOT307-2
1998 Jul 03
ROM VersionROMless
NORTH AMERICA PHILIPS
PART ORDER NUMBER
ROM Version
Version
TEMPERATURE RANGE °C
AND PACKAGE
2
FREQ.
(MHz)
DRAWING
NUMBER
Page 3
Philips SemiconductorsProduct specification
CMOS single-chip 8-bit microcontroller
with on-chip EEPROM
BLOCK DIAGRAM
FREQUENCY
REFERENCE
XTAL2XTAL1
OSCILLATOR
AND
TIMING
CPU
INTERNAL
INTERRUPTS
PROGRAM
MEMORY
(4K x 8 ROM)
DATA
MEMORY
(128 x 8 RAM)
COUNTERS
T0T1
TWO 16-BIT
TIMER/EVENT
COUNTERS
80C851/83C851
EEPROM
(256 x 8)
INT0
EXTERNAL
INTERRUPTS
LOGIC SYMBOL
INT1
RxD
TxD
INT0
INT1
T0
T1
WR
RD
SECONDARY FUNCTIONS
XTAL1
XTAL2
RST
EA
PSEN
ALE
PORT 3
64K BYTE BUS
EXPANSION
CONTRTOL
CONTROL
V
DD
PROGRAMMABLE I/O
PARALLEL PORTS,
ADDRESS/DATA BUS
AND I/O PINS
V
SS
ADDRESS AND
PORT 0
PORT 1PORT 2
DATA BUS
ADDRESS BUS
PROG SERIAL PORT
FULL DUPLEX UART
SYNCHRONOUS SHIFT
SERIAL INSERIAL OUT
SHARED WITH
PORT 3
1998 Jul 03
3
Page 4
Philips SemiconductorsProduct specification
CMOS single-chip 8-bit microcontroller
with on-chip EEPROM
CMOS single-chip 8-bit microcontroller
with on-chip EEPROM
PIN DESCRIPTION
PIN NO.
MNEMONICDIPLCCQFPTYPENAME AND FUNCTION
V
SS
V
DD
P0.0–0.739–32 43–36 37–30I/OPort 0: Port 0 is an open-drain, bidirectional I/O port. Port 0 pins that have 1s written to
P1.0–P1.71–82–940–44,
P2.0–P2.721–28 24–31 18–25I/OPort 2: Port 2 is an 8-bit bidirectional I/O port with internal pull-ups. Port 2 pins that have
P3.0–P3.710–1711,
RST9104IReset: A high on this pin for two machine cycles while the oscillator is running, resets the
ALE303327I/OAddress Latch Enable: Output pulse for latching the low byte of the address during an
PSEN293226OProgram Store Enable: The read strobe to external program memory. When the device
EA313529IExternal Access Enable: If during a RESET, EA is held at TTL, level HIGH, the CPU
XTAL1192115ICrystal 1: Input to the inverting oscillator amplifier and input to the internal clock
XTAL2182014OCrystal 2: Output from the inverting oscillator amplifier.
202216, 39IGround: 0V reference.
404438IPower Supply: This is the power supply voltage for normal, idle, and power-down
1–3
13–195,7–13
10115IRxD (P3.0): Serial input port
11137OTxD (P3.1): Serial output port
12148IINT0 (P3.2): External interrupt
13159IINT1 (P3.3): External interrupt
141610IT0 (P3.4): Timer 0 external input
151711IT1 (P3.5): Timer 1 external input
161812OWR (P3.6): External data memory write strobe
171913ORD (P3.7): External data memory read strobe
operation.
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.
I/OPort 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
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
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.
I/OPort 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
of the SC80C51 family, as listed below:
device. An internal diffused resistor to VSS permits a power-on reset using only an
external capacitor to V
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.
is executing code from the external program memory, PSEN is activated twice each
machine cycle, except that two PSEN
external data memory. PSEN
memory.
executes out of the internal program memory ROM provided the Program Counter is less
than 4096. If during a RESET, EA
external program memory. EA
generator circuits.
.
DD
activations are skipped during each access to
is not activated during fetches from internal program
is held a TTL LOW level, the CPU executes out of
is not allowed to float.
). Port 3 also serves the special features
IL
80C851/83C851
).
IL
). Port 2 emits the high-order
IL
1998 Jul 03
5
Page 6
Philips SemiconductorsProduct specification
CMOS single-chip 8-bit microcontroller
with on-chip EEPROM
D7D6D5D4D3D2D1D0
PSW*Program status wordD0HCYACF0RS1RS0OV–P00H
SBUFSerial data buffer99HxxxxxxxxB
9F9E9D9C9B9A9998
SCON*Serial port control98HSM0SM1SM2RENTB8RB8TIRI00H
SPStack pointer81H07H
8F8E8D8C8B8A898800H
TCON*Timer/counter con-
trol
TMODTimer/counter mode89HGATEC/TM1M0GATEC/TM1M000H
TH0Timer 0 high byte8CH00H
TH1Timer 1 high byte8DH00H
TL0Timer 0 low byte8AH00H
TL1Timer 1 low byte8BH00H
* SFRs are bit addressable.
# SFRs are modified from or added to the 80C51 SFRs.
88HTF1TR1TF0TR0IE1IT1IE0IT000H
1998 Jul 03
6
Page 7
Philips SemiconductorsProduct specification
CMOS single-chip 8-bit microcontroller
with on-chip EEPROM
EEPROM
Communications between the CPU and the
EEPROM is accomplished via 5 special
function registers; 2 address registers (high
and low byte), 1 data register for read and
write operations, 1 control register, and 1
timer register to adapt the erase/write time to
the clock frequency. All registers can be read
and written. Figure 1 shows a block diagram
of the CPU, the EEPROM and the interface.
Register and Functional
Description
Address Register (EADRH, EADRL)
The lower byte contains the address of one
of the 256 bytes. The higher byte (EADRH) is
for future extensions and for addressing the
security bits (see Security Facilities). The
Table 2.Values for the Timer Register (ETIM)
f
XTAL1
1.0MHz––088
2.0MHz0221319
3.0MHz0441D29
4.0MHz0662840
5.0MHz0883250
6.0MHz0A103C60
7.0MHz0C124771
8.0MHz0E145181
9.0MHz10165C92
10.0MHz121866102
11.0MHz142071113
12.0MHz16227B123
13.0MHz1824
14.0MHz1A26
15.0MHz1C28
16.0MHz1E30
.
.
24.0MHz2C4745
2ms WRITE TIME10ms WRITE TIME
HEXDECHEXDEC
EADRH register address is F3H. The EADRL
register address is F2H.
Data Register (EDAT)
This register is required for read and write
operations and also for row/block erase. In
write mode, its contents are written to the
addressed byte (for “row erase” and “block
erase” the contents are don’t care). The write
pulse starts all operations, except read. In
read mode, EDAT contains the data of the
addressed byte. The EDAT register address
is F4H.
Timer Register (ETIM)
The timer register is required to adapt the
erase/write time to the oscillator frequency.
The user has to ensure that the erase or
write (program) time is neither too short or
too long.
VALUES FOR ETIM
80C851/83C851
The ETIM register address is F5H. Table 2
contains the values which must be written to
the ETIM register by software for various
oscillator frequencies (the default value is
08H after RESET).
The general formula is:
2ms Write time:
f
Value (decimal,
to be rounded up)
10ms Write time:
f
Value (decimal)
Control Register (ECNTRL)
See Figure 2 for a description of this register.
The ECNTRL register address is F6H.
XTAL1
XTAL1
96
512
[kHz]
[kHz]
2
2
1998 Jul 03
CPU
INTERRUPT
POWER-DOWN IDLE
RESET
CLK
SEQUENCER
ECNTRL
8
CLOCK
GENERATOR
ETIM
INTERNAL BUS
Figure 1. EEPROM Interface Block Diagram
7
CONTROL
LOGIC
EEPROM
COLUMN
DECODER
88
EDATAEADRHEADRL
3
MATRIX
35
ROW
DECODER
Page 8
Philips SemiconductorsProduct specification
CMOS single-chip 8-bit microcontroller
with on-chip EEPROM
76543210
EEINTIFE
BitSymbolFunction
ECNTRL.7IFEActive high EEPROM interrupt flag: set by the sequencer or by software;
ECNTRL.6EEINTEEPROM interrupt enable: set and reset by software (active high).
ECNTRL.5EWPErase/write in progress flag: set and reset by the sequencer (active high).
Byte mode:Normal EEPROM mode, default mode after reset. In this mode, data can be read and
Read mode:This is the default mode when byte mode is selected. This means that the contents of the
Write mode:This mode is activated by writing to the data register. The address register must be loaded
Row erase:In this mode, the addressed row is cleared. The three LSBs of EADRL are not significant,
Page write: For future products.
Page erase/write: For future products.
Block erase:In this mode all 256 bytes are cleared. The byte containing the security bits is also cleared.
reset by software.
When set and enabled, this flag forces an interrupt to the same vector as the
serial port interrupt (see Interrupt section).
When EWP is set, access to the EEPROM is not possible. EWP cannot be set or
reset by software.
written to one byte at a time.
addressed byte are available in the data register.
first. Since the old contents are read first (by default), this allows the sequencer to decide
whether an erase/write or write cycle only (data = 00H) is required.
i.e. the 8 bytes addressed by EADRL are cleared in the same time normally needed to clear
one byte (t
erase/write cycle is required. For example, using the row erase mode, programming 8 bytes
takes t
t
BLOCKERASE
ROWERASE
TOTOAL
– –EWP
0
1
–
–
1
= tE + 8 × tW compared to t
= tE. The contents of EADRH, EADRL and EDAT are insignificant.
0
1
–
–
0
= tE = tW). For the following write modes, only the write and not the
ECNTRL1ECNTRL2ECNTRL3
0
0
–
–
1
= 8 × tE + 8 × tW (tE = t
TOTAL
80C851/83C851
ECNTRL0
0
0
–
–
0
ERASE
⋅ tW = t
WRITE
).
1998 Jul 03
Program Sequences and Register Contents after Reset
The contents of the EEPROM registers after a Reset are the default values:
EADRH= 1xxxxxxxB(security bit address)
EADRL= 00H(security bit address)
ETIM= 08H(minimum erase time with the lowest permissible oscillator frequency)
ECNTRL= 00H(Byte mode, read)
EDAT= xxH(security bit)
Initialize:MOV ETIM, ..
MOV EADRH, ..
Read:MOV EADRL, ..
MOV .., EDAT
Write:MOV EADRL, ..
MOV EDAT, ..
Erase row: MOV EADRL, ..Row address. 3LSBs don’t care
MOV EDAT, .. (EDAT) don’t care
If the security bit is to be altered, the program generally starts as follows:
MOV EADRH, #80H
MOV EADRL, #00H
Figure 2. Control Register (ECNTRL)
8
Page 9
Philips SemiconductorsProduct specification
CMOS single-chip 8-bit microcontroller
with on-chip EEPROM
the EA
Security Facilities
EEPROM Protection
The EEPROM is protected using four security
bits which are contained in an extra
EEPROM byte at address 8000H
(EADRH/EADRL). They can be set or cleared
by software. To activate the EEPROM
protection, the program sequence in byte
mode must be as follows:
MOV EADRH, #80H
MOV EADRL, #00H
MOV EDAT, #FFH
If two or more of these bits are reset, SB = 0,
the security mode is disabled and the
EEPROM is not protected. If three or four bits
are set, SB = 1 and the EA
the internal access mode.
In this case, access to the EEPROM is only
possible in one mode regardless of how the
external access mode is reached (by pulling
mode differs from
pin low or by passing the 4K
boundary). For SB = 1 and “external access”
only, the “block erase” mode is enabled. The
program sequence has to be as follows:
All 256 data bytes, the security bits, and SB
will be cleared after completing this mode
(EWP = 0). SB will also be affected in byte
mode when writing to the security byte (not
for SB = 1 and “external access”). Figure 3
illustrates the access to SB.
ROM Code Protection
Since the external access mode can only be
selected by pulling the EA
reset, it is not possible to read the internal
program memory using the MOVC instruction
while executing external program memory.
Furthermore, it is not possible to change this
pin low during
80C851/83C851
mode to internal access within the MOVC
cycle.
Additionally , a mask-programmable ROM
code protection facility is available. When the
program memory passes the 4K boundary
using both the internal and external ROMs, it
is not possible to access the internal ROM
from the external program memory if the
mask-programmable ROM security bit is set.
An access to the lower 4K bytes of program
memory using the MOVC instruction is only
possible while executing internal program
memory.
Also the verification mode (test-mode which
writes the ROM contents to a port for
comparison with a reference code) is not
implemented for security reasons. A different
test-mode is implemented for test purposes.
This mode allows every bit to be tested.
However, the internal code cannot be
accessed via a port.
RESETRESET
REGISTERS EADRH AND
EADRL CONTAIN THE
ADDRESS OF THE
SECURITY BYTE
RESET
SECURITY BYTE ADDRESS
AND BLOCK ERASE FINISHED
SECURITY BYTE ADDRESS
AND BYTE MODE FINISHED
EADRHEADRL
EEPROM
EDATA
EXTERNAL
ACCESS
INHIBIT ‘READ DATA REGISTER’
8
L
SB = 1
EA
RESET
n
EAQ
SB
NO
YES
NO
YES
1998 Jul 03
INHIBIT ‘WRITE DATA REGISTER’
EXCEPT (ECNTRL) = BLOCK ERASE
Figure 3. EEPROM Protection (Functional and Flowchart)
9
Page 10
Philips SemiconductorsProduct specification
CMOS single-chip 8-bit microcontroller
with on-chip EEPROM
OSCILLATOR
CHARACTERISTICS
XTAL1 and XTAL2 are the input and output,
respectively, of an inverting amplifier. The
pins can be configured for use as an on-chip
oscillator, as shown in the logic symbol,
page 3.
To drive the device from an external clock
source, XTAL1 should be driven while XTAL2
is left unconnected. There are no
requirements on the duty cycle of the
external clock signal, because the input to
the internal clock circuitry is through a
divide-by-two flip-flop. However, minimum
and maximum high and low times specified in
the data sheet must be observed.
RESET
A reset is accomplished by holding the RST
pin high for at least two machine cycles (24
oscillator periods), while the oscillator is
running. To insure a good power-up reset, the
RST pin must be high long enough to allow
the oscillator time to start up (normally a few
milliseconds) plus two machine cycles. At
power-up, the voltage on V
come up at the same time for a proper
start-up.
Note: Before entering the idle or power-down
modes, the user has to ensure that there is
no EEPROM erase/write cycle in progress
and RST must
DD
Table 3.External Pin Status During Idle and Power-Down Modes
(i.e., the EWP bit has to be reset before
activating the idle or power-down modes;
otherwise EEPROM accesses will be
aborted).
IDLE MODE
In idle mode, the CPU puts itself to sleep
while all of the on-chip peripherals stay
active. The instruction to invoke the idle
mode is the last instruction executed in the
normal operating mode before the idle mode
is activated. The CPU contents, the on-chip
RAM, and all of the special function registers
remain intact during this mode. The idle
mode can be terminated either by any
enabled interrupt (at which time the process
is picked up at the interrupt service routine
and continued), or by a hardware reset which
starts the processor in the same manner as a
power-on reset.
POWER-DOWN MODE
In the power-down mode, the oscillator is
stopped and the instruction to invoke
power-down is the last instruction executed.
Only the contents of the on-chip RAM and
EEPROM are preserved. A hardware reset is
the only way to terminate the power-down
mode. The control bits for the reduced power
modes are in the special function register
PCON. Table 3 shows the state of the I/O
ports during low current operating modes.
INTERRUPT SYSTEM
External events and the real-time-driven
on-chip peripherals require service by the
CPU asynchronous to the execution of any
particular section of code. To tie the
asynchronous activities of these functions to
normal program execution, a multiple-source,
two-priority-level, nested interrupt system is
provided. Interrupt response latency is from
3
µs to 7µs when using a 12MHz crystal. The
S83C851 acknowledges interrupt requests
from 7 sources as follows:
– INT0
13, respectively,
– Timer 0 and timer 1: from the two internal
counters,
– Serial port: from the internal serial I/O port
or EEPROM (1 vector).
Each interrupt vectors to a separate location
in program memory for its service program.
Each source can be individually enabled (the
EEPROM interrupt can only be enabled when
the serial port interrupt is enabled) or
disabled and can be programmed to a high or
low priority level. All enabled sources can
also be globally disabled or enabled. Both
external interrupts can be programmed to be
level-activated and are active low to allow
“wire-ORing” of several interrupt sources to
one input pin.
Note: The serial port and EEPROM interrupt
flags must be cleared by software; all other
flags are cleared by hardware.
80C851/83C851
and INT1: externally via pins 12 and
ABSOLUTE MAXIMUM RATINGS
Storage temperature range–65 to +150
Voltage on any other pin to V
Input or output DC current on any single I/O pin
Power dissipation (based on package heat transfer limitations, not device power consumption)1.0W
NOTES:
1. Stresses above those listed under Absolute Maximum Ratings may cause permanent damage to the device. This is a stress rating only and
functional operation of the device at these or any conditions other than those described in the AC and DC Electrical Characteristics section
of this specification is not implied.
2. This product includes circuitry specifically designed for the protection of its internal devices from the damaging effects of excessive static
charge. Nonetheless, it is suggested that conventional precautions be taken to avoid applying greater than the rated maxima.
3. Parameters are valid over operating temperature range unless otherwise specified. All voltages are with respect to V
noted.
1998 Jul 03
SS
1, 2, 3
PARAMETERRATINGUNIT
–0.5 to +6.5V
±5
unless otherwise
SS
10
°C
mA
Page 11
Philips SemiconductorsProduct specification
CMOS single-chip 8-bit microcontroller
with on-chip EEPROM
DC ELECTRICAL CHARACTERISTICS
T
= 0°C to +70°C (VDD = 5V ±10%), –40°C to +85°C (VDD = 5V ±10%), or –40°C to +125°C (VDD = 5V ±10%), VSS = 0V
amb
PARTTESTLIMITS
SYMBOLPARAMETERTYPECONDITIONSMINMAXUNIT
V
IL
V
IL1
V
IH
V
IH1
V
OL
V
OL1
V
OH
V
OH1
I
IL
I
TL
I
L1
I
DD
R
RST
C
IO
NOTES:
1. The operating supply current is measured with all output pins disconnected; XT AL1 driven with t
V
IH
2. The idle mode supply current is measured with all output pins disconnected; XT AL1 driven with t
V
IH
3. The power-down current is measured with all output pins disconnected; XT AL2 not connected; EA
4. Capacitive loading on Port 0 and Port 2 may cause spurious noise pulses to be superimposed on the LOW level output voltage of ALE, Port
1 and Port 3. The noise is due to external bus capacitance discharging into the Port 0 and Port 2 pins when these pins make a 1-to-0
transition during bus operations. In the worst cases (capacitive loading > 100pF), the noise pulse on the ALE line may exceed 0.8V. In such
cases it may be desirable to qualify ALE with a Schmitt Trigger, or use an address latch with a Schmitt Trigger STROBE input.
5. Capacitive loading on Port 0 and Port 2 may cause the HIGH level output voltage on ALE and PSEN
specification when the address bits are stabilizing.
6. Under steady state (non-transient) conditions, I
= VDD – 0.5V; XTAL2 not connected; EA = RST = Port 0 = VDD.
= VDD – 0.5V; XTAL2 not connected; EA = Port 0 = VDD; RST = VSS.
r
= tf = 5ns; VIL = VSS +0.5V;
r
= Port 0 = VDD; RST = XTAL1 = VSS.
to momentarily fall below the 0.9V
must be externally limited as follows:
Maximum I
Maximum I
per Port pin:10mA
OL
per 8-bit port –
OL
Port 0:26mA
OL
Ports 1, 2, and 3:15mA
Maximum total I
exceeds the test condition, VOL may exceed the related specification. Pins are not guaranteed to sink current greater than the listed
OL
for all output pins:71mA.
OL
test conditions.
DD
80C851/83C851
–0.5
–0.5
–0.5
–0.5
–0.5
–0.5
DD
0.7V
2.4
0.9V
2.4
0.9V
D
+1.0
DD
+0.1
DD
DD
DD
DD
0.2VDD–0.1
0.2VDD–0.15
0.2V
0.2VDD–0.3
0.2V
0.2V
VDD+0.5
VDD+0.5
V
DD
VDD+0.5
VDD+0.5
V
DD
–750
–750
–0.25
DD
–0.35
DD
–0.45
DD
+0.5
+0.5
0.45V
0.45V
–75
–75
±10
19
29
3.7
5.6
50
mA
mA
mA
mA
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
µA
µA
µA
µA
µA
µA
µA
µA
DD
1998 Jul 03
11
Page 12
Philips SemiconductorsProduct specification
CMOS single-chip 8-bit microcontroller
with on-chip EEPROM
AC ELECTRICAL CHARACTERISTICS
16 MHz Version
SYMBOLFIGUREPARAMETERMINMAXMINMAXUNIT
1/t
CLCL
t
LHLL
t
AVLL
t
LLAX
t
LLIV
t
LLPL
t
PLPH
t
PLIV
t
PXIX
t
PXIZ
t
AVIV
t
PLAZ
Data Memory
t
RLRH
t
WLWH
t
RLDV
t
RHDX
t
RHDZ
t
LLDV
t
AVDV
t
LLWL
t
AVWL
t
QVWH
t
QVWX
t
WHQX
t
RLAZ
t
WHLH
External Clock
t
CHCX
t
CLCX
t
CLCH
t
CHCL
Erase/write timer constant
t
E/W
t
E
t
W
t
S
NE/WErase/write cycles
NOTES:
1. Parameters are valid over operating temperature range unless otherwise specified.
2. Load capacitance for port 0, ALE, and PSEN
3. The power-off fall-time of V
spurious parasitic writing to EEPROM cells. If the V
to prevent this condition from occurring.
4. Test condition: T
5. Number of erase/write cycles for each EEPROM byte.
4Oscillator frequency1.216MHz
4ALE pulse width852t
4Address valid to ALE low8t
4Address hold after ALE low28t
4ALE low to valid instruction in1504t
4ALE low to PSEN low23t
4PSEN pulse width1433t
4PSEN low to valid instruction in833t
4Input instruction hold after PSEN00ns
4Input instruction float after PSEN38t
4Address to valid instruction in2085t
4PSEN low to address float1010ns
5RD pulse width2756t
5WR pulse width2756t
5RD low to valid data in1485t
5Data hold after RD00ns
5Data float after RD552t
5ALE low to valid data in3508t
5Address to valid data in3989t
5, 6ALE low to RD or WR low1382383t
5, 6Address valid to RD or WR low1204t
6Data setup time before WR2887t
6Data valid to WR transition3t
6Data hold after WR13t
5RD low to address float00ns
5, 6RD or WR high to ALE high23103t
8High time2020ns
8Low time2020ns
8Rise time2020ns
8Fall time2020ns
3
Erase/write cycle time420420ms
Erase time210210ms
Write time210210ms
Data retention time
must be less than 1ms to prevent an overwrite pulse from being generated in the EEPROM which can cause
DD
= +55°C.
amb
1, 2
16MHz CLOCKVARIABLE CLOCK
4
5
1010years
10,00010,000cycles
= 100pF, load capacitance for all other outputs = 80pF.
power-off full-time is greater than 1ms, a power-off reset signal should be generated
DD
80C851/83C851
–40ns
CLCL
–55ns
CLCL
–35ns
CLCL
–100ns
CLCL
–40ns
CLCL
–45ns
CLCL
–105ns
CLCL
–25ns
CLCL
–105ns
CLCL
–100ns
CLCL
–100ns
CLCL
–165ns
CLCL
–70ns
CLCL
–150ns
CLCL
–165ns
CLCL
–503t
CLCL
–130ns
CLCL
–150ns
CLCL
–60ns
CLCL
–50ns
CLCL
–40t
CLCL
+50ns
CLCL
+40ns
CLCL
1998 Jul 03
12
Page 13
Philips SemiconductorsProduct specification
CMOS single-chip 8-bit microcontroller
with on-chip EEPROM
AC ELECTRICAL CHARACTERISTICS
24 MHz Version
SYMBOLFIGUREPARAMETERMINMAXMINMAXUNIT
1/t
CLCL
t
LHLL
t
AVLL
t
LLAX
t
LLIV
t
LLPL
t
PLPH
t
PLIV
t
PXIX
t
PXIZ
t
AVIV
t
PLAZ
Data Memory
t
RLRH
t
WLWH
t
RLDV
t
RHDX
t
RHDZ
t
LLDV
t
AVDV
t
LLWL
t
AVWL
t
QVWH
t
QVWX
t
WHQX
t
RLAZ
t
WHLH
External Clock
t
CHCX
t
CLCX
t
CLCH
t
CHCL
Erase/write timer constant
t
E/W
t
E
t
W
t
S
NE/WErase/write cycles
NOTES:
1. Parameters are valid over operating temperature range unless otherwise specified.
2. Load capacitance for port 0, ALE, and PSEN
3. The power-off fall-time of V
spurious parasitic writing to EEPROM cells. If the V
to prevent this condition from occurring.
4. Test condition: T
5. Number of erase/write cycles for each EEPROM byte.
4Oscillator frequency3.524MHz
4ALE pulse width432t
4Address valid to ALE low17t
4Address hold after ALE low17t
4ALE low to valid instruction in1024t
4ALE low to PSEN low17t
4PSEN pulse width803t
4PSEN low to valid instruction in653t
4Input instruction hold after PSEN00ns
4Input instruction float after PSEN17t
4Address to valid instruction in1285t
4PSEN low to address float1010ns
5RD pulse width1506t
5WR pulse width1506t
5RD low to valid data in1185t
5Data hold after RD00ns
5Data float after RD552t
5ALE low to valid data in1838t
5Address to valid data in2109t
5, 6ALE low to RD or WR low751753t
5, 6Address valid to RD or WR low924t
6Data setup time before WR1627t
6Data valid to WR transition12t
6Data hold after WR17t
5RD low to address float00ns
5, 6RD or WR high to ALE high1767t
8High time1717ns
8Low time1717ns
8Rise time520ns
8Fall time520ns
3
Erase/write cycle time420420ms
Erase time210210ms
Write time210210ms
Data retention time
must be less than 1ms to prevent an overwrite pulse from being generated in the EEPROM which can cause
DD
= +55°C.
amb
1, 2
24MHz CLOCKVARIABLE CLOCK
4
5
1010years
10,00010,000cycles
= 100pF, load capacitance for all other outputs = 80pF.
power-off full-time is greater than 1ms, a power-off reset signal should be generated
DD
80C851/83C851
–40ns
CLCL
–25ns
CLCL
–25ns
CLCL
–65ns
CLCL
–25ns
CLCL
–45ns
CLCL
–60ns
CLCL
–25ns
CLCL
–80ns
CLCL
–100ns
CLCL
–100ns
CLCL
–90ns
CLCL
–28ns
CLCL
–150ns
CLCL
–165ns
CLCL
–503t
CLCL
–75ns
CLCL
–130ns
CLCL
–30ns
CLCL
–25ns
CLCL
–25t
CLCL
+50ns
CLCL
+25ns
CLCL
1998 Jul 03
13
Page 14
Philips SemiconductorsProduct specification
CMOS single-chip 8-bit microcontroller
with on-chip EEPROM
EXPLANATION OF THE
AC SYMBOLS
Each timing symbol has five characters. The
first character is always ‘t’ (= time). The other
characters, depending on their positions,
indicate the name of a signal or the logical
status of that signal. The designations are:
A – Address
C – Clock
D – Input data
H – Logic level high
I – Instruction (program memory contents)
t
ALE
PSEN
PORT 0
LHLL
L – Logic level low, or ALE
P – PSEN
Q – Output data
R– RD
signal
t – Time
V – Valid
W– WR
signal
X – No longer a valid logic level
Z – Float
Examples: t
t
t
AVLL
LLPL
t
LLAX
A0–A7A0–A7
t
LLIV
t
PLIV
AVLL
t
LLPL
t
PLPH
t
PLAZ
= Time for address valid to
ALE low.
= Time for ALE low to
low.
PSEN
t
PXIZ
t
PXIX
INSTR IN
80C851/83C851
ALE
PSEN
PORT 0
PORT 2
RD
PORT 2
t
AVLL
t
LLAX
A0–A7
FROM RI OR DPL
t
AVWL
t
AVIV
A8–A15A8–A15
Figure 4. External Program Memory Read Cycle
t
WHLH
t
LLDV
t
LLWL
t
RLAZ
t
AVDV
P2.0–P2.7 OR A8–A15 FROM DPHA8–A15 FROM PCH
t
RLDV
t
RLRH
t
RHDZ
t
RHDX
DATA INA0–A7 FROM PCLINSTR IN
1998 Jul 03
Figure 5. External Data Memory Read Cycle
14
Page 15
Philips SemiconductorsProduct specification
CMOS single-chip 8-bit microcontroller
with on-chip EEPROM
ALE
PSEN
t
WLWH
t
QVWX
t
QVWH
DATA OUTA0–A7 FROM PCLINSTR IN
WR
PORT 0
PORT 2
t
AVLL
t
LLWL
t
AW
t
LLAX
A0–A7
FROM RI OR DPL
t
AVWL
P2.0–P2.7 OR A8–A15 FROM DPHA8–A15 FROM PCH
t
WHLH
t
80C851/83C851
WHQX
EXTERNAL
PROGRAM
MEMORY
FETCH
(SHIFT CLOCK)
XTAL1
INPUT
ALE
PSEN
RD
WR
BUS
PORT 0
PORT 2
(EXTERNAL)
PORT
OUTPUT
PORT
INPUT
SERIAL
PORT
Figure 6. External Data Memory Write Cycle
S1S2S3S4S5S6
P1 P2 P1 P2P1 P2 P1 P2 P1P2 P1 P2
DATA
FLOAT
ADDRESS
ONE MACHINE CYCLEONE MACHINE CYCLE
FLOATFLOATFLOATFLOAT
DATA
OLD DATA
ADDRESS
FLOAT
ADDRESS TRANSITIONS
SAMPLING TIME OF I/O PORT PINS DURING INPUT (INCLUDING INT0 AND INT1)
Figure 7. Instruction Timing
S1S2S3S4S5S6
P1 P2 P1 P2P1 P2 P1 P2 P1P2 P1 P2
DATA
FLOAT
ADDRESS
NEW DATA
DATA
FLOAT
ADDRESS
1998 Jul 03
15
Page 16
Philips SemiconductorsProduct specification
CMOS single-chip 8-bit microcontroller
with on-chip EEPROM
Table 4.External Clock Drive XTAL1
VARIABLE CLOCK
f = 1.2 – 16MHz
SYMBOLPARAMETERMINMAXMINMAXUNIT
t
CLCL
t
HIGH
t
LOW
t
r
t
f
t
CY
Oscillator clock period6383342286ns
HIGH time20t
LOW time20t
CLCL
CLCL
– t
– t
LOW
HIGH
Rise time–20–5ns
Fall time–20–5ns
Cycle time
1
0.75100.53.43
NOTE:
1. t
CY
= 12 t
VDD–0.5
0.45V
CLCL
.
0.7V
DD
0.2VDD–0.1
t
CHCL
t
CLCX
t
CLCL
t
CHCX
t
CLCH
2.4V
0.45V
NOTE:
AC inputs during testing are driven at 2.4V for a logic ‘1’ and 0.45V for a logic ‘0’.
Timing measurements are made at 2.0V min for a logic ‘1’ and 0.8V for a logic ‘0’.
VARIABLE CLOCK
f = 3.5 – 24MHz
17t
17t
2.0V
0.8V
80C851/83C851
– t
CLCL
LOW
– t
CLCL
HIGH
ns
ns
s
Figure 8. External Clock Drive
V
+0.1V
LOAD
V
level occurs. IOH/I
LOAD
LOAD
–0.1V
≥± 20mA.
OL
V
NOTE:
For timing purposes, a port is no longer floating when a 100mV change from load voltage occurs, and begins to float when a 100mV change
from the loaded V
OH/VOL
TIMING
REFERENCE
POINTS
Figure 9. AC Testing Input/Output
V
–0.1V
OH
+0.1V
V
OL
Figure 10. Float Waveform
1998 Jul 03
16
Page 17
Philips SemiconductorsProduct specification
CMOS single-chip 8-bit microcontroller
with on-chip EEPROM
V
DD
I
DD
V
V
DD
RST
(NC)
CLOCK SIGNAL
XTAL2
XTAL1
V
SS
Figure 11. IDD Test Condition, Active Mode
All other pins are disconnected
DD
P0
EA
V
DD
80C851/83C851
RST
(NC)
CLOCK SIGNAL
Figure 12. IDD Test Condition, Idle Mode
All other pins are disconnected
XTAL2
XTAL1
V
SS
V
DD
I
DD
V
DD
EA
V
DD
P0
V
DD
I
DD
VDD–0.5
0.5V
t
CHCL
t
CLCX
t
CLCL
t
CHCX
t
CLCH
Figure 13. Clock Signal Waveform for IDD Tests
in Active and Idle Modes
t
= t
CHCL
= 5ns
CLCH
V
DD
EA
V
DD
P0
(NC)
RST
XTAL2
XTAL1
V
SS
Figure 14. IDD Test Condition, Power Down Mode
All other pins are disconnected.
V
= 2V to 5.5V
DD
1998 Jul 03
17
Page 18
Philips SemiconductorsProduct specification
CMOS single-chip 8-bit microcontroller with on-chip
EEPROM
CMOS single-chip 8-bit microcontroller with on-chip
EEPROM
QFP44: plastic quad flat package; 44 leads (lead length 1.3 mm); body 10 x 10 x 1.75 mmSOT307-2
80C851/83C851
1998 Jul 03
20
Page 21
Philips SemiconductorsProduct specification
CMOS single-chip 8-bit microcontroller with on-chip
EEPROM
NOTES
80C851/83C851
1998 Jul 03
21
Page 22
Philips SemiconductorsProduct specification
CMOS single-chip 8-bit microcontroller with on-chip
EEPROM
Data sheet status
Data sheet
status
Objective
specification
Preliminary
specification
Product
specification
Product
status
Development
Qualification
Production
Definition
This data sheet contains the design target or goal specifications for product development.
Specification may change in any manner without notice.
This data sheet contains preliminary data, and supplementary data will be published at a later date.
Philips Semiconductors reserves the right to make chages at any time without notice in order to
improve design and supply the best possible product.
This data sheet contains final specifications. Philips Semiconductors reserves the right to make
changes at any time without notice in order to improve design and supply the best possible product.
[1]
80C851/83C851
[1] Please consult the most recently issued datasheet before initiating or completing a design.
Definitions
Short-form specification — The data in a short-form specification is extracted from a full data sheet with the same type number and title. For
detailed information see the relevant data sheet or data handbook.
Limiting values definition — Limiting values given are in accordance with the Absolute Maximum Rating System (IEC 134). Stress above one
or more of the limiting values may cause permanent damage to the device. These are stress ratings only and operation of the device at these or
at any other conditions above those given in the Characteristics sections of the specification is not implied. Exposure to limiting values for extended
periods may affect device reliability.
Application information — Applications that are described herein for any of these products are for illustrative purposes only. Philips
Semiconductors make no representation or warranty that such applications will be suitable for the specified use without further testing or
modification.
Disclaimers
Life support — These products are not designed for use in life support appliances, devices or systems where malfunction of these products can
reasonably be expected to result in personal injury . Philips Semiconductors customers using or selling these products for use in such applications
do so at their own risk and agree to fully indemnify Philips Semiconductors for any damages resulting from such application.
Right to make changes — Philips Semiconductors reserves the right to make changes, without notice, in the products, including circuits, standard
cells, and/or software, described or contained herein in order to improve design and/or performance. Philips Semiconductors assumes no
responsibility or liability for the use of any of these products, conveys no license or title under any patent, copyright, or mask work right to these
products, and makes no representations or warranties that these products are free from patent, copyright, or mask work right infringement, unless
otherwise specified.
Philips Semiconductors
811 East Arques Avenue
P.O. Box 3409
Sunnyvale, California 94088–3409
Telephone 800-234-7381
Copyright Philips Electronics North America Corporation 1998
All rights reserved. Printed in U.S.A.
Date of release: 09-98
Document order number:9397 750 04368
1998 Jul 03
22
Loading...
+ 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.