M41T80 Operation
Doc ID 9074 Rev 5 7/27
2 Operation
The M41T80 clock operates as a slave device on the serial bus. Access is obtained by
implementing a start condition followed by the correct slave address (D0h). The 20 bytes
contained in the device can then be accessed sequentially in the following order:
1
st
byte: tenths/hundredths of a second register
2
nd
byte: seconds register
3
rd
byte: minutes register
4
th
byte: century/hours register
5
th
byte: day register
6
th
byte: date register
7
th
byte: month register
8
th
byte: year register
9
th
byte: control register
10
th
byte: 32KE bit
11
th
- 16
th
bytes: alarm registers
17
th
- 19
th
bytes: reserved
20
th
byte: square wave register
2.1 2-Wire bus characteristics
The bus is intended for communication between different IC’s. It consists of two lines: a bi-
directional data signal (SDA) and a clock signal (SCL). Both the SDA and SCL lines must be
connected to a positive supply voltage via a pull-up resistor.
The following protocol has been defined:
Data transfer may be initiated only when the bus is not busy.
During data transfer, the data line must remain stable whenever the clock line is high.
Changes in the data line, while the clock line is high, will be interpreted as control
signals.
Accordingly, the following bus conditions have been defined:
2.1.1 Bus not busy
Both data and clock lines remain high.
2.1.2 Start data transfer
A change in the state of the data line, from high to low, while the clock is high, defines the
START condition.
2.1.3 Stop data transfer
A change in the state of the data line, from low to high, while the clock is high, defines the
STOP condition.
Operation M41T80
8/27 Doc ID 9074 Rev 5
2.1.4 Data valid
The state of the data line represents valid data when after a start condition, the data line is
stable for the duration of the high period of the clock signal. The data on the line may be
changed during the Low period of the clock signal. There is one clock pulse per bit of data.
Each data transfer is initiated with a start condition and terminated with a stop condition.
The number of data bytes transferred between the start and stop conditions is not limited.
The information is transmitted byte-wide and each receiver acknowledges with a ninth bit.
By definition a device that gives out a message is called “transmitter, the receiving device
that gets the message is called “receiver.” The device that controls the message is called
“master.” The devices that are controlled by the master are called “slaves.
2.1.5 Acknowledge
Each byte of eight bits is followed by one acknowledge bit. This acknowledge bit is a low
level put on the bus by the receiver whereas the master generates an extra acknowledge
related clock pulse. A slave receiver which is addressed is obliged to generate an
acknowledge after the reception of each byte that has been clocked out of the slave
transmitter.
The device that acknowledges has to pull down the SDA line during the acknowledge clock
pulse in such a way that the SDA line is a stable low during the high period of the
acknowledge related clock pulse. Of course, setup and hold times must be taken into
account. A master receiver must signal an end of data to the slave transmitter by not
generating an acknowledge on the last byte that has been clocked out of the slave. In this
case the transmitter must leave the data line high to enable the master to generate the
STOP condition.
Figure 4. Serial bus data transfer sequence
AI00587
DATA
CLOCK
DATA LINE
STABLE
DATA VALID
STA RT
CONDITION
CHANGE OF
DATA ALLOWED
STOP
CONDITION
M41T80 Operation
Doc ID 9074 Rev 5 9/27
Figure 5. Acknowledgement sequence
Figure 6. Bus timing requirements sequence
AI00601
DATA OUTPUT
BY RECEIVER
DATA OUTPUT
BY TRANSMITTER
SCL FROM
MASTER
START
CLOCK PULSE FOR
ACKNOWLEDGEMENT
12 89
MSB LSB
AI00589
SDA
P
t
SU:STO
t
SU:STA
t
HD:STA
SR
SCL
t
SU:DAT
t
F
t
HD:DAT
t
R
t
HIGH
t
LOW
t
HD:STA
t
BUF
SP

M41T80M6F

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

Products related to this Datasheet