1/29January 2006
M41ST84W
3.0/3.3V I2C Seria l RTC
with Supervisory Functions
Rev 7.0
KEY FEATUR ES
AUTOM ATIC BATTERY SWITCHO VER and
DESELECT
Po we r -fail Des e lect, VPFD = 2.60V (nom)
Switchover, VSO = 2.50 V (nom)
400kHz I 2C SERIAL INTERFACE
3.0/3.3V OPERATING VOLTAGE
–V
CC = 2.7 to 3.6V
ULTRA-L OW BA TTERY SUPP LY CURRE NT
of 500nA (max)
RoHS COMPLIANCE
Lead-free components are compliant with the
RoHS Di recti ve.
Serial RTC Features
400kHz I 2C
44 Bytes of General Purpose NVRAM
C ounters for:
Seconds, Minut es, Hours, Day, Date,
Month, and Year
–Century
10ths/100ths of Sec onds
Clock Calibration register allows
compensation for cryst al variations over
temperature
Programmable Alarm with Interrupt
Functions during Battery Back-up Mode
Power-down Timesta mp (HT Bit)
2 .5 t o 5.5 V Os c illa t or Op er at in g V o lt a ge
32K Hz Oscil lator with Integrated Load
C apacitanc e (12.5p F)
Micropro cesso r Su per vis ory Fe atures
Programmable Wat chdog Ti mer
62.5ms to 128s time-out period
Power-on Reset/Low Voltage Det ect Output
PFI/PFO with 1.25V Reference
Figu re 1. 16- pi n S OI C Package
NVR A M S upervis ory F eat ures
Non-volatizes External LPSRAM
Automat ically switches t o back -up batt ery
and dese lects (write -protects) external
LPSR AM via chip-enable gate
Power-fail deselect (write protect) voltage,
VPFD = 2.60V ( nom)
Switchover , VSO = 2.50V (nom)
Battery Low flag
Other Features
Programmable Squarewav e Generator (1Hz
to 32KHz)
–40°C to +85°C Operation
Packaged in a 16-lead SOIC
16
1
SO16 (MQ)
M41ST84W
2/29
TABLE OF CONTENTS
FEATURES SUMMARY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Serial RTC Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Mi cro pro cesso r Su pervisory Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Figure 1. 16-pin SOIC Package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
NVRAM Supervisory Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Other Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
SUMMARY DESCRIPTION. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Figure 2. Logic Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Table 1. Signal Names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Figure 3. 16-pin SO IC Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Figure 4. Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Figure 5. Hardware Hookup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
OPERATING MODES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2-Wire Bus Characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Figure 6. Serial Bus Data Transfer Sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Figure 7. Ackn owledg eme nt Sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Figure 8. Bus Timing Requi reme nts Sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Table 2. AC Characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
READ Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Figure 9. Slave Address Location. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Figure 10.READ Mode Sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Figure 11.Alternate READ Mode Sequenc e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
WRITE Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Data Retention Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Figure 12.WRITE Mode Seq uence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
CLOCK OPERATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 3
Power-down Time-Stamp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
TIMEKEEPER® Registers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Table 3. TIMEKEEPER® Register Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Calibrating the Clock. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Figure 13.Crystal Accuracy Across Temperature . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Figure 14.Clock Calibration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 6
Setting Alarm Clock Registers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 7
Figure 15.Alarm Interrupt Reset Waveform. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Table 4. A larm Repeat Modes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .17
Figure 16.Back-Up Mode Alarm Waveform. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Watchdog Timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Sq uare Wave Outp ut . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 9
Table 5. S quare Wave Out put Frequen cy. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Po wer-o n Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 0
3/29
M41ST84W
R eset Input (RSTIN). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 0
Figure 17.RSTIN Timing Waveform . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Table 6. Reset AC Characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .20
Power-fail INPU T/OUTPUT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Century Bit. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 1
Output Driver Pin. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Battery Low Warning. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
trec Bit. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Initial Power-on Defaults. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Table 7. trec Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Table 8. Default Values. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
MAXIMUM RATING. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Table 9. Absolute Maximum Ratings. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
DC AND AC PARAMETERS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Table 10. DC and AC Measurement Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Figure 18.AC Testing Input/Output Waveforms. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Table 11. Capacitance. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 3
Table 12. DC Characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Table 13. Crystal Electrical Characteristics (Externally Supplied) . . . . . . . . . . . . . . . . . . . . . . . . . 24
Figure 19.Power Down/Up Mode AC Waveforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Table 14. Power Down/Up AC Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
PAC KAGE MECHANICAL INFORMATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Figure 20.SO16 – 16-lead Plastic Small Outline, Package Outlin e. . . . . . . . . . . . . . . . . . . . . . . . . 26
Table 15. SO16 – 16-lead Plastic Small Outline, Package M echanical Data . . . . . . . . . . . . . . . . . 26
PAR T NUMBERING . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Table 16. Ordering Information Scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
REVISION HISTORY. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Table 17. Document Revision History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
M41ST84W
4/29
S UM MARY DE SCRIP T ION
The M41ST8 4W S erial Real-Time Clock is built in
a low power CMOS SRAM process. It has a 64-
byte memory space with 44 bytes of NVRAM and
20 memory-mapped RTC registers (see Table
3., page 14). The RTC registers are configured in
binary coded decimal (BCD) fo rmat.
A built-in, l ow power 32. 768kHz oscillator (external
crystal controlled) provides the time base for the
timekeeping and calendar functions .
The basic clock/ calendar functions are handled by
the first eight RTC registers, while the ot her twelve
bytes provide sta tus/c ontrol for the Alarm, Watch-
dog, and Square Wave functions.
Addresses and data are transferred serially v ia the
two line, bi-directional I2C interface. The built-in
address register is incremented automatically af-
ter each WRITE or READ da ta byte.
The M41ST84W has a built-in power sense circuit
which detects power failures and automatically
switches to the battery supply when a power fail-
ure occurs. The energy needed to sustain the
SRAM and clock ope ra tio ns can be supplie d by a
small lithium button-cell supply when a power fail-
ure occurs. Funct ions avai lable 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) whi ch can also generate an output Reset
(RST). The eight clock address locations contain
the century, year, month, dat e, day, ho ur, min ute,
second and tenths/hundredths of a second in 24
hour BCD format. Corrections for 28, 29 (leap year
- valid until year 21 00), 30 and 31 day months are
m ade au tomat ica lly.
The M41ST84W is supplied in a 16-lead SOIC
package.
Figure 2. Logic Diagram Tabl e 1. Signal Names
AI03677
SCL
VCC
M41ST84W
VSS
SDA
RSTIN
IRQ/FT/OUT
SQW
WDI
PFI
RST
PFO
VBAT
XI
XO
XI Oscillator Input
XO Oscillator Output
IRQ/FT/OUT Interrupt/Frequency Test/Out
Output (Open Drain)
PFI Power Fail Input
PFO Power Fail Output
RST Reset Output (Open Drain)
RSTIN Reset Input
SCL Serial Clock Input
SDA Serial Data Input/Output
SQW Square Wave Output
WDI Watchdog Input
VCC Supply Voltage
VBAT Battery Supply Voltage
VSS Ground
NC No Connect
5/29
M41ST84W
Figu re 3. 16- pi n S O I C Co nnecti ons
Figu re 4. Blo ck Diagram
Note: 1. Ope n drain output
AI03678
8
2
3
4
5
6
79
10
11
12
13
14
16
15
1
RSTIN
WDI IRQ/FT/OUT
SDA
VBAT
PFI
NC
SQW
SCL
NC
PFO
VSS
RST
XO
XI VCC
M41ST84W
AI03931
COMPARE
VPFD = 2.65V
VCC
COMPARE
VSO = 2.5V
VINT
VBL= 2.5V BL
COMPARE
Crystal
400kHz
I2C
INTERFACE
REAL TIME CLOCK
CALENDAR
44 BYTES
USER RAM
RTC w/ALARM
& CALIBRATION
WATCHDOG
SQU ARE W AVE
SDA
SCL
1.25V
PFI PFO
RSTIN
POR
SQW
RST(1)
WDI
WDF
AF
IRQ/FT/OUT(1)
VBAT
32KHz
OSCILLATOR
COMPARE
(Internal)
M41ST84W
6/29
Figure 5. Hardware Hookup
No te: 1. Us er -su p plied crysta l
AI03680
VCC
PFO
SCL
WDI
RSTIN
PFI
VSS
VBAT
IRQ/FT/OUT
SQW
RST
SDA
XO
XI
M41ST84W
Unregulated
Voltage
Regulator
VCC
VIN
To RST
To LED Display
To NMI
To INT
R1
32KHz(1)
XTAL
R2
From MCU
7/29
M41ST84W
OPE RATIN G MODES
The M41ST8 4W c lock operate s as a slave device
on the serial bus. Access is obtained by imple-
menting 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. Tenths/Hundredths of a Second Regis ter
2. Seconds Regist er
3. Minutes Register
4. Century/Hours Register
5. Day Register
6. Date Register
7. Month Register
8. Year Register
9. Control Register
10. Watchdog Register
11 - 16. A larm Registers
17 - 19. Reserv ed
20. Square Wave Regi ster
21 - 64. User RAM
The M41ST84W clock continually monitors VCC
for an out-of tolerance condition. Should VCC fa ll
below VPFD, the device terminates an access in
progress and resets the device address counter.
Inputs to the device will not be recognized at this
time to prev ent erroneous data fr om bei ng wri tten
to the device from a an out-of-tolerance system.
When VCC falls below VSO, the device automati-
cally switches over to the battery and powers
down into an ultra low curr ent mode of operation to
conserv e battery life. As system power returns and
VCC rises above V SO, the battery is disconnected,
and the power supply is switched to external V CC.
Write protection continues until VCC reaches
VPFD(min) plus trec (min).
For more information on Battery Storage Li fe 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-direction-
al data signal (SDA) and a clock signal (SCL).
Both the SDA and SCL lines mus t be connected to
a positive supply voltage via a p ull-up resistor.
The following protocol has been defined:
Data tra nsfer 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
H igh, will be interpreted as control signals.
Accordingly, the following bus conditions have
been defined:
Bus not busy. Both data and clock lines remain
High.
Start data transfer. A change in the state of the
data li ne, from Hi gh to Low, while t he clock is High,
defines the START condi tion.
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 .
Data Va lid. The state of the da ta line repre sents
valid data when after a start condition, the dat a line
is stable for the d uration of the high period of the
clock signal. T he data on the line may be changed
during the Low period of the clock signal. There i s
one clock pulse per bit of data.
Each data transfer is initiated with a start condi tion
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 rec eiver ack nowl-
edges with a nin th bit.
By definition a dev ice t hat gives o ut a m essag e is
called “transmitter”, the receiving device t hat g ets
the message is called “receiver”. The device that
controls the message is called “master”. The de-
vices that are controlled by the master are called
“slaves”.
Acknowledge. E ac h byte of eight bits is followed
by one Acknowledge B it. This Acknowled ge Bit is
a low level put on t he bus by the receiver whereas
the master generates an extra acknowled ge relat-
ed clock pulse. A slave receiver which is ad-
dressed 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 dur-
ing the High period of the acknowledge related
clock pulse. Of course, setup and hold times mus t
be taken int o account. A master recei ver must sig-
nal an end of data to the sla ve transmitter by not
generating an acknowledge on the last byte that
has been cloc ked out of the slave. I n this case the
transmitter must l eave the data l ine High to enable
the mast er to generate the STOP condition.
M41ST84W
8/29
Figure 6. Serial Bus Data Transfer Sequen ce
Figure 7. Ackno wledgement Sequence
AI00587
DATA
CLOCK
DATA LINE
STABLE
DATA VALID
START
CONDITION CHANGE OF
DATA ALLOWED STOP
CONDITION
AI00601
DATA OUTPUT
BY RECEIVER
DATA OUTPUT
BY TRANSMITTER
SCLK FROM
MASTER
START CLOCK PULSE FOR
ACKNOWLEDGEMENT
12 89
MSB LSB
9/29
M41ST84W
Figure 8. Bus Timing Requirements Sequence
Table 2. AC Characteristics
Note: 1. Vali d for Ambi ent Operating Tem perature: TA = –40 t o 85°C; VCC = 2. 7 t o 3.6V (except where noted).
2. Transmit t e r m ust inte rnally p rovide a hol d time to bridge the undefined regi on ( 300ns max) of the falli ng edge of SC L.
Symbol Parameter(1) Min Max Unit
fSCL SCL Clock Frequency 0 400 kHz
tBUF Time the bus must be free before a new transmission can start 1.3 µs
tFSDA and SCL Fall Time 300 ns
tHD:DAT(2) Data Hold Time 0 µs
tHD:STA START Condition Hold Time
(after this period the first clock pulse is generated) 600 ns
tHIGH Clock High Period 600 ns
tLOW Clock Low Period 1.3 µs
tRSDA and SCL Rise Time 300 ns
tSU:DAT Data Setup Time 100 ns
tSU:STA START Condition Setup Time
(only relevant for a repeated start condition) 600 ns
tSU:STO STOP Condition Setup Time 600 ns
AI00589
SDA
PtSU:STOtSU:STA
tHD:STA
SR
SCL
tSU:DAT
tF
tHD:DAT
tR
tHIGH
tLOW
tHD:STAtBUF
SP
M41ST84W
10/29
READ Mode
In this mode the master reads the M41ST84W
slave after setting the slave address (see Figure
9., page 10). Following the WRITE Mode Control
Bit (R/W=0) and the Acknowledge Bit, the word
address ‘An’ is written to the on-chip address
pointer. Next the START condition and slave ad-
dress are repeated followed by the READ Mode
Control Bit (R/W=1). At this point the master trans-
mitter becomes the master receiver. The data byte
which was addressed will be transmitted and the
master receiver will send an Acknowledge Bit to
the slave transm itter. The address pointer is only
incremented on reception of an Acknowledge
Clock. The M4 1ST84W 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.”
This cycle of reading consecutive addresses will
continue until the master receiver sends a STOP
condition to the slave transmitter (see Figure
10., page 11).
The system-to-user transfer of clock data will be
halted whenever the address bei ng read is a clock
address (00h to 07h). The update will resume ei-
ther due to a Stop Condition or when the pointer
increments to a non-clock or RAM address .
Note: This is true bot h in READ Mode and WRITE
Mode.
An alternate READ Mode may also be implement -
ed whereby the master reads the M41ST84W
slave without first writing to the (volatile) address
pointer. The first address that is read is the last
one stored in the pointer (see Figure
11., page 11).
Figure 9. Slave Address Lo cation
AI00602
R/W
SLAVE ADDRESS
START A
0100011
MSB
LSB
11/29
M41ST84W
Figure 1 0 . RE A D Mo de S equence
Figu re 11 . Al te rnat e R E A D Mo de S equence
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
M41ST84W
12/29
WRITE Mod e
In this mode the master transmitter transmits to
the M41ST84W slave receiver. Bus protocol is
shown in Figure 12., page 12. Following the
START condition and slave address, a logic '0' (R/
W=0) is placed on the bus and indicates to t he ad-
dressed device that word address An will follow
and is to be written to t he on-chip address pointer.
The data word to be written to the memory is
strobed in next and t he internal addres s pointer is
incremented to the next memory location within
the RAM on the reception of an acknowledge
clock. The M41ST84W slave receiver will send an
acknowledg e cloc k to the m aster transmitter after
it has received the slave address (see Figure
9., page 10) and again after it has received the
word address and eac h data byte.
Data Reten tion Mode
With valid VCC applied, the M41ST84W can be ac-
cessed as des cribed ab ov e with REA D or WRI TE
cycles. Should the supply voltage decay, the
M41ST84W will automatically des elect, write pro-
tecting itself when VCC falls between VPFD(max)
and VPFD(m in) . This is a c c omplish ed by internally
inhibiting access to the clock registers. At this
tim e, the Reset pin (RST) is driven active and will
remain active until VCC returns to nominal levels.
When VCC falls below the Battery Back-up
Switchover Voltage (VSO), power input is switched
from the VCC pin to the external battery, and the
clock registers and SRAM are maintained from the
attached battery supply.
All outputs become high impedance. On power up,
when VCC returns to a nominal value, write protec-
tion continues for trec. The RST signal also re-
mains active during this time (see Figure
19., page 25).
For a further more detailed review of lifetime calcu-
lations, please see Application Note AN1012.
Figure 1 2 . WR I TE Mo de S equenc e
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
13/29
M41ST84W
C LOCK OPERATIO N
The eight byte clock register (see Table
3., page 14) is used to both set the clock and to
read the date and time from the clock, in a binary
coded decimal format . Tenths/Hundredths of Sec-
onds, Sec onds, Mi nut es, and Hours are contained
wi t h i n th e fir st fo u r re g ist e r s.
Note: A W RIT E to any cloc k reg is ter w ill re sult in
the Tenths/Hu ndredths of Seconds bei ng reset to
“00,” and Tenths/Hundredths of Seconds cannot
be written to any value other than “00.”
Bits D6 and D7 of Clock Register 03h (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 fr om '1' to '0' at the turn of the century (de-
pending upon its initial state). If CEB is set to a '0,'
CB will not toggle. B its D0 through D2 of Register
04h contain the Day (day of week). Registers 05h,
06h, and 07h contain the Date (day of month),
Month and Years. The ninth clock register is the
Control Register (this is described in the Clock
Calibration section). Bit D7 of Register 01h con-
ta ins the STOP Bit (ST) . Setting th is bi t to a ' 1 ' wil l
cause the oscillator to stop. If the device i s expect -
ed to spend a significant amount of time on the
shelf, the oscillator may be stopped t o reduce cur-
rent drain. When reset t o a '0' the oscillator restarts
within one second.
The eight clock reg isters may be read on e by te at
a time, or in a sequ ential block. The Cont rol Reg-
ister (Address location 08h) may be accessed in-
dependently. Provision has been made to assure
that a cloc k update does not occur while any of the
eight clock addresses are being read. If a clock ad-
dress is being read, an update of the clock regis-
ters will b e halt ed. T his will p reve nt a tr ansit ion of
data during the READ.
Power-down Time-Stamp
When a p ower failure oc curs, the Hal t Update Bit
(HT) will automatically be set to a '1.' This will pre-
vent the clock from updating the TIMEKEEPER®
registers, and will allow the user to read the exact
time of the power-down event. Resetting the HT
Bit to a '0' will allow the clock to update th e TIME-
KEEPER r e g isters with the cur rent ti me. Fo r mo r e
information, see Application Note AN157 2.
TIMEKEEPER® Registers
The M41ST84W offers 12 additional internal reg-
isters which contain the Alarm, Watchdog, Flag,
Square Wave and Control data. These registers
are memory locations which contain external (user
accessible) and internal copies of the data ( usually
referred to as BiPORT TI MEKEEPER cel ls) . The
external copies are independent of internal func-
tions except that they are updated p eriodically by
the simultaneous transfer of the incremented inter-
nal copy. The internal divider (or clock) chain will
be reset upon the completion of a WRITE to any
clock addr ess.
The system-to-user transfer of clock data will be
halted whenever the address bei ng read is a clock
address (00h to 07h). The update will resume ei-
ther due to a Stop Condition or when the pointer
increments to a non-clock or RAM address .
TIMEKEEPER and Alarm Registers store data in
BCD. Control, Watchdog and Square Wave Reg-
isters store data in Binary Format.
M41ST84W
14/29
Table 3. TIME KE EPER® Re gister Map
Keys: S = Sig n Bit
FT = Frequency Test Bit
ST = Sto p Bit
0 = Must be set to zer o
BL = B at tery Low F l ag (Read only)
BMB0-BMB4 = Watchdog Multiplier Bits
CE B = C entury Enable Bit
CB = Century Bi t
OUT = Output level
AFE = Ala rm Flag Enable Flag
RB 0-RB1 = Wa tc hdog Resolution Bi t s
WDS = Watchd og Steeri ng Bit
ABE = Alarm in Bat te ry Back-Up Mode Enab le Bit
RP T 1-RPT5 = A l arm Repeat M ode Bits
WDF = Watchdog flag (Read only)
AF = A l arm flag (Read only)
SQWE = Square Wave Enable
RS 0-RS3 = SQ W Frequency
HT = Halt Updat e Bit
TR = trec Bit
Address Data Function/Range
BCD Format
D7 D6 D5 D4 D3 D2 D1 D0
00h 0.1 Seconds 0.01 Seconds Seconds 00-99
01h ST 10 Seconds Seconds Seconds 00-59
02h 0 10 Minutes Minutes Minutes 00-59
03h CEB CB 10 Hours Hours (24 Hour Format) Century/Hours 0-1/00-23
04hTR0000 Day of Week Day 01-7
05h 0 0 10 Date Date: Day of Month Date 01-31
06h00010M Month Month 01-12
07h 10 Years Year Year 00-99
08h OUT FT S Calibration Control
09h WDS BMB4 BMB3 BMB2 BMB1 BMB0 RB1 RB0 Watchdog
0Ah AFE SQWE ABE Al 10M Alarm Month Al Month 01-12
0Bh RPT4 RPT5 AI 10 Date Alarm Date Al Date 01-31
0Ch RPT3 HT AI 10 Hour Alarm Hour Al Hour 00-23
0Dh RPT2 Alarm 10 Minutes Alarm Minutes Al Min 00-59
0Eh RPT1 Alarm 10 Seconds Alarm Seconds Al Sec 00-59
0FhWDFAF0BL0 0 0 0 Flags
10h00000000Reserved
11h00000000Reserved
12h00000000Reserved
13h RS3 RS2 RS1 RS0 0 0 0 0 SQW
15/29
M41ST84W
Calibrating the Clock
The M41ST84W is driven by a quartz controlled
oscillator with a nominal frequency of 32,768Hz.
The devices are tested not exceed +/–35 ppm
(parts per million) oscillator frequency error at
25oC, which equates to about +/–1.53 minutes per
month. When the Calibration circuit is properly em-
ployed, a ccuracy im proves to b etter than ±2 ppm
at 25°C.
The oscillation rate of crystals chang es with tem-
perature (see Figure 13., page 16 ). Therefore, the
M41ST84W design em ploys perio dic c ounter c or-
rection. The calibration circuit adds or subtracts
counts from the oscillator divider circuit at the di-
vide by 256 stage, as shown in Figure
14., page 16. The number of times pulses which
are blanked (subtracted, negative calibration) or
split (added, positive calibration) depends upon
the value loaded into t he five Calibration bits found
in the Control Register. Adding counts speeds the
clock up, subtracting count s slows the clock down.
The Calibration bits occupy the five lower order
bits (D4-D0) in the Control Register (08h). These
bits can be set to represent any value between 0
and 31 in binary form. Bit D5 is a Sign Bit; '1' indi-
cates positive calibration, '0' indicates negative
calibration. Calibration occurs within a 64 minute
cycle. The first 62 m inutes i n the cycle m ay, once
per minute, h ave one second either shortened by
128 or lengthened by 256 oscillator cycles. If a bi-
nary '1' is loaded into the register, only the first 2
minute s in the 64 minute cycle will b e modified; if
a binary 6 is loaded, the first 12 will be affected,
and so on.
Therefore, each calibration step has the effect of
adding 512 or subtracting 256 osc illator cycles for
every 125,829,120 actual oscillator cycles, that is
+4.068 or –2.034 ppm of adjustment per calibra-
tion step i n t he cal ibration re gister. As sum ing that
the oscillator is running at exactly 32,768Hz, each
of the 31 increm ents in the Calibration byte wou ld
represent +10.7 or –5.35 seconds per month
which corresponds to a total range of +5.5 or –2.75
minutes per month.
Two methods are available for ascertaining how
much cal ibration a giv en M41ST84W may require.
The first involves setting the clock, lett i ng it run for
a month and comparing it to a known accurate r ef-
erence and r ecor ding dev iation over a fixed period
of time. Calibration values, including the number of
seconds lost or gained in a given period, can be
found in Application Note AN934: TIMEKEEPER
CALIBRATION. This allows the designer to give
the end user the ability to calibrate the clock as the
environment requires, even if the final product is
packaged in a non-user serviceable enclosure.
The designer c ould pr ov ide a simple utility that ac-
cesses the Calibration byte.
The second approach is better suited to a m anu-
facturing environment, and involves the use of the
IRQ/FT/OUT pin. The pin will toggle at 512Hz,
when the Stop Bit (ST, D7 of 01h) is '0,' the Fre-
quency Test Bit (FT, D6 of 08h) is '1,' the Alarm
Flag Enable Bit (AFE, D7 of 0Ah) is '0,' and the
Watchdog Steering Bit (WDS, D7 of 09h) is '1' or
the Watchdog Register (09h = 0) is reset.
Any deviation from 512Hz indicates the degree
and direction of oscillator frequency shift at the test
temperature. For example, a reading of
512.010124Hz would indicate a +20 ppm oscillator
frequency error, requiring a –10 (XX001010) to be
loaded into the Calibration Byte for correction.
Note that setting or changing the Calibration Byte
does not af fect the Frequency test output fr equen-
cy.
The IRQ/FT/OUT pin is an open drain output
which requires a pull-up resistor to VCC for proper
operation. A 500 to 10k resistor is recommended
in order to control the rise time. The FT Bit is
cleared on power-down.
M41ST84W
16/29
Figure 13. Crys tal Accuracy Acro ss Tem p eratur e
Figu re 14 . Cl ock C al ib r at i on
AI00999b
–160
0 10203040506070
Frequency (ppm)
Temperature °C
80–10–20–30–40
–100
–120
–140
–40
–60
–80
20
0
–20
F= K x (T –T
O
)
2
K = –0.036 ppm/°C
2
± 0.006 ppm/°C
2
T
O
= 25°C ± 5°C
F
AI00594B
NORMAL
POSITIVE
CALIBRATION
NEGATIVE
CALIBRATION
17/29
M41ST84W
Setting Alarm Clock Registers
Address locations 0Ah-0E h cont ain the alarm se t-
tings. The alarm can be configured to go off at a
prescribed time on a specific month, date, hour,
minute, or second, or repeat every year, month,
day, hour, minute, or second. It can also be pro-
grammed to go off whil e the M41ST84 W is in the
battery back-up to serve as a system wake-up call.
Bits RPT5-RPT1 put the alarm in the repeat mode
of operation. Table 4., page 17 shows the possible
configurations. Codes not listed in the table default
to the once per second mode to quickly alert the
user of an incorrect al arm setting.
When the clock information matches the alarm
clock settings based on the match crit eria d efined
by RPT5-RPT1, the AF (Alarm Flag) is set. If AFE
(Alarm Flag Enable) is also set, the alarm condi-
tion ac ti va te s th e IRQ/FT/OUT pin.
Note: If the address pointer is allowed to incre-
ment to the Flag Registe r ad dress, an alarm con-
dition will not cause the Interrupt/Flag to occur until
the address pointer is moved to a different ad-
dress. It should also be noted that if the last ad-
dress written is the “Alarm Seconds,” the address
pointer will increment to t he F lag address, c ausi ng
this situation to occur.
The IRQ/FT/OUT output is cleared by a READ t o
the Flags Register as shown in Figure 15. . A sub-
sequent READ of the Flags Regist er is necessary
to see that the value of the Alarm Flag has been
re set to '0. '
The IRQ/FT/OUT pin can also be activated in t he
battery back-up mode. The IRQ/FT/OUT will go
low if an alarm occurs and both ABE (Alarm in Bat-
tery Back-up M ode E nable ) and A FE are set . The
ABE and AFE Bits are reset during power-up,
therefore an alarm generated during power-up will
only set AF. The user ca n read the Flag Register
at system boot-up to determine if an alarm was
generated while the M41ST84W was in the dese-
lect mode during power-up. Figure 16., page 18 il-
lustrates the back-up mode alarm timing.
Figure 15. Alarm Interrupt Reset Waveform
Table 4. Alarm Repeat Modes
RPT5 RPT4 RPT3 RPT2 RP T1 A larm Settin g
11111Once per Second
11110Once per Minute
11100Once per Hour
11000Once per Day
10000Once per Month
00000Once per Year
AI03664
IRQ/FT/OUT
ACTIVE FLAG
0Fh0Eh 10h
HIGH-Z
M41ST84W
18/29
Figure 16. Back-Up Mode Al arm Wavefo rm
Watchdog Timer
The watchdog timer can be used to detect an out-
of-control microprocessor. The us er program s the
watchdog timer by setting the desired amount of
time-out into the Watchdog Register, address 09h.
Bits BMB4-BMB0 store a binary mul tiplier and the
two lower order bits RB1-RB0 select the resolu-
tion, where 00 = 1/16 second, 01 = 1/4 second,
10 = 1 second, and 11 = 4 seconds. The amount
of time-out is then determined to be the multiplica-
tion of the five -bit multiplier value with t he resolu-
tion. (For example: writing 00001110 in the
Watchdog Register = 3*1, or 3 seconds).
Note: Accuracy of timer is within ± the selected
resolution.
If the processor does not reset the t imer within the
specified period, the M41ST84W sets the WDF
(Watchdog Flag) and generates a watchdog i nter-
rupt or a m icroproc essor reset.
The most significa nt bit of the Watchdog Regi ster
is the Watc hdog Steering Bit (WDS). When set to
a '0,' the watchdog will activate the IRQ/FT/OUT
pin when timed-out. When WDS is set to a '1,' the
watchdog will output a negat ive pul se on th e RST
pin for trec. The Watchdog regist er, FT, AFE, ABE
and SQWE Bits will reset to a '0' at the end of a
Watchdog time-out when the WDS Bit is set to a
'1.'
The watchdog timer can be reset by two methods:
1) a transition (high-to-low or low-to-high) can be
applied to the Wat chdog Input pin (WDI) or 2) the
microprocessor can perform a WRITE of the
Watchdog Register. The time-out period then
starts over.
Note: The WDI pin should be tied to VSS if not
used.
In order to perform a software reset of the wa tch-
dog timer, the original time-out period can be writ-
ten into the Watchdog Register, effectively
res tar ti n g the count- do wn cycle .
Should the wat chdog t imer time-out, and the WDS
Bit is programmed to output an interrupt, a value of
00h needs to be written to the Watchdog Regi ster
in order t o clear the IRQ/FT/OUT pin. This will also
disable the wat c hdog function until it is agai n pro-
grammed correctly. A READ of the Flags Register
will reset the Watchdog Flag (Bit D7; Register
0Fh).
The watchdog function is automatically disabled
upon power-up and the Watchdog Register is
cleared. If the watchdog function is set to out put to
the IRQ/FT /OU T pin and the F requency Test (FT)
function is activated, the watchdog function pre-
vails and the Frequency Test functio n is denied.
AI03920
VCC
IRQ/FT/OUT
VPFD
ABE, AFE Bits in Interrupt Register
AF bit in Flags Register
HIGH-Z
VSO
HIGH-Z
tREC
19/29
M41ST84W
Square Wave Output
The M41ST84W offers the user a programmable
square wave function which is output on the SQW
pin. The RS3-RS0 Bits locat ed in 13h establish the
square wave output f requency. These frequencies
are listed in Table 5.. Once the selection of the
SQW frequency has been completed, the SQW
pin can be turned on a nd off un der software con-
trol with the Square W ave Enabl e Bit (SQWE ) lo-
cated in Register 0Ah.
Table 5. Square Wave Output Frequency
Square Wave Bits Square Wave
RS3 RS2 RS1 RS0 Frequency Units
0000None
0 0 0 1 32.768 kHz
0 0 1 0 8.192 kHz
0 0 1 1 4.096 kHz
0 1 0 0 2.048 kHz
0 1 0 1 1.024 kHz
0110512Hz
0111256Hz
1000128Hz
100164Hz
101032Hz
101116Hz
11008Hz
11014Hz
11102Hz
11111Hz
M41ST84W
20/29
Power-on Reset
The M41ST84W continuously monitors VCC.
When VCC falls to the power fail detect trip point,
the RST pulls low ( open drain) and remai ns low on
power-up for trec after VCC passes VPFD(max).
The RST pin is an open drain output and an appro-
priate pull-up resistor should be chosen to control
rise time.
Reset Input (RSTIN)
The M41ST84W provides an independent input
which can generate an output reset. The durat ion
and function of this reset is identical to a reset gen-
erated by a power cycle. Table 6., page 20 and
Figure 17. , page 20 illustrate the AC reset charac-
teristics of this function. Pulses shorter than tRLRH
will no t ge ne r ate a re se t co n dition. RSTIN is inter -
nally pulled up to VCC through a 100k resist o r.
Figure 17. RSTIN Ti ming Waveform
N ote: Wi th pull -up resist or
Table 6. Reset AC Characteristics
Note: 1. Vali d for Ambi ent Operating Tem perature: TA = –40 t o 85°C; VCC = 2. 7 t o 3.6V (except where noted).
2. Pulse width less than 50ns will result in no RESET (for noise immunity) .
3. Pr ogrammable (see Table 8., page 22)
Symbol Parameter(1) Min Max Unit
tRLRH(2) RSTIN Low to RSTIN High 200 ns
tRHRSH(3) RSTIN High to RST High 40 200 ms
AI03682
RST (1)
RSTIN
tRLRH
tRHRSH
21/29
M41ST84W
Power- fail INPUT/OUTPUT
The Power-Fail Input (PFI) is compared to an in-
ternal reference voltage (1.25V) . If PFI is less than
the power-fail threshold (VPFI), the Power-Fail
Output (PF O) wi ll go low. Thi s function is intended
for use as an under-voltage detector to signal a
failing power supply. Typically PFI is connected
through an external voltage divider (see Figure
5., page 6) to either the unregulated DC inpu t (if it
is available) or the regulated output of the VCC reg-
ulator. The voltage divider can be set up such t hat
the voltage at PFI falls below VPFI several millisec-
onds before the regulated VCC input to the
M41ST84W or the microprocessor drops below
the minimum operating volt age.
During battery bac k-up, the power-fail comparator
turns off and PFO goes (or remai ns) low. This oc-
curs after VCC drops below VPFD(min). When pow-
er returns, PFO is forced high, irrespective of VPFI
for the write protect time (trec), which is the time
from VPFD(max) until the inputs are recognized. At
the end of this time, the power-fail comparator is
enabled and PF O follows PFI. If the comparator is
unused, PFI should be connected to VSS and PFO
left unconnected.
Century Bit
Bits D7 and D6 of Clock Register 03h contain the
CENTURY ENABLE Bi t (CEB) and the CENTURY
Bit (CB). Setting CEB t o a “1” will cause CB to tog-
gle, eith er from a “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.
Output Driver Pin
When the FT Bit, AFE Bit and watchdog register
are not set, the IRQ/FT/OUT pin becomes an out-
put driver that reflects the contents of D7 of the
Control Register. In other words, when D7 (OUT
Bit) and D6 (FT Bit ) of address location 0 8h are a
'0,' th en the IRQ/ FT/ OUT pin will b e d riv e n lo w.
Note: The IRQ/F T/OUT pi n is an open drain which
requires an external pull-up resistor.
Batt ery Lo w W arn in g
The M41ST84W automatically performs battery
voltage monitoring upo n power-up and at factory-
programmed time intervals of approximately 24
hours. The Battery Low (BL) Bit, Bit D4 of Flags
Register 0Fh, will be asser ted if the battery voltage
is found to be less than approximately 2.5V. T he
BL Bit will r emain asserted unt i l completion of bat-
tery replacement and subsequent battery low
monitoring tests, either during the next power-up
sequence or the next scheduled 24-hour interval.
If a battery low is generated during a power-up se-
quence, this indicates that the battery i s below ap-
proximately 2.5 volts and may not be able to
maintain data integrity in the SRAM . Da ta should
be considered suspect and verified as correct. A
fresh battery should be installed.
If a battery low indication is genera ted during the
24-hour interval check, this indicates that the bat-
tery is n ear end of life. Howe ve r, dat a i s not com-
promised due to the fact that a nominal VCC is
supplied. In order to insure data integrity during
subsequent pe riods of bat tery back-up m ode, the
battery should be replaced. The battery may be re-
placed while VCC is a pplied to the device.
The M41ST84W only monitors the bat tery when a
nominal VCC is applied to the device. Thus appli-
cations which require extensive durations in the
battery back- up mode should be powered-up peri-
odically (at least once every few mont hs) in order
for this technique to be beneficial. Addit ionally , if a
battery low is indicated, data integrity should be
verified upon power-up via a checksum or other
technique.
trec Bit
Bit D7 of Clock Register 04h contains the trec Bit
(TR). trec refers to the automatic continuation of
t h e desel ec t ti me af te r VCC reaches VPFD. Thi s al-
lows for a voltage setting time before WRI TEs may
again be performed to the device after a power-
down condition. The trec Bit will allow the user to
set the length of this deselect time as defined by
Table 7. , page 22.
In it ial P o wer - o n D efa u l ts
Upon initial application o f power to the device, the
following register bit s are set to a '0' st ate: Watch-
dog Register , TR, F T, AFE , ABE, and SQ WE. The
following bits are set to a '1' state: ST, OU T, and
HT (see Table 8., page 22).
M41ST84W
22/29
Table 7. trec Definitions
Note: 1. Default Setting
Table 8. Default Values
No te: 1. WDS, BMB0-BMB4, RB0, RB1.
2. State of other cont rol bits undefined.
3. UC = Unchanged
MAXI MUM RAT IN G
Stressing the device ab ove t he rating listed in t he
“Absolute Maximum Ratings” table may cause
permanent damage to the device. These are
stress ratings only and operation of the device at
these or any other conditions above those indicat-
ed in the Oper ating sections of this specification is
not impl ied. Exposure to Absol ute Max imum Ra t-
ing conditions for extended periods may affect de-
vice reliability. Refer also to the
STMicroelectronics S URE P rogram and other rel-
evant quality documents.
Table 9. Absolute Maximum Ratings
Note: 1. For SO package, standard (S nPb) lead fi ni sh: Re flow at peak temperatu re o f 225°C (total thermal budget not to e xc eed 180°C for
between 90 to 15 0 s econd s).
2. F or S O package, Lead-fr ee (Pb-f ree) l ead fini sh: Refl ow at p eak temperature of 260°C (t ot al therm al budget n ot to exc eed 245°C
for greater than 30 seconds).
CAUTION: N egative undershoots be l ow –0.3V a re not allowe d on a ny pi n whi l e i n t he Battery B ack- up mode.
tREC Bit (TR) STOP Bit (ST) trec Time Units
Min Max
009698ms
0140
200(1) ms
1 X 50 2000 µs
Condition TR ST HT Out FT AFE ABE SQWE WATCHDOG
Register(1)
Initial Po wer-up
(Battery Attach)(2) 0111000 0 0
Subsequent Power-up (with
battery back-up)(3) UC UC 1 UC 0 0 0 0 0
Symbol Parameter Value Unit
TSTG Storage Temperature (VCC Off, Oscillator Off) –55 to 150 °C
TSLD(1) Lead Solder Temperature for 10 seconds 260 °C
VIO Input or Output Voltages –0.3 to VCC + 0.3 V
VCC Supply Voltage –0.3 to 4.6 V
IOOutput Current 20 mA
PDPower Dissipation 1 W
23/29
M41ST84W
DC AND A C PARAMETERS
This section summarizes the operating and mea-
surement conditions, as well as the DC and AC
characteristics of the device. The parameters in
the following DC and A C Charact eristic tables are
derived from tests pe rform ed under the Meas ure-
ment Condition s listed in the relevant tables. De-
signers should check that the operating conditions
in their projects match the measurement condi-
tions when using the quoted parameters.
Table 10. D C and AC Measurement Condi tions
Note: Out put Hi-Z is def i ned as the poi nt where data is no l onger dri ven.
Figure 18. AC Testing Input/Output Waveforms
Note: 50pF f or M41S T8 4W.
Table 11. C apacitanc e
Note: 1. Effective c apacitance measured wi th power supply at 3V. S am pled on l y, not 100% tes ted.
2. At 25°C, f = 1M Hz.
3. Out puts desel ected .
Parameter M41ST84W
VCC Supply Voltage 2.7 to 3.6V
Ambient Operating Temperature –40 to 85°C
Load Capacitance (CL)50pF
Input Rise and Fall Times 50ns
Input Pulse Voltages 0.2 to 0.8VCC
Input and Output Timing Ref. Voltages 0.3 to 0.7VCC
AI02568
0.8VCC
0.2VCC
0.7VCC
0.3VCC
Symbol Parameter(1,2) Min Max Unit
CIN Input Capacitance 7 pF
CIO(3) Input / Output Capacitance 10 pF
tLP Low-pass filter input time constant (SDA and SCL) 50 ns
M41ST84W
24/29
Table 12. D C Character istics
Note: 1. Vali d for Ambi ent Operating Tem perature: TA = –40 t o 85°C; VCC = 2. 7 t o 3.6V (except where noted).
2. RSTIN internally pulled-up to VCC thro ugh 100K resistor . WD I in ternall y pulled-down to VSS through 100K resistor.
3. Out puts desel ected .
4. F or P F O and SQW pins (CMO S ).
5. For IRQ/FT/OUT, RST pi ns (O pen Dr ain ): if p ul led -up to su ppl y ot he r t han V CC, th is su ppl y mu st be e qu al to, or l ess th an 3.0V wh en
VCC = 0V (during batter y back-u p m ode).
6. F or rechargeable back-up, VBAT (max) may be cons i dered VCC.
Table 13. C rystal Electrical Ch aracteristi cs (Externally Sup plied)
Note : 1. Loa d capacitors are integrated within the M 41ST84W . Circuit board layout c onsideratio ns for t he 32.768 kHz cry stal of min imum
trac e l engths an d i solation from RF generating signal s should b e ta ken into ac count.
2. STMicroelectronics recommends the KDS DT-38: 1TA/1TC252E127, Tuning Fork Type (thru-hole) or the DMX-26S:
1TJ S1 25FH2 A212, (SM D) quart z crystal f or indust ri al temperature operations. KDS can be con tacted at k ouhou@k dsj.co.jp or ht -
tp://www.kdsj.co.jp for further information on this crystal type.
Sym Parameter Test Condition(1) M41ST84W Unit
Min Typ Max
IBAT Battery Current OSC ON TA = 2C, VCC = 0V,
VBAT = 3V 400 500 nA
Battery Current OSC OFF 50 nA
ICC1 Supply Current f = 400kHz 0.75 mA
ICC2 Supply Curre nt (Standby) SCL, SDA = VCC – 0.3V
or VSS + 0.3V 0.50 mA
ILI(2) Input Leakage Current 0V VIN VCC ±1 µA
Input Leakage Current (PFI) –25 2 25 nA
ILO(3) O utput Leak age Curren t 0V VOUT VCC ±1 µA
VIH Input High Voltage 0.7VCC VCC + 0.3 V
VIL Input Low Voltage –0.3 0.3VCC V
VBAT Battery Voltage 2.5 3.0 3.5(6) V
VOH Output High Volta ge(4) IOH = –1.0mA 2.4 V
VOL Output Low Vo ltage IOL = 3.0mA 0.4 V
Output Low Vo ltage (Ope n Drain)(5) IOL = 10mA 0.4 V
Pull-up Supply Voltage (Open Drain) RST, IRQ/FT/OUT 3.6 V
VPFD Power Fail Deselect 2.55 2.60 2.70 V
VPFI PFI Input Threshold VCC = 3V(W) 1.225 1.250 1.275 V
PFI Hysteresis PFI Rising 20 70 mV
VSO Battery Back-up Switchover 2.5 V
Symbol Parameter(1,2) Typ Min Max Unit
f0Resonant Frequency 32.768 kHz
RSSeries Resistance 50 k
CLLoad Capacitance 12.5 pF
25/29
M41ST84W
Figure 19. Power Down /U p Mode AC Waveform s
Table 14. Po wer Do wn/Up AC Char acteristic s
Note: 1. Vali d for Ambi ent Operating Tem perature: TA = –40 t o 85°C; VCC = 2. 7 t o 3.6V (except where noted).
2. VPFD(ma x) t o VPFD(min) fall time o f les s than tF may result in deselection/write protection not occurring until 200µs after VCC passes
VPFD(min).
3. VPFD(min) to VSS fall time of less than tFB may cause cor ruption of RAM dat a.
4. Pr ogrammable (see Table 7., page 22)
Symbol Parameter(1) Min Typ Max Unit
tF(2) VPFD(max) to VPFD(min) VCC Fall Time 300 µs
tFB(3) VPFD(min) to VSS VCC Fall Time 10 µs
tPFD PFI to PFO Propagation Delay 15 25 µs
tRVPFD(min) to VPFD(max) VCC Rise Time 10 µs
tRB VSS to VPFD(min) VCC Rise Time s
trec(4) Power up Deselect Time 40 200 ms
AI03681
VCC
INPUTS
(PER CONTROL INPUT)
OUTPUTS
DON'T CARE
HIGH-Z
tF tFB tR
tRB
tDR
VALID VALID
(PER CONTROL INPUT)
RECOGNIZEDRECOGNIZED
VPFD (max)
VPFD (min)
VSO
tREC
RST
PFO
M41ST84W
26/29
P ACKAGE ME CHANI CAL INFORMAT ION
Figure 20. SO16 – 16-lead Plas tic Small Outline, Packag e Outline
No te : Drawi ng is not to scale.
Table 15. SO16 – 16-lead Plastic Smal l Outline, Pac kage Mech anical Data
Symbol mm inches
Typ. Min. Max. Typ. Min. Max.
A 1.75 0.069
A1 0.10 0.25 0.004 0.010
A2 1.60 0.063
B 0.35 0.46 0.014 0.018
C 0.19 0.25 0.007 0.010
D 9.80 10.00 0.386 0.394
E 3.80 4.00 0.150 0.158
e1.27––0.050––
H 5.80 6.20 0.228 0.244
L 0.40 1.27 0.016 0.050
a0°8°0°8°
N16 16
CP 0.10 0.004
SO-b
E
N
CP
Be
A2
D
C
LA1 α
H
A
1
27/29
M41ST84W
PART NUMBERING
Table 16. Ordering Information Scheme
For other options, or for more information on any aspect of this device, please contact the ST Sales Of fice
nearest you.
Example: M41ST 84W MQ 6 E
Device Type
M41ST
Supply Voltage and Write Protect Voltage
84W = VCC = 2.7 to 3.6V; 2.55V VPFD 2.70V
Package
MQ = SO16
Temperature Range
6 = –40 to 85°C
Shipping Method
For SO16:
blank = Tubes (Not for New Design - Use E)
E = ECOPACK Package, Tubes
F = ECOPACK Package, Tape & Reel
TR = Tape & Reel (Not for New Design - Use F)
M41ST84W
28/29
REVISION HISTORY
Table 17. D ocu ment Revision History
Date Version Revision Details
August 2000 1.0 First Issue
24-Aug-00 1.2 Block Diagram added (Figure 4)
08-Sep-00 1.3 SO16 package measures change
18-Dec-00 2.0 Reformatted, TOC added, and PFI Input Leakage Current added (Table 12)
18-Jun-01 2.1
Addition of trec information, table changed, one added (Tables 3, 7); changes to PFI/PFO
graphic (see Figure 4); change to DC and AC Characteristics, Order Information (Tab les 12,
2, 16); note added to “Setting Alarm Clock Registers” section; added temp./voltage info. to
tables (Table 11, 12, 13, 2, 14); addition of Default Values (Table 8); textual improvements
25-Jun-01 2.2 Special note added in CLOCK OPERATION, page 13
26-Jul-01 3.0 Change in Product Maturity
07-Aug-01 3.1 Improve text for “Setting the Alarm Clock” section
20-Aug-01 3.2 Change VPFD values in document
06-Sep-01 3.3 DC Characteristics VBAT changed; PFI Hysteresis (PFI Rising) spec. added; and Crystal
Electrical Characteristics Series Resistance spec. changed (Tables 12, 13)
03-Dec-01 3.4 Change READ/WRITE Mode Sequence drawings (Figure 10, 12); change in VPFD lower
limit for 5V (M41ST84Y) part only (Table 12, 16)
14-Jan-02 3.5 Change Series Resistance (Table 13)
01-May-02 3.6 Change trec Definition (Table 7); modify reflow time and temperature footnote (Table 9)
03-Jul-02 3.7 Modify DC and Crystal Electrical Characteristics footnotes, Default Values (Tables 12, 13, 8)
01-Aug-02 3.8 Add marketing status (Figure 2; Table 16)
16-Jun-03 4.0 New Si changes (Table 14, 6, 7, 8)
15-Jun-04 5.0 Reformatted; added Lead-free information; update characteristics (Figure 13; Table 9, 12,
16)
18-Oct-04 6.0 Add Marketing Status (Figure 2; Table 16)
10-Jan-06 7.0 Updated template, Lead-free text, characteristics (Figure 2, 3, 6, 7; Ta ble 1, 2, 6, 8, 9, 10,
11, 12, 13, 14, 16)
29/29
M41ST84W
Information fur nished is believed to b e accurate and relia ble. However, STMicroelectronics a ssumes no responsibility for the consequences
of use of such information nor for any infringement of patents or other rights of third parties which may result from its use. No license is granted
by implication or otherwise under any patent or patent rights of STMicroelectronics. Specifications mentioned in this publication are subject
to change without notice. This publication supersedes and replaces all information previously supplied. STMi croelectronics products are not
authorized for us e as critical components in lif e s upport devices or sy stems without express written approval of STMicr oel ectro nics.
The ST l ogo is a registered tra dem ark of STM i croelectron ics.
All other names are th e prope rt y of their respect ive owners
© 200 6 STMicroelect ronics - A l l ri ghts reserved
STM i croelectron ics group of co m panies
Aus tralia - Belgium - Brazil - Canad a - China - Czech Rep ubl i c - Finland - Fra nce - Germ any - Hong Kong - Ind ia - Is rael - Ital y - Japan -
Malaysia - Malta - Mo rocco - Singapore - Spai n - S weden - Switzerland - Unite d K i ngdom - United S tates of Americ a
www.st.com