PLEASE SEE THE P87C552 DA TA SHEET FOR NEW DESIGN-INS
87C552
80C51 8-bit microcontroller
8K/256 OTP, 8 channel 10 bit A/D, I2C, PWM,
capture/compare, high I/O
Product specification
Supersedes data of 1998 Jan 19
IC20 Data Handbook
1998 May 01
Page 2
Philips SemiconductorsProduct specification
80C51 8-bit microcontroller
8K/256 OTP, 8 channel 10 bit A/D, I2C, PWM, capture/compare, high I/O
DESCRIPTION
The 87C552 Single-Chip 8-Bit Microcontroller is manufactured in an
advanced CMOS process and is a derivative of the 80C51
microcontroller family. The 87C552 has the same instruction set as
the 80C51. Three versions of the derivative exist:
•83C552—8k bytes mask programmable ROM
•80C552—ROMless version of the 83C552
•87C552—8k bytes EPROM
The 87C552 contains a 8k × 8 a volatile 256 × 8 read/write data
memory, five 8-bit I/O ports, one 8-bit input port, two 16-bit
timer/event counters (identical to the timers of the 80C51), an
additional 16-bit timer coupled to capture and compare latches, a
15-source, two-priority-level, nested interrupt structure, an 8-input
ADC, a dual DAC pulse width modulated interface, two serial
interfaces (UART and I
oscillator and timing circuits. For systems that require extra
capability , the 87C552 can be expanded using standard TTL
compatible memories and logic.
In addition, the 87C552 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 ports, 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.
The device 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, 45 two-byte, and 17 three-byte. With a 16MHz crystal,
58% of the instructions are executed in 0.75µs and 40% in 1.5µs.
Multiply and divide instructions require 3µs.
2
C-bus), a “watchdog” timer and on-chip
FEATURES
•80C51 central processing unit
•8k × 8 EPROM expandable externally to 64k bytes
•An additional 16-bit timer/counter coupled to four capture registers
and three compare registers
•Two standard 16-bit timer/counters
•256 × 8 RAM, expandable externally to 64k bytes
•Capable of producing eight synchronized, timed outputs
•A 10-bit ADC with eight multiplexed analog inputs
8K/256 OTP, 8 channel 10 bit A/D, I2C, PWM, capture/compare, high I/O
PIN DESCRIPTION
PIN NO.
MNEMONICPLCCQFPTYPENAME AND FUNCTION
V
DD
STADC374IStart ADC Operation: Input starting analog to digital conversion (ADC operation can also
PWM0475OPulse Width Modulation: Output 0.
PWM1576OPulse Width Modulation: Output 1.
EW677IEnable Watchdog Timer: Enable for T3 watchdog timer and disable power-down mode.
P0.0-P0.757-5058-51I/OPort 0: Port 0 is an 8-bit open-drain bidirectional I/O port. Port 0 pins that have 1s written
RST159I/OReset: Input to reset the 87C552. It also provides a reset pulse as output when timer T3
XTAL13532ICrystal Input 1: Input to the inverting amplifier that forms the oscillator, and input to the
XTAL23431OCrystal Input 2: Output of the inverting amplifier that forms the oscillator. Left open-circuit
V
SS
PSEN4748OProgram Store Enable: Active-low read strobe to external program memory.
272IDigital Power Supply: +5V power supply pin during normal operation, idle and
16-2110-15I/O(P1.0-P1.5): Quasi-bidirectional port pins.
22-2316-17I/O(P1.6, P1.7): Open drain port pins.
16-1910-13ICT0I-CT3I (P1.0-P1.3): Capture timer input signals for timer T2.
2014IT2 (P1.4): T2 event input.
2115IRT2 (P1.5): T2 timer reset signal. Rising edge triggered.
2216I/OSCL (P1.6): Serial port clock line I2C-bus.
2317I/OSDA (P1.7): Serial port data line I2C-bus.
13, 147, 8OCMT0, CMT1 (P4.6, P4.7): Timer T2 compare and toggle outputs on a match with timer T2.
1ADC0-ADC7 (P5.0-P5.7): Alternate function: Eight input channels to ADC.
36, 3734-36IDigital ground.
power-down mode.
be started by software).
to 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. Port 0 is also used to input
the code byte during programming and to output the code byte during verification.
Port 1 is also used to input the lower order address byte during EPROM programming and
verification. A0 is on P1.0, etc.
I/OPort 2: 8-bit quasi-bidirectional I/O port.
Alternate function: High-order address byte for external memory (A08-A15). Port 2 is also
used to input the upper order address during EPROM programming and verification. A8 is
on P2.0, A9 on P2.1, through A12 on P2.4.
OCMSR0-CMSR5 (P4.0-P4.5): Timer T2 compare and set/reset outputs on a match with
timer T2.
overflows.
internal clock generator. Receives the external clock signal when an external oscillator is
used.
when an external clock is used.
1998 May 01
5
Page 6
Philips SemiconductorsProduct specification
80C51 8-bit microcontroller
87C552
8K/256 OTP, 8 channel 10 bit A/D, I2C, PWM, capture/compare, high I/O
PIN DESCRIPTION (Continued)
PIN NO.
MNEMONICPLCCQFPTYPENAME AND FUNCTION
ALE/PROG4849OAddress Latch Enable: Latches the low byte of the address during accesses to external
EA/V
PP
AV
REF–
AV
REF+
AV
SS
AV
DD
NOTE:
1. To avoid “latch-up” effect at power-on, the voltage on any pin at any time must not be higher or lower than V
respectively.
4950IExternal Access: When EA is held at TTL level high, the CPU executes out of the internal
5859IAnalog to Digital Conversion Reference Resistor: Low-end.
5960IAnalog to Digital Conversion Reference Resistor: High-end.
6061IAnalog Ground
6163IAnalog Power Supply
memory. It is activated every six oscillator periods. During an external data memory
access, one ALE pulse is skipped. ALE can drive up to eight LS TTL inputs and handles
CMOS inputs without an external pull-up. This pin is also the program pulse input (PROG
during EPROM programming.
program ROM provided the program counter is less than 8192. When EA
low level, the CPU executes out of external program memory. EA
This pin also receives the 12.75V programming supply voltage (V
programming.
+ 0.5V or VSS – 0.5V,
DD
is held at TTL
is not allowed to float.
) during EPROM
PP
)
OSCILLA T OR 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.
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-on 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-on, the voltage on
V
and RST must come up at the same time for a proper start-up.
DD
IDLE MODE
In the idle mode, the CPU puts itself to sleep while some 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 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 1 shows the state of the I/O ports during low current
operating modes.
Table 1. External Pin Status During Idle and Power-Down Modes
1. These frequencies exceed the upper limit of 100kHz of the I
2
C-bus specification and cannot be used in an I2C-bus application.
OSC
DIVIDED BY
OSC
1
1
120
60
87C552
ABSOLUTE MAXIMUM RATINGS
Storage temperature range–65 to +150°C
Voltage on EA/VPP to V
Voltage on any other pin to V
Input, output DC current on any single I/O pin5.0mA
Power dissipation (based on package heat transfer limitations, not device power
consumption)
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.
SS
SS
1, 2, 3
PARAMETER
RATINGUNIT
–0.5 to +13V
–0.5 to +6.5V
1.0W
unless otherwise
SS
DEVICE SPECIFICATIONS
SUPPLY VOLTAGE (V)FREQUENCY (MHz)
TYPEMINMAXMINMAXTEMPERATURE RANGE (°C)
P87C552-44.55.53.5160 to +70
P87C552-54.55.53.516–40 to +85
1998 May 01
7
Page 8
Philips SemiconductorsProduct specification
2V
V
V
80C51 8-bit microcontroller
87C552
8K/256 OTP, 8 channel 10 bit A/D, I2C, PWM, capture/compare, high I/O
DC ELECTRICAL CHARACTERISTICS
VSS, AVSS = 0V
TESTLIMITS
SYMBOL PARAMETERCONDITIONSMINMAXUNIT
I
DD
I
ID
I
PD
Inputs
V
IL
V
IL1
V
IL2
V
IH
V
IH1
V
IH2
I
IL
I
TL
±I
IL1
±I
IL2
±I
IL3
Outputs
V
OL
V
OL1
V
OL2
V
OH
V
OH1
V
OH2
R
RST
C
IO
Analog Inputs
AV
DD
AI
DD
AI
ID
AI
PD
Supply current operating:See notes 1 and 2
PCA8XC552-5-16f
= 16MHz40mA
OSC
Idle mode:See notes 1 and 3
87C552f
= 16MHz7mA
OSC
Power-down current:See notes 1 and 4;
<
<
87C552
PD
DD
max
50µA
Input low voltage, except EA, P1.6, P1.7–0.50.2VDD–0.1V
Input low voltage to EA–0.50.2VDD–0.3V
Input low voltage to P1.6/SCL, P1.7/SDA
5
–0.50.3V
DD
Input high voltage, except XTAL1, RST0.2VDD+0.9VDD+0.5V
Input high voltage, XTAL1, RST0.7V
Input high voltage, P1.6/SCL, P1.7/SDA
8K/256 OTP, 8 channel 10 bit A/D, I2C, PWM, capture/compare, high I/O
DC ELECTRICAL CHARACTERISTICS (Continued)
TESTLIMITS
SYMBOLPARAMETERCONDITIONSMINMAXUNIT
Analog Inputs (Continued)
AV
IN
AV
REF
R
REF
C
IA
t
ADS
t
ADC
DL
e
IL
e
OS
e
G
e
A
e
M
CTC
C
t
NOTES FOR DC ELECTRICAL CHARACTERISTICS:
1. See Figures 10 through 15 for I
2. The operating supply current is measured with all output pins disconnected; XTAL1 driven with t
V
3. The idle mode supply current is measured with all output pins disconnected; XTAL1 driven with t
V
4. The power-down current is measured with all output pins disconnected; XTAL2 not connected; Port 0 = EW
EA
5. The input threshold voltage of P1.6 and P1.7 (SIO1) meets the I
0 while an input voltage above 3.0V will be recognized as a logic 1.
6. Pins of ports 1 (except P1.6, P1.7), 2, 3, and 4 source a transition current when they are being externally driven from 1 to 0. The transition
current reaches its maximum value when V
7. Capacitive loading on ports 0 and 2 may cause spurious noise to be superimposed on the V
to external bus capacitance discharging into the port 0 and port 2 pins when these pins make 1-to-0 transitions during bus operations. In the
worst cases (capacitive loading > 100pF), the noise pulse on the ALE pin 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. I
single output sinks more than 5mA and no more than two outputs exceed the test conditions.
8. Capacitive loading on ports 0 and 2 may cause the V
address bits are stabilizing.
9. The following condition must not be exceeded: V
10.Conditions: AV
parameters from collected conversion results of ADC. AV
11.The differential non-linearity (DL
12.The ADC is monotonic; there are no missing codes.
13.The integral non-linearity (IL
appropriate adjustment of gain and offset error. (See Figure 1.)
14.The offset error (OS
a straight line which fits the ideal transfer curve. (See Figure 1.)
15.The gain error (Ge) is the relative difference in percent between the straight line fitting the actual transfer curve (after removing offset error),
and the straight line which fits the ideal transfer curve. Gain error is constant at every point on the transfer curve. (See Figure 1.)
16.The absolute voltage error (A
ADC and the ideal transfer curve.
17.This should be considered when both analog and digital signals are simultaneously input to port 5.
Analog input voltageAVSS–0.2AVDD+0.2V
Reference voltage:
AV
REF–
AV
REF+
Resistance between AV
REF+
and AV
REF–
AVSS–0.2V
AVDD+0.2V
1050kΩ
Analog input capacitance15pF
Sampling time8t
Conversion time (including sampling time)50t
Differential non-linearity
Integral non-linearity
Offset error
Gain error
10, 14
10, 15
Absolute voltage error
10, 11, 12
10, 13
10, 16
Channel to channel matching±1LSB
Crosstalkbetween inputs of port 5
test conditions.
DD
= VDD – 0.5V; XTAL2 not connected; EA = RST = Port 0 = EW = VDD; STADC = VSS.
IH
= VDD – 0.5V; XTAL2 not connected; Port 0 = EW = VDD; EA = RST = STADC = VSS.
IH
= RST = STADC = XTAL1 = VSS.
= 0V; AVDD = 5.0V . Measurement by continuous conversion of AVIN = –20mV to 5.12V in steps of 0.5mV , derivating
REF–
) is the difference between the actual step width and the ideal step width. (See Figure 1.)
e
) is the peak difference between the center of the steps of the actual and the ideal transfer curve after
e
) is the absolute difference between the straight line which fits the actual transfer curve (after removing gain error), and
e
) is the maximum difference between the center of the steps of the actual transfer curve of the non-calibrated
e
17
is approximately 2V .
IN
on ALE and PSEN to momentarily fall below the 0.9VDD specification when the
OH
– 0.2V < AVDD < VDD + 0.2V.
DD
(87C552) = 4.977V . ADC is monotonic with no missing codes.
REF+
0–100kHz–60dB
= tf = 10ns; VIL = VSS + 0.5V;
r
= tf = 10ns; VIL = VSS + 0.5V;
r
= VDD;
2
C specification, so an input voltage below 1.5V will be recognized as a logic
s of ALE and ports 1 and 3. The noise is due
OL
can exceed these conditions provided that no
OL
CY
CY
µs
µs
±1LSB
±2LSB
±2LSB
±0.4%
±3LSB
1998 May 01
9
Page 10
Philips SemiconductorsProduct specification
80C51 8-bit microcontroller
8K/256 OTP, 8 channel 10 bit A/D, I2C, PWM, capture/compare, high I/O
1023
1022
1021
1020
1019
1018
(2)
Offset
error
OS
e
87C552
Gain
error
G
e
Code
Out
7
6
5
4
3
2
1
0
12345671018101910201021102210231024
Offset
error
OS
e
(1) Example of an actual transfer curve.
(2) The ideal transfer curve.
(3) Differential non-linearity (DL
(4) Integral non-linearity (IL
(5) Center of a step of the actual transfer curve.
).
e
).
e
(5)
(4)
(3)
1 LSB
(ideal)
1 LSB =
Figure 1. ADC Conversion Characteristic
(1)
AV
REF+
AVIN (LSB
1024
–AV
ideal
REF–
)
SU00212
1998 May 01
10
Page 11
Philips SemiconductorsProduct specification
80C51 8-bit microcontroller
87C552
8K/256 OTP, 8 channel 10 bit A/D, I2C, PWM, capture/compare, high I/O
AC ELECTRICAL CHARACTERISTICS
SYMBOLFIGUREPARAMETERMINMAXMINMAXMINMAXUNIT
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
AVLL
t
RLRH
t
WLWH
t
RLDV
t
RHDX
t
RHDZ
t
LLDV
t
AVDV
t
LLWL
t
AVWL
t
QVWX
t
DW
t
WHQX
t
RLAZ
t
WHLH
External Clock
t
CHCX
t
CLCX
t
CLCH
t
CHCL
Serial Timing – Shift Register Mode4 (Test Conditions: T
t
XLXL
t
QVXH
t
XHQX
t
XHDX
t
XHDV
NOTES:
1. Parameters are valid over operating temperature range unless otherwise specified.
2. Load capacitance for port 0, ALE, and PSEN
3. t
4. These values are characterized but not 100% production tested.
= 1/f
CLCL
t
= 83.3ns at f
CLCL
= 62.5ns at f
t
CLCL
2Oscillator frequency3.516MHz
2ALE pulse width127852t
2Address valid to ALE low288t
2Address hold after ALE low4828t
2ALE low to valid instruction in2341504t
2ALE low to PSEN low4323t
2PSEN pulse width2051433t
2PSEN low to valid instruction in145833t
2Input instruction hold after PSEN000ns
2Input instruction float after PSEN5938t
2Address to valid instruction in3122085t
2PSEN low to address float101010ns
3, 4Address valid to ALE low4323t
3RD pulse width4002756t
3WR pulse width4002756t
3RD low to valid data in2521485t
3Data hold after RD000ns
3Data float after RD97552t
3ALE low to valid data in5173508t
3Address to valid data in5853989t
3, 4ALE low to RD or WR low2003001382383t
3, 4Address valid to WR low or RD low2031204t
4Data valid to WR transition233t
4Data before WR4332887t
4Data hold after WR3313t
4RD low to address float000ns
3, 4RD or WR high to ALE high4312323103t
= 100pF, load capacitance for all other outputs = 80pF.
–40ns
CLCL
–55ns
CLCL
–35ns
CLCL
–100ns
CLCL
–40ns
CLCL
–45ns
CLCL
–105ns
CLCL
–25ns
CLCL
–105ns
CLCL
–40ns
CLCL
–100ns
CLCL
–100ns
CLCL
–165ns
CLCL
–70ns
CLCL
–150ns
CLCL
–165ns
CLCL
–503t
CLCL
–130ns
CLCL
–60ns
CLCL
–150ns
CLCL
–50ns
CLCL
–40t
CLCL
CLCL
–133ns
CLCL
–117ns
CLCL
+50ns
CLCL
+40ns
CLCL
–133ns
CLCL
µs
1998 May 01
11
Page 12
Philips SemiconductorsProduct specification
80C51 8-bit microcontroller
8K/256 OTP, 8 channel 10 bit A/D, I2C, PWM, capture/compare, high I/O
AC ELECTRICAL CHARACTERISTICS (Continued)
SYMBOLPARAMETERINPUTOUTPUT
I2C Interface (Refer to Figure 9)
t
HD;STA
t
LOW
t
HIGH
t
RC
t
FC
t
SU;DAT1
t
SU;DAT2
t
SU;DAT3
t
HD;DAT
t
SU;STA
t
SU;STO
t
BUF
t
RD
t
FD
STAR T condition hold time≥ 14 t
SCL low time≥ 16 t
SCL high time≥ 14 t
SCL rise time≤ 1µs–
SCL fall time≤ 0.3µs< 0.3µs
Data set-up time≥ 250ns> 20 t
SDA set-up time (before rep. STAR T cond.)≥ 250ns> 1µs
SDA set-up time (before STOP cond.)≥ 250ns> 8 t
Data hold time≥ 0ns> 8 t
Repeated START set-up time≥ 14 t
STOP condition set-up time≥ 14 t
Bus free time≥ 14 t
SDA rise time≤ 1µs–
SDA fall time≤ 0.3µs< 0.3µs
NOTES:
1. At 100 kbit/s. At other bit rates this value is inversely proportional to the bit-rate of 100 kbit/s.
2. Determined by the external bus-line capacitance and the external bus-line pull-resistor, this must be < 1µs.
3. Spikes on the SDA and SCL lines with a duration of less than 3 t
SCL = 400pF.
4. t
= 1/f
CLCL
interface meets the I
= one oscillator clock period at pin XTAL1. For 62ns (42s) < t
OSC
2
C-bus specification for bit-rates up to 100 kbit/s.
5. These values are guaranteed but not 100% production tested.
5
CLCL
CLCL
CLCL
CLCL
CLCL
CLCL
will be filtered out. Maximum capacitance on bus-lines SDA and
CLCL
< 285ns (16MHz (24Hz) > f
CLCL
OSC
> 4.0µs
> 4.7µs
> 4.0µs
CLCL
CLCL
> 4.7µs
> 4.0µs
> 4.7µs
> 3.5MHz) the SI01
87C552
1
1
1
2
3
– t
RD
1
CLCL
– t
FC
1
1
1
2
3
1998 May 01
12
Page 13
Philips SemiconductorsProduct specification
80C51 8-bit microcontroller
8K/256 OTP, 8 channel 10 bit A/D, I2C, PWM, capture/compare, high I/O
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)
L – Logic level low, or ALE
t
ALE
PSEN
PORT 0
LHLL
t
t
AVLL
LLPL
t
LLAX
A0–A7A0–A7
t
LLIV
t
PLIV
t
PLPH
t
PLAZ
t
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
PXIZ
PXIX
INSTR IN
= Time for address valid to ALE low.
AVLL
t
= Time for ALE low to PSEN low.
LLPL
87C552
ALE
PSEN
PORT 0
PORT 2
RD
PORT 2
t
AVLL
t
LLAX
A0–A7
FROM RI OR DPL
t
AVWL
t
AVIV
A0–A15A8–A15
Figure 2. External Program Memory Read Cycle
t
WHLH
t
LLDV
t
LLWL
t
RLAZ
t
AVDV
P2.0–P2.7 OR A8–A15 FROM DPHA0–A15 FROM PCH
t
RLDV
t
RLRH
t
RHDZ
t
RHDX
DATA INA0–A7 FROM PCLINSTR IN
SU00006
1998 May 01
SU00007
Figure 3. External Data Memory Read Cycle
13
Page 14
Philips SemiconductorsProduct specification
80C51 8-bit microcontroller
8K/256 OTP, 8 channel 10 bit A/D, I2C, PWM, capture/compare, high I/O
ALE
t
WHLH
PSEN
t
WLWH
t
DW
DATA OUTA0–A7 FROM PCLINSTR IN
WR
PORT 0
PORT 2
t
AVLL
t
t
LLAX
A0–A7
FROM RI OR DPL
t
AVWL
LLWL
t
QVWX
P2.0–P2.7 OR A8–A15 FROM DPHA8–A15 FROM PCH
t
WHQX
87C552
INSTRUCTION
ALE
CLOCK
OUTPUT DATA
WRITE TO SBUF
INPUT DATA
CLEAR RI
SU00213
Figure 4. External Data Memory Write Cycle
0.8V
t
t
HIGH
V
IH1
V
IH1
0.8V
t
LOW
r
V
IH1
0.8V0.8V
t
CLCL
t
f
V
IH1
SU00214
Figure 5. External Clock Drive XTAL1
012345678
t
XLXL
t
t
QVXH
t
XHDV
VALIDVALIDVALIDVALIDVALIDVALIDVALIDVALID
XHQX
12304567
t
XHDX
SET TI
SET RI
SU00027
Figure 6. Shift Register Mode Timing
1998 May 01
14
Page 15
Philips SemiconductorsProduct specification
80C51 8-bit microcontroller
8K/256 OTP, 8 channel 10 bit A/D, I2C, PWM, capture/compare, high I/O
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 for a logic ‘1’ and 0.8V for a logic ‘0’.
2.0V
0.8V
Test Points
Figure 7. AC Testing Input/Output
2.4V
0.45V0.45V
NOTE:
The float state is defined as the point at which a port 0 pin sinks 3.2mA or sources 400µA at the voltage test levels.
2.0V
0.8V
Float
Figure 8. AC Testing Input, Float Waveform
2.0V
0.8V
2.0V
0.8V
87C552
SU00215
2.4V
SU00216
START or repeated START condition
SDA
(INPUT/OUTPUT)
SCL
(INPUT/OUTPUT)
t
FDtRC
t
HD;STA
t
LOW
t
RD
t
HIGH
repeated START condition
STOP condition
t
FC
t
SU;DAT1
t
HD;DAT
Figure 9. Timing SIO1 (I2C) Interface
t
t
SU;DAT2
SU;STA
t
SU;STO
0.7 V
0.3 V
t
SU;DAT3
CC
CC
t
BUF
START condition
0.7 V
CC
0.3 V
CC
SU00107A
1998 May 01
15
Page 16
Philips SemiconductorsProduct specification
80C51 8-bit microcontroller
8K/256 OTP, 8 channel 10 bit A/D, I2C, PWM, capture/compare, high I/O
50
40
30
mA
I
DD
20
10
NOTE:
These values are valid only within the frequency
specifications of the device under test.
Figure 10. 16MHz Version Supply Current (IDD) as a Function of Frequency at XTAL1 (f
0
0
f (MHz)
124168
(1)
(2)
(3)
(4)
(1) Maximum operating mode; VDD = 6V
(2) Maximum operating mode; V
(3) Maximum idle mode; V
(4) Maximum idle mode; V
OSC
)
87C552
= 4V
DD
= 6V
DD
= 4V
DD
SU00217
V
DD
P1.6
(NC)
CLOCK SIGNAL
P1.7
V
DD
RST
STADC
XTAL2
XTAL1
V
SS
V
DD
EW
AV
AV
ref–
Figure 11. IDD Test Condition, Active Mode
All other pins are disconnected
1. Active Mode:
a. The following pins must be forced to V
b. The following pins must be forced to V
c. Ports 1.6 and 1.7 should be connected to V
exceed the I
spec of these pins.
OL1
: EA, RST, Port 0, and EW.
DD
: STADC, AVss, and AV
SS
through resistors of sufficiently high value such that the sink current into these pins cannot
DD
ref–
.
d. The following pins must be disconnected: XTAL2 and all pins not specified above.
P0
SS
EA
V
DD
I
DD
V
DD
SU00218
1
1998 May 01
16
Page 17
Philips SemiconductorsProduct specification
80C51 8-bit microcontroller
8K/256 OTP, 8 channel 10 bit A/D, I2C, PWM, capture/compare, high I/O
V
DD
P1.6
P1.7
RST
STADC
(NC)
CLOCK SIGNAL
XTAL2
XTAL1
V
SS
Figure 12. IDD Test Condition, Idle Mode
All other pins are disconnected
2. Idle Mode:
a. The following pins must be forced to V
b. The following pins must be forced to V
c. Ports 1.6 and 1.7 should be connected to V
exceed the I
spec of these pins. These pins must not have logic 0 written to them prior to this measurement.
OL1
: Port 0 and EW.
DD
: RST, STADC, AVss,, AV
SS
through resistors of sufficiently high value such that the sink current into these pins cannot
DD
d. The following pins must be disconnected: XTAL2 and all pins not specified above.
, and EA.
ref–
V
DD
P0
EW
EA
AV
SS
AV
ref–
87C552
V
DD
I
DD
V
DD
SU00219
2
VDD–0.5
0.5V
0.7V
DD
0.2VDD–0.1
t
CHCL
t
CLCX
t
CLCL
Figure 13. Clock Signal Waveform for IDD Tests in Active and Idle Modes
= t
t
CLCH
V
DD
P1.6
P1.7
RST
STADC
(NC)
XTAL2
XTAL1
V
SS
CHCL
= 5ns
AV
Figure 14. IDD Test Condition, Power Down Mode
All other pins are disconnected. V
3. Power Down Mode:
a. The following pins must be forced to V
b. The following pins must be forced to V
c. Ports 1.6 and 1.7 should be connected to V
exceed the I
spec of these pins. These pins must not have logic 0 written to them prior to this measurement.
OL1
: Port 0 and EW.
DD
: RST, STADC, XTAL1, AVss,, AV
SS
through resistors of sufficiently high value such that the sink current into these pins cannot
DD
d. The following pins must be disconnected: XTAL2 and all pins not specified above.
t
CHCX
t
CLCH
V
DD
P0
EW
EA
AV
SS
ref–
= 2V to 5.5V
DD
, and EA.
ref–
I
DD
SU00220
V
DD
V
DD
SU00221
3
1998 May 01
17
Page 18
Philips SemiconductorsProduct specification
80C51 8-bit microcontroller
8K/256 OTP, 8 channel 10 bit A/D, I2C, PWM, capture/compare, high I/O
EPROM CHARACTERISTICS
The 87C552 is programmed by using a modified Quick-Pulse
Programming algorithm. It differs from older methods in the value
used for V
number of the ALE/PROG
The 87C552 contains two signature bytes that can be read and used
by an EPROM programming system to identify the device. The
signature bytes identify the device as an 87C552 manufactured by
Philips.
Table 3 shows the logic levels for reading the signature byte, and for
programming the program memory, the encryption table, and the
lock bits. The circuit configuration and waveforms for quick-pulse
programming are shown in Figures 15 and 16. Figure 17 shows the
circuit configuration for normal program memory verification.
(programming supply voltage) and in the width and
PP
pulses.
Quick-Pulse Programming
The setup for microcontroller quick-pulse programming is shown in
Figure 15. Note that the 87C552 is running with a 4 to 6MHz
oscillator. The reason the oscillator needs to be running is that the
device is executing internal address and program data transfers.
The address of the EPROM location to be programmed is applied to
ports 1 and 2, as shown in Figure 15. The code byte to be
programmed into that location is applied to port 0. RST, PSEN
pins of ports 2 and 3 specified in Table 3 are held at the “Program
Code Data” levels indicated in Table 3. The ALE/PROG
low 25 times as shown in Figure 16.
To program the encryption table, repeat the 25-pulse programming
sequence for addresses 0 through 1FH, using the “Pgm Encryption
Table” levels. Do not forget that after the encryption table is
programmed, verification cycles will produce only encrypted data.
To program the lock bits, repeat the 25-pulse programming
sequence using the “Pgm Lock Bit” levels. After one lock bit is
, and
is pulsed
programmed, further programming of the code memory and
encryption table is disabled. However, the other lock bit can still be
programmed.
Note that the EA
maximum specified V
glitch above that voltage can cause permanent damage to the
device. The V
and overshoot.
Program V erification
If lock bit 2 has not been programmed, the on-chip program memory
can be read out for program verification. The address of the program
memory locations to be red is applied to ports 1 and 2 as shown in
Figure 17. The other pins are held at the “Verify Code Data” levels
indicated in Table 3. The contents of the address location will be
emitted on port 0. External pull-ups are required on port 0 for this
operation.
If the encryption table has been programmed, the data presented at
port 0 will be the exclusive NOR of the program byte with one of the
encryption bytes. The user will have to know the encryption table
contents in order to correctly decode the verification data. The
encryption table itself cannot be read out.
Reading the Signature Bytes
The signature bytes are read by the same procedure as a normal
verification of locations 030H and 031H, except that P3.6 and P3.7
need to be pulled to a logic low. The values are:
Any algorithm in agreement with the conditions listed in Table 3, and
which satisfies the timing specifications, is suitable.
87C552
/VPP pin must not be allowed to go above the
level for any amount of time. Even a narrow
PP
source should be well regulated and free of glitches
PP
Table 3. EPROM Programming Modes
MODERSTPSENALE/PROGEA/V
Read signature10110000
Program code data100*V
Verify code data10110011
Pgm encryption table100*V
Pgm lock bit 1100*V
Pgm lock bit 2100*V
NOTES:
1. 0 = Valid low for that pin; 1 = valid high for that pin.
= 12.75V ±0.25V.
2. V
PP
= 5V ±10% during programming and verification.
3. V
DD
* ALE/PROG
minimum of 10µs.
Trademark phrase of Intel Corporation.
receives 25 programming pulses while VPP is held at 12.75V . Each programming pulse is low for 100 µs (±10µs) and high for a
PP
PP
PP
PP
PP
P2.7P2.6P3.7P3.6
1011
1010
1111
1100
1998 May 01
18
Page 19
Philips SemiconductorsProduct specification
80C51 8-bit microcontroller
8K/256 OTP, 8 channel 10 bit A/D, I2C, PWM, capture/compare, high I/O
V
DD
P0
/V
EA
PP
ALE/PROG
PSEN
P2.7
P2.6
P2.0-P2.4
4-6MHz
A0-A7
P1
1
1
1
RST
P3.6
P3.7
XTAL2
XTAL1
V
SS
87C552
Figure 15. Programming Configuration
87C552
+5V
PGM DATA
+12.75V
25 100µs PULSES TO GROUND
0
1
0
A8-A12
SU00222
ALE/PROG:
ALE/PROG:
1
0
1
0
25 PULSES
100µs+1010µs MIN
SU00018
Figure 16. PROG Waveform
+5V
V
DD
P0
/V
EA
PP
ALE/PROG
PSEN
P2.7
P2.6
P2.0-P2.4
PGM DATA
1
1
0
0 ENABLE
0
A8-A12
4-6MHz
A0-A7
P1
1
1
1
RST
P3.6
P3.7
XTAL2
XTAL1
87C552
1998 May 01
V
SS
Figure 17. Program Verification
19
SU00223
Page 20
Philips SemiconductorsProduct specification
80C51 8-bit microcontroller
8K/256 OTP, 8 channel 10 bit A/D, I2C, PWM, capture/compare, high I/O
EPROM PROGRAMMING AND VERIFICATION CHARACTERISTICS
T
= 21°C to +27°C, VDD = 5V±10%, VSS = 0V
amb
SYMBOL
V
PP
I
PP
1/t
CLCL
t
AVGL
t
GHAX
t
DVGL
t
GHDX
t
EHSH
t
SHGL
t
GHSL
t
GLGH
t
AVQV
t
ELQZ
t
EHQZ
t
GHGL
Programming supply voltage12.513.0V
Programming supply current50mA
Oscillator frequency46MHz
Address setup to PROG low48t
Address hold after PROG48t
Data setup to PROG low48t
Data hold after PROG48t
P2.7 (ENABLE) high to V
VPP setup to PROG low10µs
VPP hold after PROG10µs
PROG width90110µs
Address to data valid48t
ENABLE low to data valid48t
Data float after ENABLE048t
PROG high to PROG low10µs
PARAMETERMINMAXUNIT
PP
48t
87C552
CLCL
CLCL
CLCL
CLCL
CLCL
CLCL
CLCL
CLCL
PROGRAMMING*VERIFICATION*
P1.0–P1.7
P2.0–P2.4
PORT 0
t
DVGL
t
ALE/PROG
EA/V
PP
P2.7
ENABLE
* FOR PROGRAMMING VERIFICATION SEE FIGURE 17.
FOR VERIFICATION CONDITIONS SEE TABLE 3.
AVGL
t
EHSH
t
GLGH
t
SHGL
ADDRESSADDRESS
t
AVQV
DATA INDATA OUT
t
GHDX
t
GHAX
t
GHGL
LOGIC 0
t
GHSL
LOGIC 1LOGIC 1
t
ELQV
Figure 18. EPROM Programming and Verification
t
EHQZ
SU00020
1998 May 01
Purchase of Philips I2C components conveys a license under the Philips’ I2C patent
to use the components in the I
2
C system provided the system conforms to the
I2C specifications defined by Philips. This specification can be ordered using the
code 9398 393 40011.
20
Page 21
Philips SemiconductorsProduct specification
80C51 8-bit microcontroller
8K/256 OTP, 8 channel 10 bit A/D, I2C, PWM, capture/compare, high I/O
8K/256 OTP, 8 channel 10 bit A/D, I2C, PWM, capture/compare, high I/O
QFP80: plastic quad flat package; 80 leads (lead length 1.95 mm); body 14 x 20 x 2.8 mmSOT318-2
87C552
1998 May 01
22
Page 23
Philips SemiconductorsProduct specification
80C51 8-bit microcontroller
8K/256 OTP, 8 channel 10 bit A/D, I2C, PWM, capture/compare, high I/O
NOTES
87C552
1998 May 01
23
Page 24
Philips SemiconductorsProduct specification
80C51 8-bit microcontroller
8K/256 OTP, 8 channel 10 bit A/D, I2C, PWM, capture/compare, high I/O
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]
87C552
[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: 05-98
Document order number:9397 750 05367
1998 May 01
24
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.