87C52 NXP Semiconductors, 87C52 Datasheet - Page 9
![no-image](/images/manufacturer_photos/0/4/487/nxp_semiconductors_sml.jpg)
87C52
Manufacturer Part Number
87C52
Description
80c51 8-bit Microcontroller Family 4 K/8 K Otp/rom Low Voltage 2.7 V?5.5 V , Low Power, High Speed 33 Mhz , 128/256 B Ram
Manufacturer
NXP Semiconductors
Datasheet
1.87C52.pdf
(38 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
87C52-16
Manufacturer:
TEMIC
Quantity:
111
Company:
Part Number:
87C52P267-16CC
Manufacturer:
PHILIPS
Quantity:
837
Company:
Part Number:
87C52P267-25IB
Manufacturer:
TEMIC
Quantity:
325
Company:
Part Number:
87C52X2 S278-UM
Manufacturer:
CY
Quantity:
4
Company:
Part Number:
87C52X2-LI
Manufacturer:
TEMIC
Quantity:
1 673
Philips Semiconductors
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.
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.
Stop Clock Mode
The static design enables the clock speed to be reduced down to
0 MHz (stopped). When the oscillator is stopped, the RAM and
Special Function Registers retain their values. This mode allows
step-by-step utilization and permits reduced system power
consumption by lowering the clock frequency down to any value. For
lowest power consumption the Power Down mode is suggested.
Idle Mode
In idle mode (see Table 2), 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
To save even more power, a Power Down mode (see Table 2) can
be invoked by software. In this mode, the oscillator is stopped and
the instruction that invoked Power Down is the last instruction
executed. The on-chip RAM and Special Function Registers retain
their values down to 2.0 V and care must be taken to return V
the minimum specified operating voltages before the Power Down
Mode is terminated.
For the 87C51 and 80C51 either a hardware reset or external
interrupt can be used to exit from Power Down. Reset redefines all
Table 2. External Pin Status During Idle and Power-Down Modes
2000 Aug 07
Idle
Idle
Power-down
Power-down
80C51 8-bit microcontroller family
4 K/8 K OTP/ROM low voltage (2.7 V–5.5 V),
low power, high speed (33 MHz), 128/256 B RAM
MODE
PROGRAM MEMORY
External
External
Internal
Internal
CC
ALE
1
1
0
0
to
9
4 V. The LPEP bit (AUXR.4), when set, will powerdown these analog
PSEN
the SFRs but does not change the on-chip RAM. An external
interrupt allows both the SFRs and the on-chip RAM to retain their
values. WUPD (AUXR1.3–Wakeup from Power Down) enables or
disables the wakeup from power down with external interrupt.
Where:
To properly terminate Power Down the reset or external interrupt
should not be executed before V
operating level and must be held active long enough for the
oscillator to restart and stabilize (normally less than 10 ms).
With an external interrupt, INT0 or INT1 must be enabled and
configured as level-sensitive. Holding the pin low restarts the
oscillator but bringing the pin back high completes the exit. Once the
interrupt is serviced, the next instruction to be executed after RETI
will be the one following the instruction that put the device into
Power Down.
LPEP
The eprom array contains some analog circuits that are not required
when V
circuits resulting in a reduced supply current. This bit should be set
ONLY for applications that operate at a V
Design Consideration
ONCE
The ONCE (“On-Circuit Emulation”) Mode facilitates testing and
debugging of systems without the device having to be removed from
the circuit. The ONCE Mode is invoked by:
1. Pull ALE low while the device is in reset and PSEN is high;
2. Hold ALE low as RST is deactivated.
While the device is in ONCE Mode, the Port 0 pins go into a float
state, and the other port pins and ALE and PSEN are weakly pulled
high. The oscillator circuit remains active. While the device is in this
mode, an emulator or test CPU can be used to drive the circuit.
Normal operation is restored when a normal reset is applied.
When the idle mode is terminated by a hardware reset, the device
normally resumes program execution, from where it left off, up to
two machine cycles before the internal reset algorithm takes
control. On-chip hardware inhibits access to internal RAM in this
event, but access to the port pins is not inhibited. To eliminate the
possibility of an unexpected write when Idle is terminated by
reset, the instruction following the one that invokes Idle should not
be one that writes to a port pin or to external memory.
1
1
0
0
WUPD = 0 Disable
WUPD = 1 Enable
CC
is less than 4 V, but are required for a V
Mode
PORT 0
Float
Float
Data
Data
80C51/87C51/80C52/87C52
PORT 1
Data
Data
Data
Data
CC
is restored to its normal
CC
PORT 2
Address
Data
Data
Data
less than 4 V.
Product specification
CC
greater than
PORT 3
Data
Data
Data
Data