SH3100IMTR SEMTECH [Semtech Corporation], SH3100IMTR Datasheet - Page 60

no-image

SH3100IMTR

Manufacturer Part Number
SH3100IMTR
Description
Supervisory IC with I2C Interface and PWM
Manufacturer
SEMTECH [Semtech Corporation]
Datasheet
Real Time Clock (RTC)
T
is always enabled and continues to run during battery backup and WDT resets. The RTC runs for 99 years before over-
fl owing, and incorporates leap-year adjustment up to the year 2100. For synchronization purposes, the RTC should
be read LSB fi rst – this causes all seven bytes to be latched into the serial interface simultaneously in order to avoid
problems of byte-overfl ow between individual byte reads. The RTC should also be written MSB fi rst. Only when the LSB
is written are the entire six bytes loaded into the RTC counter. The RTC incorporates an alarm register which causes
an interrupt at a specifi ed time with 1 minute resolution. When the alarm is not being used, the register may be used
as a scratchpad, as it remains throughout brownout and WDT events.
© 2006 Semtech Corp.
POWER MANAGEMENT
Functional Descriptions
he RTC is a 47-bit Binary+BCD counter clocked by a 256 Hz clock derived from the internal 32.768 kHz clock. The RTC
Note: The RTC read value may not be updated until one 256Hz cycle after an RTC write. Also, the shadow register used to
synchronize both reads and writes between the two clock domains is shared with the PIT and the DCOCode , so the implication
of this is that after writing to any one of these registers, the microcontroller software must wait for a period of the relevant
counter before writing any one of the others. (e.g., having written to the RTC, the software can not write to the PIT or DCO
Code within one 256Hz cycle (4ms).
Note: RTC accuracy is dependent on the accuracy of the crystal oscillator or internal 32.268kHz clock, whichever is being
used as the internal system clock.
Register
RTC0
RTC1
RTC2
RTC3
RTC4
RTC5
RTC6
Format
Binary
BCD
BCD
BCD
BCD
BCD
BCD
(continued)
No. of Bits
8
7
7
6
6
5
8
60
Description
256ths seconds
Seconds
Minutes
Hours
Day of the month
Month
Year
Range
0x00 – 0xFF
0x00 – 0x59
0x00 – 0x59
0x00 – 0x23
0x00 – 0x31
0x01 – 0x12
0x00-0x99
www.semtech.com
SH3100

Related parts for SH3100IMTR