RTC_SS
www.ti.com
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
Table 20-63 lists the memory-mapped registers for the RTC. All register offset addresses not listed in
Table 20-63 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 Section 20.3.5.1
4h MINUTES_REG Minutes Register Section 20.3.5.2
8h HOURS_REG Hours Register Section 20.3.5.3
Ch DAYS_REG Day of the Month Register Section 20.3.5.4
10h MONTHS_REG Month Register Section 20.3.5.5
14h YEARS_REG Year Register Section 20.3.5.6
18h WEEKS_REG Day of the Week Register Section 20.3.5.7
20h ALARM_SECONDS_REG Alarm Seconds Register Section 20.3.5.8
24h ALARM_MINUTES_REG Alarm Minutes Register Section 20.3.5.9
28h ALARM_HOURS_REG Alarm Hours Register Section 20.3.5.10
2Ch ALARM_DAYS_REG Alarm Day of the Month Register Section 20.3.5.11
30h ALARM_MONTHS_REG Alarm Months Register Section 20.3.5.12
34h ALARM_YEARS_REG Alarm Years Register Section 20.3.5.13
40h RTC_CTRL_REG Control Register Section 20.3.5.14
44h RTC_STATUS_REG Status Register Section 20.3.5.15
48h RTC_INTERRUPTS_REG Interrupt Enable Register Section 20.3.5.16
4Ch RTC_COMP_LSB_REG Compensation (LSB) Register Section 20.3.5.17
50h RTC_COMP_MSB_REG Compensation (MSB) Register Section 20.3.5.18
54h RTC_OSC_REG Oscillator Register Section 20.3.5.19
60h RTC_SCRATCH0_REG Scratch 0 Register (General-Purpose) Section 20.3.5.20
64h RTC_SCRATCH1_REG Scratch 1 Register (General-Purpose) Section 20.3.5.21
68h RTC_SCRATCH2_REG Scratch 2 Register (General-Purpose) Section 20.3.5.22
6Ch KICK0R Kick 0 Register (Write Protect) Section 20.3.5.23
70h KICK1R Kick 1 Register (Write Protect) Section 20.3.5.24
74h RTC_REVISION Revision Register Section 20.3.5.25
78h RTC_SYSCONFIG System Configuration Register Section 20.3.5.26
7Ch RTC_IRQWAKEEN Wakeup Enable Register Section 20.3.5.27
80h ALARM2_SECONDS_REG Alarm2 Seconds Register Section 20.3.5.28
84h ALARM2_MINUTES_REG Alarm2 Minutes Register Section 20.3.5.29
88h ALARM2_HOURS_REG Alarm2 Hours Register Section 20.3.5.30
8Ch ALARM2_DAYS_REG Alarm2 Day of the Month Register Section 20.3.5.31
90h ALARM2_MONTHS_REG Alarm2 Months Register Section 20.3.5.32
94h ALARM2_YEARS_REG Alarm2 Years Register Section 20.3.5.33
98h RTC_PMIC RTC PMIC Register Section 20.3.5.34
3632
Timers SPRUH73H–October 2011–Revised April 2013
Submit Documentation Feedback
Copyright © 2011–2013, Texas Instruments Incorporated