The M4 1S T84 Y/W Serial supervi so r y TIMEKEE P-
®
SRAM is a low power 512-bit static CMOS
ER
SRAM organized as 64 words by 8 bi ts. A built-in
32.768kHz oscillator (external crystal controlled)
and 8 bytes of the SRAM (see Table 3., page 13)
are used for the c lock/calendar function and are
configured in binary coded decimal (BCD) format.
An additional 12 bytes of RAM provide status/control of Alarm, Watchdog and Square Wav e functions. Addresses and data are transferred serially
via a two line, bi-directional I2C interface. The
built-in address register is incremented automatically after each WRITE or READ data byte.
The M41ST84Y/W has a built-in power sense circuit which detects power failures and automatically switches to the battery supply when a power
failure occurs. The energy needed to sus tain the
SRAM and clock operations can be supplied by a
small lithium button-cell supply when a power failure occurs. Functions available to the user include
a non-volatile, time-of-day clock/calendar, Alarm
interrupts, Watchdog Timer and programmable
Square Wave output. Other features include a
Power-On Reset as well as an additional input
(RSTIN
(RST
the century, year, month, date, day, hour, minute,
second and tenths/hun dredths of a second in 24
) which can also generate an output Reset
). The eight clock address locations contain
hour BCD format. Corrections for 28, 29 (leap year
- valid until year 2100), 30 and 31 day months are
made automatically.
The M41ST84Y/W is supplied in a 28-lead SOIC
SNAPHAT
®
package (which integrates b oth crystal and battery in a single SNAP HA T top) o r a 16pin SOIC. The 28-pin, 330mil SOIC provides sockets with gold plated contacts at both ends for direct
connection to a separate SNAPHAT housing containing the battery and crystal. The unique design
allows the SNAPHAT battery/crystal package to
be mounted on top of th e S OIC package after the
completion of the surface mount process.
Insertion of the SNAPHAT housing after reflow
prevents potential battery and crystal damage due
to the high temperatures required for device surface-mounting. The SNAPHAT housing is also
keyed to prevent reverse insertion.
The 28-pin SOIC and battery/crystal packages are
shipped separately in plastic anti-static tubes or in
Tape & Reel form. For the 2 8-lead SOIC, t he ba ttery/crystal package (e.g., SNAPHAT) part number is “M4TXX-BR12SH” (see Table
20., page 29).
Caution: Do not place the SNAPHAT battery/crystal top in conductive foam, as this will drain the lithium button-cell battery.
The M41ST84Y/W 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:
20.Square Wave Register
21 - 64. User RAM
The M41ST84Y/W clock continually monitors V
for an out-of tolerance condition. Should VCC fall
below V
, the device terminates an access in
PFD
progress and resets t he device address counter.
Inputs to the device will not be recognized at this
time to prevent erroneous data f rom bei ng wri tten
to the device from a an out-of-tolerance system.
When V
falls below VSO, the device a utomati-
CC
cally switches over to the battery and powers
down into an ultra low current mode of operation to
conserve batte ry life. As system p ower returns and
rises above VSO, the battery is disconnected,
V
CC
and the power supply is switched to external V
Write protection continues until V
V
PFD
(min) plus t
REC
(min).
reaches
CC
For more information on Battery Storage Life refer
to Application Note AN1012.
2-Wire Bus Characteristics
The bus is intended for communication between
different ICs. 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.
CC
CC
M41ST84Y, M41ST84W
–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:
Bus not busy. Both data and clock li nes remain
High.
Start data transfer. A change in the s tate of the
data line, from High t o Low, while the c lock is High,
defines the START condition.
Stop data transfer. A c hange in the state of the
data line, from Low to High, while the clock is High,
defines the STOP condition.
Data Valid. T he state of the data line rep resents
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 o ut a m essag e is
called “transmitter”, the receiving device that gets
the message is called “rec eiver”. The device that
controls the message is called “master”. T he devices that are controlled by the master are cal led
“slaves”.
Acknowledge. E ac h 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 relat-
.
ed 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 transm itter 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.
7/31
M41ST84Y, M41ST84W
Figure 8. Serial Bus Data Transfer Sequence
DATA LINE
STABLE
DATA VALID
CLOCK
DATA
START
CONDITION
Figure 9. Acknowledgement Sequence
START
SCLK FROM
MASTER
DATA OUTPUT
BY TRANSMITTER
DATA OUTPUT
BY RECEIVER
1289
MSBLSB
CHANGE OF
DATA ALLOWED
STOP
CONDITION
AI00587
CLOCK PULSE FOR
ACKNOWLEDGEMENT
AI00601
8/31
Figure 10. Bus Timing Requirements Sequence
SDA
M41ST84Y, M41ST84W
tHD:STA
P
AI00589
SCL
tHD:STAtBUF
tHIGH
tLOW
tF
tSU:DAT
tHD:DAT
SR
tR
SP
Table 2. AC Characteristics
Symbol
f
SCL
t
BUF
t
F
t
HD:DAT
t
HD:STA
t
HIGH
t
LOW
t
R
t
SU:DAT
t
SU:STA
t
SU:STO
Note: 1. Vali d for Ambient Op erating Temperature: TA = –40 to 85°C; VCC = 2.7 to 3.6V or 4. 5 to 5.5V (except where noted).
2. Transmitter must internal l y provide a hold time to brid ge t he undefined region (300ns max) of the fa lli ng edge of SCL.
SCL Clock Frequency0400kHz
Time the bus must be free before a new transmission can start1.3µs
SDA and SCL Fall Time300ns
(2)
Data Hold Time0µs
START Condition Hold Time
(after this period the first clock pulse is generated)
Clock High Period600ns
Clock Low Period1.3µs
SDA and SCL Rise Time300ns
Data Setup Time100ns
START Condition Setup Time
(only relevant for a repeated start condition)
STOP Condition Setup Time600ns
Parameter
(1)
MinMaxUnit
600ns
600ns
tSU:STOtSU:STA
9/31
M41ST84Y, M41ST84W
READ Mode
In this mode the master reads the M 41ST84Y/W
slave after setting the slave address (see Figure
11., page 10). Following the WRITE Mode Control
Bit (R/W
address ‘An’ is written to the on-chip address
pointer. Next the START condition and slave address are repeated followed by the READ Mode
Control Bit (R/W
mitter becomes the master receiver. The data byte
which was addressed will be transmitted and the
master receiver will send an A cknowledge Bit to
the slave transmitter. The address pointe r is only
incremented on reception of an Acknowledge
Clock. The M41ST84Y/W slave transmitter will
now place the data byte at address An+1 on the
bus, the master receiver reads and acknowledges
the new byte and the address pointer is
incremented to “An+2.”
Figure 11. Slave Address Location
=0) and the Acknowledge Bit, the word
=1). At this point the master trans-
This cycle of reading con secutive addresses will
continue until the master rec eiver sends a STOP
condition to the slave transmitter (see Figure
12., page 10).
The system-to-user transfer of clock data will be
halted whenever the address being read is a clock
address (00h to 07h). The update will resum e either due to a Stop Condition or when the pointer
increments to a non-clock or RAM address.
Note: This is true both in READ Mode and WRITE
Mode.
An alternate READ Mode may also be implemented whereby the master reads the M41ST84Y/W
slave without first writing to the (volatile) addres s
pointer. The first address that is read is the l ast
one stored in the pointer (see Figure
13., page 11).
R/W
STARTA
Figure 12. RE A D Mo de S equence
BUS ACTIVITY:
MASTER
SDA LINE
BUS ACTIVITY:
START
S
ADDRESS
R/W
SLAVE
DATA n+X
MSB
WORD
ADDRESS (An)
ACK
STOP
P
SLAVE ADDRESS
0100011
START
S
ACK
SLAVE
ADDRESS
LSB
AI00602
R/W
DATA nDATA n+1
ACK
ACK
ACK
10/31
AI00899
NO ACK
Loading...
+ 21 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.