The Philips 80C32/87C52 is a high-performance microcontroller
fabricated with Philips high-density CMOS technology. The Philips
CMOS technology combines the high speed and density
characteristics of HMOS with the low power attributes of CMOS.
Philips epitaxial substrate minimizes latch-up sensitivity.
The 87C52 contains an 8k × 8 EPROM and the 80C32 is ROMless.
Both contain a 256 × 8 RAM, 32 I/O lines, three 16-bit
counter/timers, a six-source, 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 80C32/87C52 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 contents but freezes the oscillator, causing all other
chip functions to be inoperative.
See 80C52/80C54/80C58 datasheet for ROM device specifications.
FEA TURES
•80C51 based architecture
•8032 compatible
– 8k × 8 EPROM (87C52)
– ROMless (80C32)
– 256 × 8 RAM
– Three 16-bit counter/timers
– Full duplex serial channel
– Boolean processor
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 1s
P3.0–P3.710–1711,
RST9104IReset: A high on this pin for two machine cycles while the oscillator is running, resets the
ALE/PROG303327I/OAddress Latch Enable/Program Pulse: Output pulse for latching the low byte of the
PSEN293226OProgram Store Enable: The read strobe to external program memory. When the device is
EA/V
PP
XTAL1192115ICrystal 1: Input to the inverting oscillator amplifier and input to the internal clock generator
XTAL2182014OCrystal 2: Output from the inverting oscillator amplifier.
202216IGround: 0V reference.
404438IPower Supply: This is the power supply voltage for normal, idle, and power-down
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. Port 0 also outputs the
code bytes during program verification in the 87C52. External pull-ups are required during
program verification.
I/OPort 1: Port 1 is an 8-bit bidirectional I/O port with internal pull-ups. Port 1 pins that have 1s
1–3
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
receives the low-order address byte during program memory verification. Port 1 also serves
DIFFERENCES FROM THE 80C51
Special Function Registers
The special function register space is the same as the 80C51 except
that the 80C32/87C52 contains the additional special function
registers T2CON, RCAP2L, RCAP2H, TL2, and TH2. Since the
standard 80C51 on-chip functions are identical in the 8XC52, the
SFR locations, bit locations, and operation are likewise identical.
The only exceptions are in the interrupt mode and interrupt priority
SFRs (see Table 1).
Timer/Counters
In addition to timer/counters 0 and 1 of the 80C51, the 80C32/87C52
contains timer/counter 2. Like timers 0 and 1, timer 2 can operate as
either an event timer or as an event counter. This is selected by bit
C/T2 in the special function register T2CON (see Figure 1). It has
three operating modes: capture, auto-load, and baud rate generator,
which are selected by bits in the T2CON as shown in Table 2.
In the Capture Mode there are two options which are selected by bit
EXEN2 in T2CON. If EXEN2 = 0, then Timer 2 is a 16-bit timer or
counter which upon overflowing sets bit TF2, the Timer 2 overflow
bit, which can be used to generate an interrupt. If EXEN2 = 1, then
Timer 2 still does the above, but with the added feature that a 1-to-0
transition at external input T2EX causes the current value in the
Timer 2 registers, TL2 and TH2, to be captured into registers
RCAP2L and RCAP2H, respectively. (RCAP2L and RCAP2H are
new special function registers in the 80C52.) In addition, the
transition at T2EX causes bit EXF2 in T2CON to be set, and EXF2
like TF2 can generate an interrupt. The Capture Mode is illustrated
in Figure 2.
In the auto-reload mode, there are again two options, which are
selected by bit EXEN2 in T2CON. If EXEN2 = 0, then when Timer 2
rolls over it not only sets TF2 but also causes the Timer 2 registers
to be reloaded with the 16-bit value in registers RCAP2L and
RCAP2H, which are preset by software. If EXEN2 = 1, then Timer 2
still does the above, but with the added feature that a 1-to-0
transition at external input T2EX will also trigger the 16-bit reload
and set EXF2. The auto-reload mode is illustrated in Figure 3.
The baud rate generation mode is selected by RCLK = 1 and/or
TCLK = 1. It will be described in conjunction with the serial port.
Serial Port
The serial port of the 8XC52 is identical to that of the 80C51 except
that counter/timer 2 can be used to generate baud rates.
In the 8XC52, Timer 2 is selected as the baud rate generator by
setting TCLK and/or RCLK in T2CON (see Figure 1). Note that the
baud rate for transmit and receive can be simultaneously different.
Setting RCLK and/or TCLK puts Timer into its baud rate generator
mode, as shown in Figure 4.
The baud rate generator mode is similar to the auto-reload mode, in
that a rollover in TH2 causes the Timer 2 registers to be reloaded
with the 16-bit value in registers RCAP2H and RCAP2L, which are
preset by software.
Now, the baud rates in Modes 1 and 3 are determined by T imer 2’s
overflow rate as follows:
Modes 1, 3 Baud Rate
The timer can be configured for either “timer” or “counter” operation.
In the most typical applications, it is configured for “timer” operation
(C/T2 = 0). “Timer” operation is a little different for Timer 2 when it’s
being used as a baud rate generator. Normally, as a timer it would
increment every machine cycle (thus at 1/12 the oscillator
frequency). As a baud rate generator, however, it increments every
state time (thus at 1/2 the oscillator frequency). In that case the
baud rate is given by the formula:
Modes 1, 3 Baud Rate
where (RCAP2H, RCAP2L) is the content of RCAP2H and RCAP2L
taken as a 16-bit unsigned integer.
Timer 2 Overflow Rate
16
Oscillator Frequency
32 [65536 (RCAP2H, RCAP2L)]
SymbolPositionName and Significance
TF2T2CON.7Timer 2 overflow flag set by a Timer 2 overflow and must be cleared by software. TF2 will not be set when either RCLK or TCLK = 1.
EXF2T2CON.6Timer 2 external flag set when either a capture or reload is caused by a negative transition on T2EX and EXEN2 = 1. When Timer 2
RCLKT2CON.5Receive clock flag. When set, causes the serial port to use Timer 2 overflow pulses for its receive clock in modes 1 and 3. RCLK = 0
TCLKT2CON.4Transmit clock flag. When set, causes the serial port to use Timer 2 overflow pulses for its transmit clock in modes 1 and 3. TCLK = 0
EXEN2T2CON.3Timer 2 external enable flag. When set, allows a capture or reload to occur as a result of a negative transition on T2EX if Timer 2 is not
TR2T2CON.2Start/stop control for Timer 2. A logic 1 starts the timer.
C/T2T2CON.1Timer or counter select. (Timer 2)
CP/RL2
1996 Aug 16
(MSB)(LSB)
EXF2RCLKTCLK EXEN2TR2C/T2CP/RL2
TF2
interrupt is enabled, EXF2 = 1 will cause the CPU to vector to the Timer 2 interrupt routine. EXF2 must be cleared by software.
causes Timer 1 overflow to be used for the receive clock.
causes Timer 1 overflows to be used for the transmit clock.
being used to clock the serial port. EXEN2 = 0 causes Timer 2 to ignore events at T2EX.
T2CON.0Capture/Reload flag. When set, captures will occur on negative transitions at T2EX if EXEN2 = 1. When cleared, auto-reloads will
occur either with Timer 2 overflows or negative transitions at T2EX when EXEN2 = 1. When either RCLK = 1 or TCLK = 1, this bit is
ignored and the timer is forced to auto-reload on Timer 2 overflow.
Figure 1. Timer/Counter 2 (T2CON) Control Register
Timer 2 as a baud rate generator is shown in Figure 4. This figure is
valid only if RCLK + TCLK = 1 in T2CON. Note that a rollover in TH2
does not set TF2, and will not generate an interrupt. Therefore, the
Timer 2 interrupt does not have to be disabled when Timer 2 is in
the baud rate generator mode. Note too, that if EXEN2 is set, a
1-to-0 transition in T2EX will set EXF2 but will not cause a reload
from (RCAP2H, RCAP2L) to (TH2, TL2). Thus when Timer 2 is in
use as a baud rate generator, T2EX can be used as an extra
external interrupt, if desired.
It should be noted that when Timer 2 is running (TR2 = 1) in “timer”
function in the baud rate generator mode, one should not try to read
or write TH2 or TL2. Under these conditions the timer is being
incremented every state time, and the results of a read or write may
not be accurate. The RCAP registers may be read, but should not
be written to, because a write might overlap a reload and cause
write and/or reload errors. Turn the timer off (clear TR2) before
accessing the Timer 2 or RCAP registers, in this case.
1996 Aug 16
Timer/Counter 2 Set-up
Except for the baud rate generator mode, the values given for
T2CON do not include the setting of the TR2 bit. Therefore, bit TR2
must be set, separately, to turn the timer on. See Table 3 for set-up
of timer 2 as a timer. See Table 4 for set-up of timer 2 as a counter.
Using Timer/Counter 2 to Generate Baud Rates
For this purpose, Timer 2 must be used in the baud rate generating
mode. If Timer 2 is being clocked through pin T2 (P1.0) the baud
rate is:
Baud Rate
And if it is being clocked internally, the baud rate is:
Baud Rate
To obtain the reload value for RCAP2H and RCA02L, the above
equation can be rewritten as:
The 80C32/87C52 has 6 interrupt sources. All except TF2 and EXF2
are identical sources to those in the 80C51.
The Interrupt Enable Register and the Interrupt Priority Register are
modified to include the additional 80C32/87C52 interrupt sources.
The operation of these registers is identical to the 80C51.
In the 80C32/87C52, the Timer 2 Interrupt is generated by the
logical OR of TF2 and EXF2. Neither of these flags is cleared by
hardware when the service routine is vectored to. In fact, the service
routine may have to determine whether it was TF2 or EXF2 that
generated the interrupt, and the bit will have to be cleared in
software.
All of the bits that generate interrupts can be set or cleared by
software, with the same result as though it has been set or cleared
by hardware. That is, interrupts can be generated or pending
interrupts can be canceled in software.
The interrupt vector addresses and the interrupt priority for requests
in the same priority level are given in the following:
SourceVector Priority Within
AddressLevel
1. IE00003H(highest)
2. TF0000BH
3. IE10013H
4. TF1001BH
5. RI + TI0023H
6. TF2 + EXF2002BH(lowest)
Note that they are identical to those in the 80C51 except for the
addition of the Timer 2 (TF1 and EXF2) interrupt at 002BH and at
the lowest priority within a level.
Table 3. Timer 2 as a Timer
MODET2CON
INTERNAL CONTROL
(Note 1)
16-bit Auto-Reload00H08H
16-bit Capture01H09H
Baud rate generator receive and transmit same baud rate34H36H
Receive only24H26H
Transmit only14H16H
EXTERNAL CONTROL
(Note 2)
Table 4. Timer 2 as a Counter
MODETMOD
INTERNAL CONTROL
(Note 1)
16-bit02H0AH
Auto-Reload03H0BH
NOTES:
1. Capture/reload occurs only on timer/counter overflow.
2. Capture/reload occurs on timer/counter overflow and a 1-to-0 transition on T2EX (P1.1) pin except when timer 2 is used in the baud rate
generator mode.
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 4.
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.
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 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.
DESIGN CONSIDERATIONS
At power-on, the voltage on VCC and RST must come up at the
same time for a proper start-up.
Table 5 shows the state of I/O ports during low current operating
modes.
As a precaution to coming out of an unexpected power down, INT0
and INT1 should be disabled prior to enterring power down.
Table 5. External Pin Status During Idle and Power-Down Modes
Electrical Deviations from Commercial Specifications for Extended Temperature Range (87C52)
DC and AC parameters not included here are the same as in the commercial temperature range table.
DC ELECTRICAL CHARACTERISTICS
T
= –40°C to +85°C, VCC = 5V ±10%, VSS = 0V
amb
TESTLIMITS
SYMBOLPARAMETERCONDITIONSMINMAXUNIT
V
IL
V
IL1
V
IH
V
IH1
I
IL
I
TL
I
CC
Input low voltage, except EA–0.50.2VCC–0.15V
Input low voltage to EA00.2VCC–0.35V
Input high voltage, except XTAL1, RST0.2VCC+1VCC+0.5V
Input high voltage to XTAL1, RST0.7VCC+0.1VCC+0.5V
Logical 0 input current, ports 1, 2, 3VIN = 0.45V–75µA
Logical 1-to-0 transition current, ports 1, 2, 3VIN = 2.0V–750µA
Power supply current:
Active mode
Idle mode
Power-down mode
VCC = 4.5–5.5V ,
Frequency range =
3.5 to 16MHz
32
50
5
mA
µA
mA
ABSOLUTE MAXIMUM RATINGS
1, 2, 3
PARAMETERRATINGUNIT
Operating temperature under bias0 to +70 or –40 to +85°C
Storage temperature range–65 to +150°C
Voltage on EA/VPP pin to V
Voltage on any other pin to V
SS
SS
0 to +13.0V
–0.5 to +6.5V
Maximum IOL per I/O pin15mA
Power dissipation (based on package heat transfer limitations, not
1.5W
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.
1. Typical ratings are not guaranteed. The values listed are at room temperature, 5V.
2. 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
s of ALE and ports 1 and 3. The noise is due
OL
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.
3. Capacitive loading on ports 0 and 2 may cause the V
address bits are stabilizing.
on ALE and PSEN to momentarily fall below the 0.9VCC specification when the
OH
can exceed these conditions provided that no
OL
4. Pins of ports 1, 2 and 3 source a transition current when they are being externally driven from 1 to 0. The transition current reaches its
maximum value when V
5. I
at other frequencies is given by: Active mode: I
CCMAX
where FREQ is the external oscillator frequency in MHz. I
6. See Figures 13 through 16 for I
7. These values apply only to T
8. Load capacitance for port 0, ALE, and PSEN
9. Under steady state (non-transient) conditions, I
exceeds the test condition, VOL may exceed the related specification. Pins are not guaranteed to sink current greater than the listed
If I
OL
test conditions.
is approximately 2V .
IN
test conditions.
CC
= 0°C to +70°C. For T
amb
Maximum I
Maximum I
Maximum total I
per port pin:15mA (*NOTE: This is 85°C specification.)
OL
per 8-bit port:26mA
OL
= 1.5 × FREQ + 8.0: Idle mode: I
CCMAX
amb
is given in mA. See Figure 12.
CCMAX
= –40°C to +85°C, see table on previous page.
= 100pF, load capacitance for all other outputs = 80pF .
must be externally limited as follows:
OL
for all outputs:67mA
OL
CCMAX
10.This limit is for plastic packages. For ceramic packages, the maximum limit is 20pF.
= 0°C to +70°C or –40°C to +85°C, VCC = 5V ±10%, VSS = 0V (87C52)
amb
1, 2, 3
16MHz CLOCKVARIABLE CLOCK
SYMBOLFIGUREPARAMETERMINMAXMINMAXUNIT
1/t
t
LHLL
t
AVLL
t
LLAX
t
LLIV
t
LLPL
t
PLPH
t
PLIV
t
PXIX
t
PXIZ
t
AVIV
t
PLAZ
CLCL
5Oscillator frequency
Speed versions: E
5ALE pulse width852t
5Address valid to ALE low22t
5Address hold after ALE low32t
5ALE low to valid instruction in1504t
5ALE low to PSEN low32t
5PSEN pulse width1423t
5PSEN low to valid instruction in823t
3.516MHz
–40ns
CLCL
–40ns
CLCL
–30ns
CLCL
–100ns
CLCL
–30ns
CLCL
–45ns
CLCL
–105ns
CLCL
5Input instruction hold after PSEN00ns
5Input instruction float after PSEN37t
5Address to valid instruction in2075t
–25ns
CLCL
–105ns
CLCL
5PSEN low to address float1010ns
Data Memory
t
RLRH
t
WLWH
t
RLDV
t
RHDX
t
RHDZ
t
LLDV
t
AVDV
t
LLWL
t
AVWL
t
QVWX
t
WHQX
t
QVWH
t
RLAZ
t
WHLH
6, 7RD pulse width2756t
6, 7WR pulse width2756t
6, 7RD low to valid data in1475t
–100ns
CLCL
–100ns
CLCL
–165ns
CLCL
6, 7Data hold after RD00ns
6, 7Data float after RD652t
6, 7ALE low to valid data in3508t
6, 7Address to valid data in3979t
6, 7ALE low to RD or WR low1372393t
6, 7Address valid to WR low or RD low1224t
6, 7Data valid to WR transition13t
6, 7Data hold after WR13t
7Data valid to WR high2877t
–503t
CLCL
–130ns
CLCL
–50ns
CLCL
–50ns
CLCL
–150ns
CLCL
–60ns
CLCL
–150ns
CLCL
–165ns
CLCL
+50ns
CLCL
6, 7RD low to address float00ns
6, 7RD or WR high to ALE high23103t
–40t
CLCL
+40ns
CLCL
External Clock
t
CHCX
t
CLCX
t
CLCH
t
CHCL
9High time2020t
9Low time2020t
CLCL–tCLCX
CLCL–tCHCX
9Rise time2020ns
9Fall time2020ns
Shift Register
t
XLXL
t
QVXH
t
XHQX
t
XHDX
t
XHDV
8Serial port clock cycle time75012t
8Output data setup to clock rising edge49210t
8Output data hold after clock rising edge82t
CLCL
–133ns
CLCL
–117ns
CLCL
8Input data hold after clock rising edge00ns
8Clock rising edge to input data valid49210t
–133ns
CLCL
NOTES:
1. Parameters are valid over operating temperature range unless otherwise specified.
2. Load capacitance for port 0, ALE, and PSEN
= 100pF, load capacitance for all other outputs = 80pF .
3. Interfacing the 80C32/52 to devices with float times up to 45ns is permitted. This limited bus contention will not cause damage to Port 0
drivers.
4. See application note AN457 for external memory interface.
= 0°C to +70°C or –40°C to +85°C, VCC = 5V ±10%, VSS = 0V
amb
1, 2, 3
24MHz CLOCKVARIABLE CLOCK33MHz CLOCK
SYMBOLFIGUREPARAMETERMINMAXMINMAXMINMAXUNIT
1/t
t
LHLL
t
AVLL
t
LLAX
t
LLIV
t
LLPL
t
PLPH
t
PLIV
t
PXIX
t
PXIZ
t
AVIV
t
PLAZ
CLCL
5Oscillator frequency
Speed versions : I
3.524
:N
5ALE pulse width432t
5Address valid to ALE low17t
5Address hold after ALE low17t
–4021ns
CLCL
–255ns
CLCL
–255ns
CLCL
5ALE low to valid instruction in1024t
5ALE low to PSEN low17t
5PSEN pulse width803t
–255ns
CLCL
–4546ns
CLCL
5PSEN low to valid instruction in653t
3.533
–6556ns
CLCL
–6031ns
CLCL
MHz
5Input instruction hold after PSEN000ns
5Input instruction float after PSEN17t
5Address to valid instruction in1285t
–255ns
CLCL
–8072ns
CLCL
5PSEN low to address float101010ns
Data Memory
t
RLRH
t
WLWH
t
RLDV
t
RHDX
t
RHDZ
t
LLDV
t
AVDV
t
LLWL
t
AVWL
t
QVWX
t
WHQX
t
QVWH
t
RLAZ
t
WHLH
6, 7RD pulse width1506t
6, 7WR pulse width1506t
6, 7RD low to valid data in1185t
–10082ns
CLCL
–10082ns
CLCL
–9062ns
CLCL
6, 7Data hold after RD000ns
6, 7Data float after RD552t
6, 7ALE low to valid data in1838t
6, 7Address to valid data in2109t
6, 7ALE low to RD or WR low751753t
6, 7Address valid to WR low or RD low924t
6, 7Data valid to WR transition12t
6, 7Data hold after WR17t
7Data valid to WR high1627t
–503t
CLCL
–7546ns
CLCL
–300.3ns
CLCL
–255ns
CLCL
–13082ns
CLCL
–2833ns
CLCL
–15092ns
CLCL
–165108ns
CLCL
+5041141ns
CLCL
6, 7RD low to address float000ns
6, 7RD or WR high to ALE high1767t
CLCL
–25t
+2555ns
CLCL
External Clock
t
CHCX
t
CLCX
t
CLCH
t
CHCL
9High time1717t
9Low time1717t
CLCL–tCLCX
CLCL–tCHCX
ns
ns
9Rise time55ns
9Fall time55ns
Shift Register
t
XLXL
t
QVXH
t
XHQX
t
XHDX
t
XHDV
8Serial port clock cycle time50512t
8Output data setup to clock rising edge28310t
8Output data hold after clock rising edge32t
CLCL
CLCL
CLCL
–133170ns
–8019ns
363ns
8Input data hold after clock rising edge000ns
8Clock rising edge to input data valid28310t
–133170ns
CLCL
NOTES:
1. Parameters are valid over operating temperature range unless otherwise specified.
2. Load capacitance for port 0, ALE, and PSEN
= 100pF, load capacitance for all other outputs = 80pF .
3. Interfacing the 8XC52 to devices with float times up to 45ns is permitted. This limited bus contention will not cause damage to Port 0 drivers.
4. Variable clock is specified for oscillator frequencies greater than 16MHz to 33MHz. For frequencies equal or less than 16MHz, see 16MHz
“AC Electrial Characteristics”, page 15.
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
LHLL
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
NOTE:
AC inputs during testing are driven at VCC –0.5 for a logic ‘1’ and 0.45V for a logic ‘0’.
Timing measurements are made at VIH min for a logic ‘1’ and VIL max for a logic ‘0’.
0.2V
0.2V
CC
CC
+0.9
–0.1
Figure 10. AC Testing Input/Output
V
+0.1V
V
LOAD
LOAD
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
V
LOAD
–0.1V
TIMING
REFERENCE
POINTS
OH/VOL
VOH–0.1V
VOL+0.1V
level occurs. IOH/IOL ≥±20mA.
Figure 11. Float Waveform
65
60
55
MAX ACTIVE MODE
ICCMAX = 1.5 X FREQ. + 8.0
SU00010
SU00011
50
45
40
35
I
mA
CC
30
25
20
15
10
5
4MHz 8MHz 12MHz 16MHz
TYP ACTIVE MODE
MAX IDLE MODE
20MHz
FREQ AT XTAL1
TYP IDLE MODE
24MHz 28MHz 32MHz 36MHz
Figure 12. ICC vs. FREQ
Valid only within frequency specifications of the device under test
SU00070B
1996 Aug 16
19
Loading...
+ 43 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.