User's Manual

Table Of Contents
REAL TIME CLOCK S3C2450X RISC MICROPROCESSOR
14-2
1.2 REAL TIME CLOCK OPERATION DESCRIPTION
2
15
Cl ock
Di vi der
XTOr t c
XTI r t c
Cont r ol
Regi s t er
SEC MI N HOUR DATE DAY MON YEAR
Leap Year Gener at or
Al ar m Gener at or
Res et
Regi s t er
1 Hz
ALMI NT
RTCCON RTCALM
RTCRST
Ti me Ti ck Gener at or
TI CWKUP
TI CNT
32KHz~1Hz
ALMWKUP
TI CI NT
Figure 14-1. Real Time Clock Block Diagram
1.2.1 Leap Year Generator
The leap year generator can determine the last date of each month out of 28, 29, 30, or 31, based on data from
BCDDAY, BCDMON, and BCDYEAR. This block considers leap year in deciding on the last date. An 8-bit counter
can only represent 2 BCD digits, therefore it cannot decide whether “00” year (the year with its last two digits
zeros) is a leap year or not. For example, it cannot discriminate between 1900 and 2000. To solve this problem,
the RTC block in S3C2450 has hard-wired logic to support the leap year in 2000. Note 1900 is not leap year while
2000 is leap year in general Gregorian calendar. Therefore, two digits of 00 in S3C2450 denote 2000, not 1900.
So, RTC in S3C2450 supports from 1901 to 2099.