CMOS single-chip 8-bit microcontroller
with on-chip EEPROM
Product specification
Supersedes data of 1992 Nov 25
IC20 Data Handbook
1998 Jul 03
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
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
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
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
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
Loading...
+ 15 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.