© Koninklijke Philips Electronics N.V. 2006. All rights reserved.
User manual
Rev. 01 — 12 January 2006
213
17.1 Features
•
Measures the passage of time to maintain a calendar and clock.
•
Ultra Low Power design supports battery powered systems.
•
Provides Seconds, Minutes, Hours, Day of Month, Month, Year, Day of Week, and Day
of Year.
•
Can be used with dedicated 32 kHz oscillator or programmable prescaler from APB
clock.
•
Dedicated power supply pin can be connected to a battery or to the main 3.3 V.
17.2 Description
The Real Time Clock (RTC) is a set of counters for measuring time when system power is
on and optionally when it is off. It uses little power in Power-down mode. On the
LPC2101/02/03, the RTC can be clocked by a separate 32.768 KHz oscillator or by a
programmable prescale divider based on the APB clock. Also, the RTC is powered by its
own power supply pin, VBAT, which can be connected to a battery or to the same 3.3 V
supply used by the rest of the device.
17.3 Architecture
UM10161
Chapter 17: Real Time Clock
Rev. 01 — 12 January 2006
User manual
Fig 57. RTC block diagram
CCLK
INTERRUPT GENERATOR
COUNTER INCREMENT
INTERRUPT ENABLE
ALARM MASK
REGISTER
counter
enables
CLK1
REFERENCE CLOCK DIVIDER
(PRESCALER)
CLK32k
strobe
COMPARATORS
CLOCK GENERATOR
ALARM
REGISTERS
TIME COUNTERS
RTC OSCILLATOR
MUX