M41T0 Clock operation
Doc ID 9105 Rev 7 13/23
3 Clock operation
The M41T0 is driven by a quartz controlled oscillator with a nominal frequency of
32.768 kHz. The accuracy of the real-time clock depends on the frequency of the quartz
crystal that is used as the time-base for the RTC. The M41T0 is tested to meet ± 35 ppm
with nominal crystal. The eight-byte clock register (see Table 3 on page 14) is used to both
set the clock and to read the date and time from the clock, in a binary coded decimal format.
Seconds, minutes, and hours are contained within the first three registers. Bits D6 and D7 of
clock register 2 (hours register) contain the CENTURY ENABLE bit (CEB) and the
CENTURY bit (CB). Setting CEB to a '1' will cause CB to toggle, either from '0' to '1' or from
'1' to '0' at the turn of the century (depending upon its initial state). If CEB is set to a '0', CB
will not toggle. Bits D0 through D2 of register 3 contain the day (day of week). Registers 4, 5
and 6 contain the date (day of month), month and years. The final register is the control
register. Bit D7 of register 0 contains the STOP bit (ST). Setting this bit to a '1' will cause the
oscillator to stop. If the device is expected to spend a significant amount of time on the shelf,
the oscillator may be stopped to reduce current drain. When reset to a '0' the oscillator
restarts within four seconds (typically one second).
The seven clock registers may be read one byte at a time, or in a sequential block. The
control register (address location 7) may be accessed independently. Provision has been
made to assure that a clock update does not occur while any of the seven clock addresses
are being read. If a clock address is being read, an update of the clock registers will be
delayed by 250 ms to allow the READ to be completed before the update occurs. This will
prevent a transition of data during the READ.
Note: This 250 ms delay affects only the clock register update and does not alter the actual clock
time.
3.1 Output driver pin
The OUT pin is an output driver that reflects the contents of D7 of the control register. In
other words, when D7 of location 7 is a '0' then the OUT pin will be driven low.
Note: The OUT pin is open drain which requires an external pull-up resistor.
3.2 Oscillator stop detection
If the oscillator fail (OF) bit is internally set to a '1,' this indicates that the oscillator has either
stopped, or was stopped for some period of time and can be used to judge the validity of the
clock and date data. This bit will be set to '1' any time the oscillator stops. The following
conditions can cause the OF bit to be set:
The first time power is applied (defaults to a '1' on power-up).
The voltage present on V
CC
is insufficient to support oscillation.
The ST bit is set to '1.'
External interference or removal of the crystal.
This bit will remain set to '1' until written to logic '0.'
The oscillator must start and have run for at least 4 seconds before attempting to reset the
OF bit to '0.' This function operates both under normal power and in battery backup.
Clock operation M41T0
14/23 Doc ID 9105 Rev 7
3.3 Initial power-on defaults
Upon initial application of power to the device, the OUT bit and OF bit will be set to a '1,'
while the ST bit will be set to '0.' All other register bits will initially power-on in a random
state.
Table 3. Register map
(1)
1. Keys:
ST = STOP bit
OUT = Output level
X = Don’t care
0 = Must be set to '0.'
CEB = Century enable bit
CB = Century bit
OF = Oscillator fail bit
Address
Data
Function/range
BCD format
D7 D6 D5 D4 D3 D2 D1 D0
0 ST 10 seconds Seconds Seconds 00-59
1 OF 10 minutes Minutes Minutes 00-59
2CEB
(2)
2. When CEB is set to '1', CB toggles from '0' to '1' or from '1' to '0' at the turn of the century (dependent upon
the initial value set). When CEB is set to '0', CB does not toggle.
CB 10 hours Hours Century/hours 0-1/00-23
3 X X X X X Day Day 01-07
4 X X 10 date Date Date 01-31
5 X X X 10 M. Month Month 01-12
6 10 years Years Year 00-99
7 OUT 0 X X X X X X Control
M41T0 Maximum ratings
Doc ID 9105 Rev 7 15/23
4 Maximum ratings
Stressing the device above the rating listed in the absolute maximum ratings table may
cause permanent damage to the device. These are stress ratings only and operation of the
device at these or any other conditions above those indicated in the operating sections of
this specification is not implied. Exposure to absolute maximum rating conditions for
extended periods may affect device reliability.
Table 4. Absolute maximum ratings
Symbol Parameter Value Unit
T
STG
Storage temperature (V
CC
off, oscillator off) –55 to 125 °C
V
CC
Supply voltage –0.3 to 7 V
T
SLD
(1)
1. Reflow at peak temperature of 260 °C (total thermal budget not to exceed 245 °C for greater than 30 seconds).
Lead solder temperature for 10 seconds 260 °C
V
IO
Input or output voltages –0.3 to V
CC
+ 0.3 V
I
O
Output current 20 mA
P
D
Power dissipation 1 W

M41T0DS6F

Mfr. #:
Manufacturer:
STMicroelectronics
Description:
Real Time Clock Low Power Serial
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet