MOTOROLA
Chapter 11. System Interface Unit
11-27
Part III. Configuration
11.10 The Real-Time Clock
The real-time clock is a 45-bit counter, clocked by PITRTCLK, to provide time-of-day to
the operating system and application software. The counter is not affected by HRESET,
SRESET, or PORESET and operates in all low-power modes. It must be initialized by
software. The real-time clock can be programmed to generate a maskable interrupt when
the time value matches the value programmed in the associated alarm register. It can also
be programmed to generate an interrupt once each second. A control and status register is
used to selectively enable or disable functions and report the interrupt source. The real-time
clock registers (RTCSC, RTC, RTSEC, and RTCAL) can be protected (locked) from
accidental writes after PORESET through the use of key registers (RTCSCK, RTCK,
RTSECK, and RTCALK), which are described in Section 11.4.5, ÒRegister Lock
Mechanism.Ó To unlock a register, write the key word 0x55CC_AA33 to the key registers.
Note that the real-time clock will count in seconds only if PITRTCLK is supplied by a
32.768 kHz or 38.4 kHz source.
Figure 11-23. Real-Time Clock Block Diagram
11.10.1 Real-Time Clock Status and Control Register (RTCSC)
The real-time clock status and control register (RTCSC) is used to enable the different
real-time clock functions and for reporting interrupt sources. Status bits are cleared by
writing a ones (writing a zero has no effect). This register can be read at any time. Note that
RTCSC is a keyed register. It must be unlocked in RTCSCK before it can be written.
Table 11-20 describes RTCSC Þelds.
Bit
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Field
RTCIRQ
SEC
ALR
Ñ
38K
SIE
ALE
RTF
RTE
Reset
0000_0000
0
0
0
Ñ
0
0
0
Ñ
R/W
R/W
Addr
(IMMR & 0xFFFF0000) + 0x220
Figure 11-24. Real-Time Clock Status and Control Register (RTCSC)
Clock
Disable
32-Bit Counter
32-Bit Register
Alarm
Interrupt
PITRTCLK
Clock
Divide
by 8,192
Divide
by 9,600
MUX
38K
SEC
Interrupt
RTSEC
FRZ
=
Summary of Contents for MPC860 PowerQUICC
Page 3: ...MPC860UM AD 07 98 REV 1 MPC860 PowerQUICC ª UserÕs Manual ...
Page 36: ...xxxvi MPC860 PowerQUICC UserÕs Manual MOTOROLA CONTENTS Paragraph Number Title Page Number ...
Page 78: ...I iv MPC860 PowerQUICC UserÕs Manual MOTOROLA Part I Overview ...
Page 88: ...1 10 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part I Overview ...
Page 114: ...3 16 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part I Overview ...
Page 226: ...8 32 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part II PowerPC Microprocessor Module ...
Page 262: ...9 36 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part II PowerPC Microprocessor Module ...
Page 274: ...III iv MPC860 PowerQUICC UserÕs Manual MOTOROLA Part III Configuration ...
Page 320: ...12 12 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part III Configuration ...
Page 325: ...MOTOROLA Part IV Hardware Interface IV v Part IV Hardware Interface ...
Page 326: ...IV vi MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Page 352: ...13 26 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Page 394: ...14 42 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Page 426: ...15 32 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Page 530: ...17 26 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Page 632: ...21 44 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 660: ...22 28 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 708: ...24 24 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 748: ...27 20 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 846: ...31 20 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 914: ...35 12 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 948: ...36 34 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 998: ...37 48 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part VI Debug and Test ...
Page 1016: ...A 10 MPC860 PowerQUICC UserÕs Manual MOTOROLA Appendixes ...
Page 1024: ...B 8 MPC860 PowerQUICC UserÕs Manual MOTOROLA Appendixes ...
Page 1030: ...C 6 MPC860 PowerQUICC UserÕs Manual MOTOROLA Appendixes ...
Page 1086: ...Glossary 12 MPC860 PowerQUICC UserÕs Manual MOTOROLA ...
Page 1106: ......