RTC_SS
20.3.4 Use Cases
The following list includes high-level steps to start using the RTC:
1. Enable the module clock domains (see the Integration section for details on which clock domain).
2. Enable the RTC module using CTRL_REG.RTC_disable.
3. Enable the 32K clock from PER PLL.
4. Write to the kick registers (KICK0R, KICK1R) in the RTC.
5. Do the required timer setup in the RTCSS.
6. Start the RTC (in CTRL_REG.STOP_RTC).
20.3.5 RTC Registers
lists the memory-mapped registers for the RTC. All register offset addresses not listed in
should be considered as reserved locations and the register contents should not be modified.
Table 20-63. RTC REGISTERS
Offset
Acronym
Register Name
Section
0h
SECONDS_REG
Seconds Register
4h
MINUTES_REG
Minutes Register
8h
HOURS_REG
Hours Register
Ch
DAYS_REG
Day of the Month Register
10h
MONTHS_REG
Month Register
14h
YEARS_REG
Year Register
18h
WEEKS_REG
Day of the Week Register
20h
ALARM_SECONDS_REG
Alarm Seconds Register
24h
ALARM_MINUTES_REG
Alarm Minutes Register
28h
ALARM_HOURS_REG
Alarm Hours Register
2Ch
ALARM_DAYS_REG
Alarm Day of the Month Register
30h
ALARM_MONTHS_REG
Alarm Months Register
34h
ALARM_YEARS_REG
Alarm Years Register
40h
RTC_CTRL_REG
Control Register
44h
RTC_STATUS_REG
Status Register
48h
RTC_INTERRUPTS_REG
Interrupt Enable Register
4Ch
RTC_COMP_LSB_REG
Compensation (LSB) Register
50h
RTC_COMP_MSB_REG
Compensation (MSB) Register
54h
RTC_OSC_REG
Oscillator Register
60h
RTC_SCRATCH0_REG
Scratch 0 Register (General-Purpose)
64h
RTC_SCRATCH1_REG
Scratch 1 Register (General-Purpose)
68h
RTC_SCRATCH2_REG
Scratch 2 Register (General-Purpose)
6Ch
KICK0R
Kick 0 Register (Write Protect)
70h
KICK1R
Kick 1 Register (Write Protect)
74h
RTC_REVISION
Revision Register
78h
RTC_SYSCONFIG
System Configuration Register
7Ch
RTC_IRQWAKEEN
Wakeup Enable Register
80h
ALARM2_SECONDS_REG
Alarm2 Seconds Register
84h
ALARM2_MINUTES_REG
Alarm2 Minutes Register
88h
ALARM2_HOURS_REG
Alarm2 Hours Register
8Ch
ALARM2_DAYS_REG
Alarm2 Day of the Month Register
90h
ALARM2_MONTHS_REG
Alarm2 Months Register
94h
ALARM2_YEARS_REG
Alarm2 Years Register
98h
RTC_PMIC
RTC PMIC Register
3632Timers
SPRUH73H – October 2011 – Revised April 2013
Copyright © 2011–2013, Texas Instruments Incorporated