The M41T56 TIMEKEEPER® is a low power, 512bit static CMOS RAM organized as 64 word s by 8
bits. A built-in 32,768Hz oscillator (external crystal
controlled) and the first 8 bytes of the RAM are
used for the clock/c alendar func tion and ar e configured in binary coded decimal (BCD) format. Addresses and data are transferred serially via a twoline, bi-directiona l bus. Th e built-in ad dress regi ster is incremented automatically after each WRITE
or READ data byte.
The M41T56 clock has a bui lt-in p ower s ense ci rcuit which detects power failures and automatically switches to the battery supply during power
failures. The energy needed to s ustain 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 50mAh, 3V lithium cell. The M41T56 is supplied in an 8-lead Pl astic SOIC package or a 28lead SNAPHAT
®
package.
Figure 3. Logic DiagramTable 1. Signal Names
The 28-pin, 330mil SOIC provides sockets with
gold plated contacts at both en ds for direct connection to a separate SNAPHAT ho usin g cont ain ing the battery and crystal. The unique design
allows the SNAPHAT battery package to be
mounted on top of the SOIC package after the
completion of the surface mount process. Insertion of the SNAPHAT housing after reflow prevents potential batter y and crys tal dama ge due to
the high temperatures required for device surfacemounting . Th e SNA PHAT h ous ing i s key ed t o pr event reverse insertion. The SOIC and battery/crystal packages are shipped separately in plastic antistatic tubes or in Tape & Reel form.
For the 28-lead SOIC, the battery/crystal package
(e.g., SNAPHAT) part number is “M4TxxBR12SH” (see Table 16., page 22).
Caution: Do not place the SNAPHAT battery/crystal package “M4T xx -BR12SH” in conducti ve foam
as this will drain the lithium button-cell battery.
OSCI
SCL
V
CC
M41T56
V
SS
V
BAT
OSCO
SDA
FT/OUT
AI02304B
OSCIOscillator Input
OCSOOscillator Output
FT/OUT
SDASerial Data Address Input / Output
SCLSerial Clock
V
The M41T56 clock operates as a slave devic e on
the serial bus. Access is obtained by implementing
a start condition fo llowed by th e correc t slave ad dress (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 to 64.RAM
The clock continually monitors V
tolerance condition. Shou ld V
the device termina tes an access in progress and
resets the device ad dress counter. Inputs to the
device will not be recogniz ed at this time to prevent erroneous data from be ing written to th e device from an out of toler ance system. When V
falls below V
, the device automatica lly switch -
BAT
es over to the battery and powers down into an ultra low current mode of operation to conserve
battery life. Upon power-up, the dev ice switches
from battery to V
when V
goes above V
CC
CC
at V
and recognizes inputs
BAT
volts.
PFD
2-Wire Bus Characteristics
This bus is inten ded for communication betwe en
different ICs. It consist s of two lines: o ne bi- direc tional for data signals (SDA) and one for clock signals (SCL). Both the SDA and the SCL line s mu st
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:
for an out of
CC
fall below V
CC
PFD
CC
Bus not busy. Both data and clock l ines remain
High.
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.
Stop data transfer. A change in the state o f the
data line, from Low to High, while the clock is High,
defines the STOP condition.
Data valid. The state of the data line r epresents
valid data when after a start condition, the data line
is stable for the durati on of the Hi gh 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 eac h rec eiv er ac kn owl edges with a ninth bit.
By definition, a device that gives out a message is
called “transmitter,” the receiving device th at gets
the message is call ed “receiver.” The de vice that
controls the messag e is called “master. ” The devices that are controlled by the master are called
“slaves.”
Acknowledge. Each byte of eight bits is followed
by one Acknowle dge B it. Thi s Ack nowledg e Bi t 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 addresse d is obliged to
generate an acknowledge after the reception of
each byte. Also, a master recei ver must generate
an acknowledge aft er the reception of ea ch byte
that has been clocked out of the slave transmitter.
The device that acknowledges has to pull down
the SDA line durin g the ackn owledge clo ck pulse
in such a way that the SDA line is a st able 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 transmitte r by not
generating an acknowl edge on the last byte that
has been cl ocke d out o f the slav e. In t his ca se, th e
transmitter must leave the data line High to enable
the master to generate the STOP condition.
6/24
Figure 7. Serial Bus Data Transfer Sequence
DATA LINE
STABLE
DATA VALID
CLOCK
DATA
M41T56
START
CONDITION
Figure 8. Acknowledge Sequence
START
SCLK FROM
MASTER
DATA OUTPUT
BY TRANSMITTER
DATA OUTPUT
BY RECEIVER
CHANGE OF
DATA ALLOWED
1289
MSBLSB
STOP
CONDITION
AI00587
CLOCK PULSE FOR
ACKNOWLEDGEMENT
AI00601
7/24
M41T56
Figure 9. Bus Timing Requirements Sequence
SDA
SCL
tHD:STAtBUF
tR
SP
tHIGH
tLOW
tF
tSU:DAT
tHD:DAT
SR
tHD:STA
Table 2. AC Characteristics
Symbol
f
SCL
t
LOW
t
HIGH
t
R
t
F
t
HD:STA
t
SU:STA
t
SU:DAT
t
HD:DAT
t
SU:STO
t
BUF
Note: 1. Valid for Ambient Operating Temperature: TA = –40 to 85°C; VCC = 4.5 to 5.5V (except where not ed).
2. Transmitter must internally provide a hold time to bridge the undefined region (300ns max.) of the falling edge of SCL.
SCL Clock Frequency0100kHz
Clock Low Period4.7µs
Clock High Period4µs
SDA and SCL Rise Time1µs
SDA and SCL Fall Time300ns
START Condition Hold Time
(after this period the first clock pulse is generated)
START Condition Setup Time
(only relevant for a repeated start condition)
Data Setup Time250ns
(2)
Data Hold Time0µs
STOP Condition Setup Time4.7µs
Time the bus must be free before a new transmission can start4.7µs
Parameter
(1)
MinMaxUnit
4µs
4.7µs
tSU:STOtSU:STA
P
AI00589
8/24
Loading...
+ 16 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.