The M41T56 is a low-power, serial real-time clock (RTC) with 56 bytes of NVRAM. A built-in
32,768 Hz oscillator (external crystal controlled) and the first 8 bytes of the RAM are used
for the clock/calendar function and are configured in binary coded decimal (BCD) format.
Addresses and data are transferred serially via a two-line, bidirectional bus. The built-in
address register is incremented automatically after each WRITE or READ data byte.
The M41T56 clock has a built-in power sense circuit which detects power failures and
automatically switches to the battery supply during power failures. The energy needed to
sustain the RAM and clock operations can be supplied from a small lithium coin cell.
Typical data retention time is in excess of 10 years with a 50 mAh, 3 V lithium cell. The
M41T56 is supplied in an 8-lead plastic SOIC package.
Figure 1.Logic diagram
OSCI
SCL
V
CC
M41T56
V
SS
V
BAT
OSCO
SDA
FT/OUT
AI02304B
Doc ID 6104 Rev 95/27
DescriptionM41T56
Table 1.Signal names
OSCIOscillator input
OCSOOscillator output
FT/OUTFrequency test / output driver (open drain)
SDASerial data address input / output
SCLSerial clock
V
BAT
V
CC
V
SS
Battery supply voltage
Supply voltage
Ground
Figure 2.8-pin SOIC connections
M41T56
OSCIV
V
BAT
SS
Figure 3.M41T56 block diagram
OSCI
OSCO
FT/OUT
V
CC
V
SS
V
BAT
SCL
SDA
OSCILLATOR
32.768 kHz
VOLTAGE
SENSE
and
SWITCH
CIRCUITRY
SERIAL
BUS
INTERFACE
1
2
3
4
8
7
6
5
DIVIDER
CONTROL
LOGIC
ADDRESS
REGISTER
CC
FT/OUTOSCO
SCL
SDAV
1 Hz
AI02306B
SECONDS
MINUTES
CENTURY/HOURS
DAY
DATE
MONTH
YEAR
CONTROL
RAM
(56 x 8)
6/27Doc ID 6104 Rev 9
AI02566
M41T56Operation
2 Operation
The M41T56 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 64 bytes
contained in the device can then be accessed sequentially in the following order:
1.Seconds register
2. Minutes register
3. Century/hours register
4. Day register
5. Date register
6. Month register
7. Years register
8. Control register
9. RAM
The clock continually monitors V
V
, the device terminates an access in progress and resets the device address counter.
PFD
for an out of tolerance condition. Should VCC fall below
CC
Inputs to the device will not be recognized at this time to prevent erroneous data from being
written to the device from an out of tolerance system. When V
automatically switches over to the battery and powers down into an ultra low current mode
of operation to conserve battery life. Upon power-up, the device switches from battery to
V
CC
at V
and recognizes inputs when VCC goes above V
BAT
2.1 2-wire bus characteristics
This bus is intended for communication between different ICs. It consists of two lines: one
bidirectional for data signals (SDA) and one for clock signals (SCL). Both the SDA and the
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
falls below V
CC
volts.
PFD
, the device
BAT
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.
Doc ID 6104 Rev 97/27
OperationM41T56
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.
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. Also, a master receiver must 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
DATA LINE
STABLE
DATA VALID
CLOCK
DATA
START
CONDITION
CHANGE OF
DATA ALLOWED
STOP
CONDITION
8/27Doc ID 6104 Rev 9
AI00587
M41T56Operation
Figure 5.Acknowledge sequence
CLOCK PULSE FOR
ACKNOWLEDGEMENT
SCLK FROM
MASTER
START
1289
DATA OUTPUT
BY TRANSMITTER
DATA OUTPUT
BY RECEIVER
MSBLSB
Figure 6.Bus timing requirements sequence
SDA
tHD:STAtBUF
tR
SCL
SP
tHIGH
tLOW
tF
tHD:DAT
tSU:DAT
SR
AI00601
tHD:STA
tSU:STOtSU:STA
P
AI00589
Doc ID 6104 Rev 99/27
Loading...
+ 18 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.