p89lpc904 NXP Semiconductors, p89lpc904 Datasheet - Page 13

no-image

p89lpc904

Manufacturer Part Number
p89lpc904
Description
8-bit Microcontrollers With Two-clock Accelerated 80c51 Core 1 Kb 3 V Byte-erasable Flash With 8-bit A/d Converter
Manufacturer
NXP Semiconductors
Datasheet
Philips Semiconductors
8. Functional description
9397 750 13521
Preliminary data
8.2.1 Clock definitions
8.2.2 CPU clock (CCLK)
8.1 Enhanced CPU
8.2 Clocks
8.3 On-chip RC oscillator option
8.4 Watchdog oscillator option
Remark: Please refer to the P89LPC904 User’s Manual for a more detailed
functional description.
The P89LPC904 uses an enhanced 80C51 CPU which runs at 6 times the speed of
standard 80C51 devices. A machine cycle consists of two CPU clock cycles, and
most instructions execute in one or two machine cycles.
The P89LPC904 device has internal clocks as defined below:
OSCCLK — Input to the DIVM clock divider. OSCCLK is selected from one of the
clock sources (see
(see
Note: f
CCLK — CPU clock; output of the clock divider. There are two CCLK cycles per
machine cycle, and most instructions are executed in one to two machine cycles (two
or four CCLK cycles).
RCCLK — The internal 7.373 MHz RC oscillator output.
PCLK — Clock for the various peripheral devices and is CCLK/2
The P89LPC904 provides several user-selectable options in generating the CPU
clock. This allows optimization for a range of needs from high precision to lowest
possible cost. These options are configured when the FLASH is programmed and
include an on-chip Watchdog oscillator and an on-chip RC oscillator.
The P89LPC904 has a 6-bit TRIM register that can be used to tune the frequency of
the RC oscillator. During reset, the TRIM value is initialized to a factory
pre-programmed value to adjust the oscillator frequency to 7.373 MHz, 1 % at room
temperature. End-user applications can write to the Trim register to adjust the on-chip
RC oscillator to other frequencies. If CCLK is 8 MHz or slower, the CLKLP SFR bit
(AUXR1.7) can be set to logic 1 to reduce power consumption. On reset, CLKLP is
logic 0 allowing highest performance access. This bit can then be set in software if
CCLK is running at 8 MHz or slower.
The Watchdog has a separate oscillator which has a frequency of 400 kHz. This
oscillator can be used to save power when a high clock frequency is not needed.
Section 8.7 “CPU CLOCK (CCLK) modification: DIVM
ext
is defined as the OSCCLK frequency.
Rev. 02 — 25 June 2004
Figure
8-bit microcontrollers with two-clock accelerated 80C51 core
4) and can also be optionally divided to a slower frequency
© Koninklijke Philips Electronics N.V. 2004. All rights reserved.
register”).
P89LPC904
13 of 41

Related parts for p89lpc904