Operation M41T00S
10/28 Doc ID 10772 Rev 5
Figure 7. READ mode sequence
Figure 8. Alternative READ mode sequence
2.3 WRITE mode
In this mode the master transmitter transmits to the M41T00S slave receiver. Bus protocol is
shown in Figure 9. Following the START condition and slave address, a logic '0' (R/W
=0) is
placed on the bus and indicates to the addressed device that word address “An” will follow
and is to be written to the on-chip address pointer. The data word to be written to the
memory is strobed in next and the internal address pointer is incremented to the next
address location on the reception of an acknowledge clock. The M41T00S slave receiver
will send an acknowledge clock to the master transmitter after it has received the slave
address see Figure 6 on page 9 and again after it has received the word address and each
data byte.
AI00899
BUS ACTIVITY:
ACK
S
ACK
ACK
ACK
NO ACK
STOP
START
P
SDA LINE
BUS ACTIVITY:
MASTER
R/W
DATA n DATA n+1
DATA n+X
WORD
ADDRESS (An)
SLAVE
ADDRESS
S
START
R/W
SLAVE
ADDRESS
ACK
AI00895
BUS ACTIVITY:
ACK
S
ACK
ACK
ACK
NO ACK
STOP
START
PSDA LINE
BUS ACTIVITY:
MASTER
R/W
DATA n DATA n+1 DATA n+X
SLAVE
ADDRESS
M41T00S Operation
Doc ID 10772 Rev 5 11/28
2.4 Data retention mode
With valid V
CC
applied, the M41T00S can be accessed as described above with READ or
WRITE cycles. Should the supply voltage decay, the power input will be switched from the
V
CC
pin to the battery when V
CC
falls below the battery backup switchover voltage (V
SO
). At
this time the clock registers will be maintained by the attached battery supply. On power-up,
when V
CC
returns to a nominal value, write protection continues for t
REC
.
For a further, more detailed review of lifetime calculations, please see Application Note
AN1012.
Figure 9. WRITE mode sequence
AI00591
BUS ACTIVITY:
ACK
S
ACK
ACK
ACK
ACK
STOP
START
PSDA LINE
BUS ACTIVITY:
MASTER
R/W
DATA n DATA n+1 DATA n+X
WORD
ADDRESS (An)
SLAVE
ADDRESS
Clock operation M41T00S
12/28 Doc ID 10772 Rev 5
3 Clock operation
The 8-byte register map (see Ta ble 2 ) 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 02h (century/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 03h contain
the Day (day of week). Registers 04h, 05h, and 06h contain the date (day of month), month
and years. The eighth clock register is the calibration register (this is described in the clock
calibration section). Bit D7 of register 00h 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 one second.
The seven clock registers may be read one byte at a time, or in a sequential block. The
calibration register (address location 07h) 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 halted. This will prevent a transition of data during the READ.
3.1 Clock registers
The M41T00S offers 8 internal registers which contain clock and calibration data. These
registers are memory locations which contain external (user accessible) and internal copies
of the data (usually referred to as BiPORT
TIMEKEEPER cells). The external copies are
independent of internal functions except that they are updated periodically by the
simultaneous transfer of the incremented internal copy. The internal divider (or clock) chain
will be reset upon the completion of a WRITE to any clock address.
The system-to-user transfer of clock data will be halted whenever the address being read is
a clock address (00h to 06h). The update will resume either due to a stop condition or when
the pointer increments to any non-clock address (07h).
Clock registers store data in BCD. The calibration register stores data in binary format.

M41T00SM6F

Mfr. #:
Manufacturer:
STMicroelectronics
Description:
Real Time Clock 2.0 to 5.5V 64 (8X8)
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet