
PRODUCTPREVIEW
www.ti.com
SWCS046A – MARCH 2010 – REVISED MAY 2010
Table 24. RTC_CTRL_REG
Address Offset
0x10
Physical Address
Instance
Description
RTC control register:
NOTES: A dummy read of this register is necessary before each I2C read in order to update the
ROUND_30S bit value.
Type
RW
7
6
5
4
3
2
1
0
RTC_V_OPT
GET_TIME
TEST_MODE
MODE_12_24
AUTO_COMP
ROUND_30S
STOP_RTC
SET_32_COUNTER
Bits
Field Name
Description
Type
Reset
7
RTC_V_OPT
RTC date / time register selection:
RW
0
0: Read access directly to dynamic registers (SECONDS_REG,
MINUTES_REG, HOURS_REG, DAYS_REG, MONTHS_REG,
YEAR_REG, WEEKS_REG)
1: Read access to static shadowed registers: (see GET_TIME bit).
6
GET_TIME
When writing a 1 into this register, the content of the dynamic registers
RW
0
(SECONDS_REG, MINUTES_REG, HOURS_REG, DAYS_REG,
MONTHS_REG, YEAR_REG and WEEKS_REG) is transferred into
static shadowed registers. Each update of the shadowed registers needs
to be done by re-asserting GET_TIME bit to 1 (i.e.: reset it to 0 and then
re-write it to 1)
5
SET_32_COUNTER
0: No action
RW
0
1: set the 32-kHz counter with COMP_REG value.
It must only be used when the RTC is frozen.
4
TEST_MODE
0: functional mode
RW
0
1: test mode (Auto compensation is enable when the 32kHz counter
reaches at its end)
3
MODE_12_24
0: 24 hours mode
RW
0
1: 12 hours mode (PM-AM mode)
It is possible to switch between the two modes at any time without
disturbed the RTC, read or write are always performed with the current
mode.
2
AUTO_COMP
0: No auto compensation
RW
0
1: Auto compensation enabled
1
ROUND_30S
0: No update
RW
0
1: When a one is written, the time is rounded to the closest minute.
This bit is a toggle bit, the micro-controller can only write one and RTC
clears it. If the micro-controller sets the ROUND_30S bit and then read it,
the micro-controller will read one until the rounded to the closet.
0
STOP_RTC
0: RTC is frozen
RW
0
1: RTC is running
Table 25. RTC_STATUS_REG
Address Offset
0x11
Physical Address
Instance
Description
RTC status register:
NOTES: A dummy read of this register is necessary before each I2C read in order to update the status
register value.
Type
RW
Copyright 2010, Texas Instruments Incorporated
55