Philips Semiconductors

User’s Manual - Preliminary -

 

 

 

REAL-TIME CLOCK/SYSTEM TIMER

P89LPC906/907/908

 

 

 

 

Power-On

 

 

 

 

 

Reset

 

 

RTCH

 

RTCL

RTC Reset

 

XTAL2 XTAL1

Reload on underflow

 

 

 

 

 

 

 

 

Low freq.

 

 

 

 

 

Med. freq.

MSB

 

LSB

7-bit prescaler

 

High freq.

 

23-bit down counter

÷ 128

 

CCLK

Wake up from

 

 

 

 

Int. Osc’s

 

 

 

 

 

Power-down

 

RTCF

RTCEN

RTCS1

RTCS2

 

 

Interrupt

ERTC

RTC underflow flag

RTC Enable

RTC clk select

if enabled

 

 

 

 

 

(shared w. WDT)

 

 

 

 

 

Figure 6-1: Real-time clock/system timer Block Diagram

Table 6-1: Real-time Clock/System Timer Clock Source - P89LPC906

FOSC2

FOSC1

FOSC0

RTCS1:0

 

 

(UCFG1.2)

(UCFG1.1)

(UCFG1.0)

CCLK Frequency

RTC Clock Frequency

 

 

 

 

 

 

 

 

 

00

 

High frequency crystal

 

 

 

 

 

 

 

 

01

 

 

 

 

 

(XCLK)

0

0

0

 

High frequency crystal/DIVM

10

 

 

 

 

 

 

 

 

 

 

11

 

High frequency crystal/DIVM

 

 

 

 

(CCLK)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

00

 

Medium frequency crystal

 

 

 

 

 

 

 

 

01

 

 

 

 

 

(XCLK)

0

0

1

 

Medium frequency crystal/DIVM

10

 

 

 

 

 

 

 

 

 

 

11

 

Medium frequency crystal/

 

 

 

 

DIVM (CCLK)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

00

 

Low frequency crystal

 

 

 

 

 

 

 

 

01

 

 

 

 

 

(XCLK)

0

1

0

 

Low frequency crystal/DIVM

10

 

 

 

 

 

 

 

 

 

 

11

 

Low frequency crystal/DIVM

 

 

 

 

(CCLK)

 

 

 

 

 

 

 

 

 

 

 

2003 Dec 8

48

Page 48
Image 48
Philips P89LPC906 FOSC2 FOSC1 FOSC0 RTCS10, UCFG1.2 UCFG1.1 UCFG1.0 Cclk Frequency RTC Clock Frequency, Xclk, Divm Cclk