P89LPC9102_9103_9107_3 © NXP B.V. 2007. All rights reserved.
Product data sheet Rev. 03 — 10 July 2007 28 of 61
NXP Semiconductors
P89LPC9102/9103/9107
8-bit microcontrollers with two-clock accelerated 80C51 core
8.5 Watchdog oscillator option
The watchdog timer 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.
8.6 External clock input option
In this configuration, the processor clock is derived from an external source driving the
P0.5/CMPREF/CLKIN pin. The rate may be from 0 Hz up to 18 MHz. The
P0.5/CMPREF/CLKIN pin may also be used as a standard port pin. When using an
oscillator frequency above 12 MHz, the reset input function of P1.5 must be
enabled. An external circuit is required to hold the device in reset at power-up until
V
DD
has reached its specified level. When system power is removed V
DD
will fall
below the minimum specified operating voltage. When using an oscillator
Fig 11. Block diagram of P89LPC9102 oscillator control
Fig 12. Block diagram of P89LPC9103/9107 oscillator control
÷2
002aaa973
RTC
CPU
WDT
DIVM
CCLKOSCCLK
PCLK
TIMER 0
TIMER 1
WATCHDOG
OSCILLATOR
RC OSCILLATOR
WITH CLOCK
DOUBLER OPTION
(7.3728 MHz or
14.7456 MHz)
(400 kHz)
CLKIN
ADC1/
DAC1
÷2
002aaa974
RTC
CPU
WDT
DIVM
CCLKOSCCLK
PCLK
TIMER 0
TIMER 1
WATCHDOG
OSCILLATOR
(400 kHz)
CLKIN
ADC1/
DAC1
BAUD RATE
GENERATOR
UART
RC OSCILLATOR
WITH CLOCK
DOUBLER OPTION
(7.3728 MHz or
14.7456 MHz)
P89LPC9102_9103_9107_3 © NXP B.V. 2007. All rights reserved.
Product data sheet Rev. 03 — 10 July 2007 29 of 61
NXP Semiconductors
P89LPC9102/9103/9107
8-bit microcontrollers with two-clock accelerated 80C51 core
frequency above 12 MHz, in some applications, an external brownout detect circuit
may be required to hold the device in reset when V
DD
falls below the minimum
specified operating voltage.
8.7 CCLK wake-up delay
The P89LPC9102/9103/9107 has an internal wake-up timer that delays the clock until it
stabilizes depending to the clock source used.
8.8 CCLK modification: DIVM register
The OSCCLK frequency can be divided down up to 510 times by configuring a dividing
register, DIVM, to generate CCLK. This feature makes it possible to temporarily run the
CPU at a lower rate, reducing power consumption. By dividing the clock, the CPU can
retain the ability to respond to events that would not exit Idle mode by executing its normal
program at a lower rate. This can also allow bypassing the oscillator start-up time in cases
where Power-down mode would otherwise be used. The value of DIVM may be changed
by the program at any time without interrupting code execution.
8.9 Low power select
If CCLK is 8 MHz or slower, the CLKLP SFR bit (AUXR1.7) can be set to logic 1 to lower
the power consumption further. On any reset, CLKLP is logic 0.
8.10 Memory organization
The various P89LPC9102/9103/9107 memory spaces are as follows:
DATA
128 bytes of internal data memory space (00H:7FH) accessed via direct or indirect
addressing, using instruction other than MOVX and MOVC. All or part of the stack
may be in this area.
SFR
Special Function Registers. Selected CPU registers and peripheral control and status
registers, accessible only via direct addressing.
CODE
1 kB of Code memory space, accessed as part of program execution and via the
MOVC instruction.
8.11 Interrupts
The P89LPC9102 supports nine interrupt sources: timers 0 and 1, brownout detect,
watchdog timer/RTC, keyboard, comparator 1, and the A/D converter.
The P89LPC9103/9107 support nine interrupt sources: timers 0 and 1, serial port Tx,
serial port Rx, combined serial port Rx/Tx, brownout detect, watchdog timer/RTC,
keyboard, comparator, and the A/D converter.
Each interrupt source can be individually enabled or disabled by setting or clearing a bit in
the interrupt enable registers IEN0 or IEN1. The IEN0 register also contains a global
disable bit, EA, which disables all interrupts.
P89LPC9102_9103_9107_3 © NXP B.V. 2007. All rights reserved.
Product data sheet Rev. 03 — 10 July 2007 30 of 61
NXP Semiconductors
P89LPC9102/9103/9107
8-bit microcontrollers with two-clock accelerated 80C51 core
Each interrupt source can be individually programmed to one of four priority levels by
setting or clearing bits in the interrupt priority registers IP0, IP0H, IP1, and IP1H. An
interrupt service routine in progress can be interrupted by a higher priority interrupt, but
not by another interrupt of the same or lower priority. The highest priority interrupt service
cannot be interrupted by any other interrupt source. If two requests of different priority
levels are pending at the start of an instruction, the request of higher priority level is
serviced.
If requests of the same priority level are pending at the start of an instruction, an internal
polling sequence determines which request is serviced. This is called the arbitration
ranking. Note that the arbitration ranking is only used to resolve pending requests of the
same priority level.
8.11.1 External interrupt inputs
The P89LPC9102/9103/9107 has a Keypad Interrupt function. This can be used as an
external interrupt input.
If enabled when the P89LPC9102/9103/9107 is put into Power-down mode or Idle mode,
the interrupt will cause the processor to wake-up and resume operation. Refer to Section
8.14 “Power reduction modes” for details.
Fig 13. Interrupt sources, interrupt enables, and power-down wake-up sources (P89LPC9102)
002aaa976
BOF
EBO
KBIF
EKBI
interrupt
to CPU
wake-up
(if in power-down)
EWDRT
CMF
EC
EA (IE0.7)
RTCF
ERTC
(RTCCON.1)
WDOVF
TF1
ET1
TF0
ET0
ENADCI1
ADCI1
ENBI1
BNDI1
EAD

P89LPC9103FTK,115

Mfr. #:
Manufacturer:
NXP Semiconductors
Description:
IC MCU 8BIT 1KB FLASH 10HVSON
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union