p87lpc778 NXP Semiconductors, p87lpc778 Datasheet - Page 12

no-image

p87lpc778

Manufacturer Part Number
p87lpc778
Description
Cmos Single-chip 8-bit 80c51 Microcontroller 128-byte Data Ram, 8 Kb Otp
Manufacturer
NXP Semiconductors
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
p87lpc778FDH
Manufacturer:
PHILIPS/飞利浦
Quantity:
20 000
Part Number:
p87lpc778FDH/CP3242
Manufacturer:
SAMSUNG
Quantity:
50
Part Number:
p87lpc778FDH/CP3242
Manufacturer:
PHILIPS/飞利浦
Quantity:
20 000
Philips Semiconductors
8. Functional description
9397 750 12378
Product data
8.1 Enhanced CPU
8.2 Analog functions
8.3 Analog to digital converter
Remark: Please refer to the P87LPC778 User’s Manual for a more detailed
functional description.
The P87LPC778 uses an enhanced 80C51 CPU which runs at twice the speed of
standard 80C51 devices. This means that the performance of the P87LPC778
running at 5 MHz is exactly the same as that of a standard 80C51 running at 10 MHz.
A machine cycle consists of 6 oscillator cycles, and most instructions execute in 6 or
12 clocks. A user configurable option allows restoring standard 80C51 execution
timing. In that case, a machine cycle becomes 12 oscillator cycles.
In the following sections, the term ‘CPU clock’ is used to refer to the clock that
controls internal instruction execution. This may sometimes be different from the
externally applied clock, as in the case where the part is configured for standard
80C51 timing by means of the CLKR configuration bit or in the case where the clock
is divided down via the setting of the DIVM register. These features are described in
Section 8.10 “Oscillator” on page
The P87LPC778 incorporates analog peripheral functions: an Analog to Digital
Converter, two Analog Comparators. In order to give the best analog function
performance and to minimize power consumption, pins that are actually being used
for analog functions must have the digital outputs and the digital inputs must also be
disabled.
Digital outputs are disabled by putting the port output into the Input Only (high
impedance) mode as described in
Digital inputs on port 0 may be disabled through the use of the PT0AD register. Each
bit in this register corresponds to one pin of Port 0. Setting the corresponding bit in
PT0AD disables that pin’s digital input. Port bits that have their digital inputs disabled
will be read as 0 by any instruction that accesses the port.
The P87LPC778 incorporates a four channel, 8-bit A/D converter. The A/D inputs are
alternate functions on four port 0 pins. Because the device has a very limited number
of pins, the A/D power supply and references are shared with the processor power
pins, V
The A/D converter circuitry consists of a 4-input analog multiplexer and an 8-bit
successive approximation ADC. The A/D employs a ratiometric potentiometer which
guarantees DAC monotonicity.
The A/D converter is controlled by the special function register ADCON. Details of
ADCON are shown in Tables
ENADC bit at least 10 microseconds before a conversion is started, to allow time for
DD
and V
SS
. The A/D converter operates down to a V
Rev. 01 — 31 March 2004
4
and 5. The A/D must be enabled by setting the
39.
Section 8.9 “I/O ports” on page
CMOS single-chip 8-bit microcontroller
© Koninklijke Philips Electronics N.V. 2004. All rights reserved.
DD
P87LPC778
supply of 3.0 V.
34.
12 of 79

Related parts for p87lpc778