M41T81 Serial Access Real-Time Clock with Alarms FEATURES SUMMARY 2.0 TO 5.5V CLOCK OPERATING VOLTAGE COUNTERS FOR TENTHS/HUNDREDTHS OF SECONDS, SECONDS, MINUTES, HOURS, DAY, DATE, MONTH, YEAR, AND CENTURY AUTOMATIC SWITCH-OVER AND DESELECT CIRCUITRY SERIAL INTERFACE SUPPORTS I2C BUS (400kHz PROTOCOL) PROGRAMMABLE ALARM AND INTERRUPT FUNCTION (VALID EVEN DURING BATTERY BACK-UP MODE) WATCHDOG TIMER POWER-DOWN TIME-STAMP (HT Bit) LOW OPERATING CURRENT OF 400A BATTERY BACK-UP NOT RECOMMENDED FOR 3.0V APPLICATIONS (CAPACITOR BACK-UP ONLY) BATTERY OR SUPER-CAP BACK-UP OPERATING TEMPERATURE OF -40 TO 85C ULTRA-LOW BATTERY SUPPLY CURRENT OF 1A PACKAGE OPTIONS INCLUDE A 28-LEAD OR 18-LEAD EMBEDDED CRYSTAL SOIC September 2004 Figure 1. Packages 8 1 SO8 (M) 8-pin SOIC SOX28 (MX)* 28-pin (300mil) SOIC with Embedded Crystal 18 1 SOX18 (MY)* 18-pin (300mil) SOIC with Embedded Crystal 1/30 M41T81 TABLE OF CONTENTS FEATURES SUMMARY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Figure 1. Packages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 SUMMARY DESCRIPTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 Figure 2. Table 1. Figure 3. Figure 4. Figure 5. Figure 6. Figure 7. Logic Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 Signal Names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 8-pin SOIC (M) Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 28-pin, 300mil SOIC (MX) Connections. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 18-pin, 300mil SOIC (MY) Connections. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Dual Footprint Connections (28-pin to 18-pin). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 OPERATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 2-Wire Bus Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Bus not busy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Start data transfer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Stop data transfer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Data Valid . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Acknowledge . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Figure 8. Serial Bus Data Transfer Sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 Figure 9. Acknowledgement Sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 READ Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 Figure 10.Slave Address Location. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 Figure 11.READ Mode Sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 Figure 12.Alternative READ Mode Sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 WRITE Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 Data Retention Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 Figure 13.WRITE Mode Sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 CLOCK OPERATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 Power-down Time-Stamp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 TIMEKEEPER(R) Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 Table 2. TIMEKEEPER (R) Register Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 Calibrating the Clock. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 Figure 14.Crystal Accuracy Across Temperature . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 Figure 15.Clock Calibration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 Setting Alarm Clock Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 Figure 16.Alarm Interrupt Reset Waveform . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 Figure 17.Back-up Mode Alarm Waveform . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 Table 3. Alarm Repeat Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 Watchdog Timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 Square Wave Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 Table 4. Square Wave Output Frequency . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 2/30 M41T81 Century Bit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 Output Driver Pin. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 Preferred Initial Power-on Default . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 Table 5. Preferred Default Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 MAXIMUM RATING. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 Table 6. Absolute Maximum Ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 DC AND AC PARAMETERS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 Table 7. Operating and AC Measurement Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 Figure 18.AC Measurement I/O Waveform . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 Table 8. Capacitance. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 Table 9. DC Characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 Table 10. Crystal Electrical Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 Figure 19.Power Down/Up Mode AC Waveforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 Table 11. Power Down/Up AC Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 Table 12. Power Down/Up Trip Points DC Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 Figure 20.Bus Timing Requirements Sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 Table 13. AC Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 PACKAGE MECHANICAL INFORMATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 Figure 21.SO8 - 8-lead Plastic Small Package Outline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 Table 14. SO8 - 8-lead Plastic Small Outline (150 mils body width), Package Mechanical Data. . 25 Figure 22.SOX18 - 18-lead Plastic Small Outline, 300mils, Embedded Crystal, Package Outline. 26 Table 15. SOX18 - 18-lead Plastic Small Outline, 300mils, Embedded Crystal, Package Mech. . 26 Figure 23.SOX28 - 28-lead Plastic Small Outline, 300mils, Embedded Crystal, Package Outline. 27 Table 16. SOX28 - 28-lead Plastic Small Outline, 300mils, Embedded Crystal, Package Mech. . 27 PART NUMBERING . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 Table 17. Ordering Information Scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 REVISION HISTORY. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 Table 18. Document Revision History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 3/30 M41T81 SUMMARY DESCRIPTION The M41T81 Serial Access TIMEKEEPER (R) SRAM is a low power Serial RTC with a built-in 32.768kHz oscillator (external crystal controlled). Eight bytes of the SRAM (see Table 2., page 13) are used for the clock/calendar function and are configured in binary coded decimal (BCD) format. An additional 12 bytes of SRAM provide status/ control of Alarm, Watchdog and Square Wave 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 M41T81 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 sustain the SRAM and clock operations can be supplied by a small lithium button 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. The eight clock address locations contain the century, year, month, date, day, hour, minute, second and tenths/hundredths of a second in 24 hour BCD format. Corrections for 28, 29 (leap year - valid until year 2100), 30 and 31 day months are made automatically. The M41T81 is supplied in either an 8-pin SOIC or an 18-pin (MY) or 28-pin (MX), 300mil SOIC package which includes an embedded 32kHz crystal. The 18-pin and 28-pin, embedded crystal SOIC requires only a user-supplied battery to provide nonvolatile operation. Figure 2. Logic Diagram Table 1. Signal Names VCC VBAT XI(1) Oscillator Input XO(1) Oscillator Output IRQ/OUT/ FT/SQW Interrupt / Output Driver / Frequency Test / Square Wave (Open Drain) XI(1) (1) SDA Serial Data Input/Output SCL Serial Clock Input VBAT Battery Supply Voltage VCC Supply Voltage VSS Ground NC No Connect NF No Function XO M41T81 IRQ/FT/OUT/SQW SCL SDA VSS AI04613 Note: 1. For SO8 package only. 4/30 Note: 1. For SO8 package only. M41T81 Figure 3. 8-pin SOIC (M) Connections XI XO VBAT VSS 1 2 3 4 M41T81 8 7 6 5 Figure 5. 18-pin, 300mil SOIC (MY) Connections 1 2 3 4 5 6 7 8 9 NC NF(1) NF(1) VCC IRQ/FT/OUT/SQW SCL SDA NC NC NC NC VBAT VSS AI04769 18 17 16 15 M41T81 14 13 12 11 10 NC NF(1) NF(1) VCC NC IRQ/FT/OUT/SQW NC SCL SDA AI07830 Note: 1. NF pins must be tied to VSS. Pins 2 and 3, 16, and 17 are internally shorted together. NC NC NC NC NC NC NC NC VBAT VSS 1 28 27 2 26 3 25 4 24 5 23 6 7 M41T81 22 21 8 20 9 19 10 18 11 17 12 16 13 15 14 VCC NC IRQ/FT/OUT/SQW NC NC NC SCL NC (1) VCC NC (1) IRQ/FT/OUT/SQW SDA (1) SCL (1) SDA 1 2 3 4 M41T81MX (SOX28) NF(2) (2) NF (2) NF NF(2) Figure 6. Dual Footprint Connections (28-pin to 18-pin) 5 25 24 (17)22 8(3) (16)21 11(6) 12(7) IRQ/FT/OUT/SQW 26 7(2) 9(4) VBAT VSS 27 (18)23 10(5) VCC 28 6(1) M41T81MY (SOX18) Figure 4. 28-pin, 300mil SOIC (MX) Connections (1) (15)20 (14)19 (13)18 (12)17 13(8) (11)16 14(9) (10)15 SDA AI09646 AI07805 Note: 1. No Connect (NC) pin for 28-pin SOIC, but should be considered to have indicated function in anticipation of replacement with 18-pin SOIC. 2. No Function (NF) pins should be tied to VSS. Pins 1, 2, 3, and 4 are internally shorted together. SCL Note: 1. Remove this jumper for SOX18. 5/30 M41T81 Figure 7. Block Diagram REAL TIME CLOCK CALENDAR 32KHz OSCILLATOR CRYSTAL RTC W/ALARM & CALIBRATION AFE (1,2) WATCHDOG SDA IRQ/FT/OUT/SQW 2 I C INTERFACE SCL WRITE PROTECT SQWE SQUARE WAVE FREQUENCY TEST FT OUTPUT DRIVER OUT INTERNAL POWER VCC VBAT VSO(3) COMPARE AI04616 Note: 1. Open drain output 2. Square Wave function has the highest priority on IRQ/FT/OUT/SQW output. 3. VSO = VBAT - 0.5V (typ) 6/30 M41T81 OPERATION The M41T81 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. Tenths/Hundredths of a Second Register 2. Seconds Register 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. Alarm Registers 17 - 19. Reserved 20. Square Wave Register The M41T81 clock continually monitors VCC for an out-of-tolerance condition. Should VCC fall below VSO, 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 prevent erroneous data from being written to the device from a an out-of-tolerance system. The device also automatically switches over to the battery and powers down into an ultra low current mode of operation to conserve battery life. As system power returns and VCC rises above VSO, the battery is disconnected, and the power supply is switched to external VCC. 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. - 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 lines 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 of the data line, from Low to High, while the clock is High, defines the STOP condition. 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." 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. 7/30 M41T81 Figure 8. Serial Bus Data Transfer Sequence DATA LINE STABLE DATA VALID CLOCK DATA START CONDITION CHANGE OF DATA ALLOWED STOP CONDITION AI00587 Figure 9. Acknowledgement Sequence CLOCK PULSE FOR ACKNOWLEDGEMENT START SCL FROM MASTER DATA OUTPUT BY TRANSMITTER 1 MSB 2 8 9 LSB DATA OUTPUT BY RECEIVER AI00601 8/30 M41T81 READ Mode In this mode the master reads the M41T81 slave after setting the slave address (see Figure 11., 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 address are repeated followed by the READ Mode Control Bit (R/W=1). At this point the master transmitter 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 transmitter. The address pointer is only incremented on reception of an Acknowledge Clock. The M41T81 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. 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 resume due to a Stop Condition or when the pointer increments to any non-clock address (08h-13h). Note: This is true both in READ Mode and WRITE Mode. An alternate READ Mode may also be implemented whereby the master reads the M41T81 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 12., page 10). Figure 10. Slave Address Location R/W START A 1 LSB MSB SLAVE ADDRESS 1 0 1 0 0 0 AI00602 9/30 M41T81 SLAVE ADDRESS DATA n+1 ACK DATA n ACK S ACK BUS ACTIVITY: R/W START WORD ADDRESS (An) ACK S R/W SDA LINE ACK BUS ACTIVITY: MASTER START Figure 11. READ Mode Sequence STOP SLAVE ADDRESS DATA n+X P NO ACK AI00899 ACK DATA n+X P NO ACK SLAVE ADDRESS DATA n+1 ACK DATA n BUS ACTIVITY: 10/30 STOP R/W S ACK SDA LINE ACK BUS ACTIVITY: MASTER START Figure 12. Alternative READ Mode Sequence AI00895 M41T81 WRITE Mode In this mode the master transmitter transmits to the M41T81 slave receiver. Bus protocol is shown in Figure 13., page 11. Following the START condition and slave address, a logic '0' (R/W=0) is placed on the bus and indicates to the addressed device that word address "An" will follow and is to be written to the on-chip address pointer. The data word to be written to the memory is strobed in next and the internal address pointer is incremented to the next address location on the reception of an acknowledge clock. The M41T81 slave receiver will send an acknowledge clock to the master transmitter after it has received the slave address see Figure 10., page 9 and again after it has received the word address and each data byte. Data Retention Mode With valid VCC applied, the M41T81 can be accessed as described above with READ or WRITE Cycles. Should the supply voltage decay, the power input will be switched from the VCC pin to the battery when VCC falls below the Battery Back-up Switchover Voltage (VSO). At this time the clock registers will be maintained by the attached battery supply. On power-up, when VCC returns to a nominal value, write protection continues for trec (see Figure 19., page 23, Table 11., page 23). For a further, more detailed review of lifetime calculations, please see Application Note AN1012. SLAVE ADDRESS STOP DATA n+X P ACK DATA n+1 ACK BUS ACTIVITY: DATA n ACK WORD ADDRESS (An) ACK S R/W SDA LINE ACK BUS ACTIVITY: MASTER START Figure 13. WRITE Mode Sequence AI00591 11/30 M41T81 CLOCK OPERATION The 20-byte Register Map (see Table 2., page 13) 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 Seconds, Seconds, Minutes, and Hours are contained within the first four registers. Note: The 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 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. Bits 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 contains the STOP Bit (ST). Setting this bit to a '1' will cause the oscillator to stop. If the device is expected to spend a significant amount of time on the shelf, the oscillator may be stopped to reduce current drain. When reset to a '0' the oscillator restarts within one second. The eight Clock Registers may be read one byte at a time, or in a sequential block. Provision has been made to assure that a clock update does not occur while any of the eight clock addresses are being read. If a clock address is being read, an update of the clock registers will be halted. This will prevent a transition of data during the READ. 12/30 Power-down Time-Stamp When a power failure occurs, the HT Bit will automatically be set to a '1.' This will prevent the clock from updating the TIMEKEEPER (R) 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 the TIMEKEEPER registers with the current time. For more information, see Application Note AN1572. TIMEKEEPER (R) Registers The M41T81 offers 20 internal registers which contain Clock, 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 BiPORTTM TIMEKEEPER cells). The external copies are independent of internal functions except that they are updated periodically by the simultaneous transfer of the incremented internal copy. The internal divider (or clock) chain will be reset upon the completion of a WRITE to any clock address. 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 resume either due to a Stop Condition or when the pointer increments to any non-clock address (08h-13h). TIMEKEEPER and Alarm Registers store data in BCD. Control, Watchdog and Square Wave Registers store data in Binary Format. M41T81 Table 2. TIMEKEEPER(R) Register Map Addr D7 00h D6 D5 D4 D3 0.1 Seconds D2 D1 D0 Function/Range BCD Format 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 Hours (24 Hour Format) Century/ Hours 0-1/00-23 04h 0 0 Day 01-7 05h 0 0 Date: Day of Month Date 01-31 06h 0 0 Month Month 01-12 Year Year 00-99 07h 10 Hours 0 0 0 10 Date 0 Day of Week 10M 10 Years 08h OUT FT S Calibration 09h 0 BMB4 BMB3 BMB2 0Ah AFE SQWE ABE Al 10M 0Bh RPT4 RPT5 0Ch RPT3 HT 0Dh RPT2 0Eh RPT1 0Fh WDF AF 0 0 0 0 0 0 Flags 10h 0 0 0 0 0 0 0 0 Reserved 11h 0 0 0 0 0 0 0 0 Reserved 12h 0 0 0 0 0 0 0 0 Reserved 13h RS3 RS2 RS1 RS0 0 0 0 0 SQW BMB1 BMB0 Control RB1 RB0 Watchdog Alarm Month Al Month 01-12 AI 10 Date Alarm Date Al Date 01-31 AI 10 Hour Alarm Hour Al Hour 00-23 Alarm 10 Minutes Alarm Minutes Al Min 00-59 Alarm 10 Seconds Alarm Seconds Al Sec 00-59 Keys: S = Sign Bit FT = Frequency Test Bit ST = Stop Bit 0 = Must be set to '0' BMB0-BMB4 = Watchdog Multiplier Bits CEB = Century Enable Bit CB = Century Bit OUT = Output level ABE = Alarm in Battery Back-up Mode Enable Bit AFE = Alarm Flag Enable Flag RB0-RB1 = Watchdog Resolution Bits RPT1-RPT5 = Alarm Repeat Mode Bits WDF = Watchdog Flag (Read only) AF = Alarm Flag (Read only) SQWE = Square Wave Enable RS0-RS3 = SQW Frequency HT = Halt Update Bit 13/30 M41T81 Calibrating the Clock The M41T81 is driven by a quartz controlled oscillator with a nominal frequency of 32,768Hz. The devices are tested not exceed -25 to +45 ppm (parts per million) oscillator frequency error at 25oC, which equates to about +1.9 to -1.1 minutes per month (see Figure 14., page 15). When the Calibration circuit is properly employed, accuracy improves to better than 2 ppm at 25C. The oscillation rate of crystals changes with temperature. The M41T81 design employs periodic counter correction. The calibration circuit adds or subtracts counts from the oscillator divider circuit at the divide by 256 stage, as shown in Figure 15., page 15. The number of times pulses which are blanked (subtracted, negative calibration) or split (added, positive calibration) depends upon the value loaded into the five Calibration Bits found in the Control Register. Adding counts speeds the clock up, subtracting counts 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' indicates positive calibration, '0' indicates negative calibration. Calibration occurs within a 64 minute cycle. The first 62 minutes in the cycle may, once per minute, have one second either shortened by 128 or lengthened by 256 oscillator cycles. If a binary '1' is loaded into the register, only the first 2 minutes in the 64 minute cycle will be 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 oscillator cycles for every 125,829,120 actual oscillator cycles, that is +4.068 or -2.034 ppm of adjustment per calibration step in the calibration register (see Figure 15., page 15). Assuming that the oscillator is running at exactly 32,768Hz, each of the 31 increments in the Calibration byte would represent 14/30 +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 calibration a given M41T81 may require. The first involves setting the clock, letting it run for a month and comparing it to a known accurate reference and recording deviation 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 (R) 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 could provide a simple utility that accesses the Calibration byte. The second approach is better suited to a manufacturing environment, and involves the use of the IRQ/FT/OUT/SQW pin. The pin will toggle at 512Hz, when the Stop Bit (ST, D7 of 01h) is '0,' the Frequency Test Bit (FT, D6 of 08h) is '1,' the Alarm Flag Enable Bit (AFE, D7 of 0Ah) is '0,' and the Square Wave Enable Bit (SQWE, D6 of 0Ah) is '0' and 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 affect the Frequency Test output frequency. The IRQ/FT/OUT/SQW pin is an open drain output which requires a pull-up resistor to VCC for proper operation. A 500-10k resistor is recommended in order to control the rise time. The FT Bit is cleared on power-down. M41T81 Figure 14. Crystal Accuracy Across Temperature Frequency (ppm) 20 0 -20 -40 -60 F = K x (T - T )2 O F -80 2 2 K = -0.036 ppm/C 0.006 ppm/C -100 TO = 25C 5C -120 -140 -160 -40 -30 -20 -10 0 10 20 30 40 50 60 70 80 Temperature C AI07888 Figure 15. Clock Calibration NORMAL POSITIVE CALIBRATION NEGATIVE CALIBRATION AI00594B 15/30 M41T81 Setting Alarm Clock Registers Address locations 0Ah-0Eh contain the alarm settings. 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 programmed to go off while the M41T81 is in the battery back-up mode to serve as a system wake-up call. Bits RPT5-RPT1 put the alarm in the repeat mode of operation. Table 3., 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 alarm setting. When the clock information matches the alarm clock settings based on the match criteria defined by RPT5-RPT1, the AF (Alarm Flag) is set. If AFE (Alarm Flag Enable) is also set (and SQWE is '0.'), the alarm condition activates the IRQ/FT/OUT/ SQW pin. Note: If the address pointer is allowed to increment to the Flag Register address, an alarm condition will not cause the Interrupt/Flag to occur until the address pointer is moved to a different address. It should also be noted that if the last address written is the "Alarm Seconds," the address pointer will increment to the Flag address, causing this situation to occur. The IRQ/FT/OUT/SQW output is cleared by a READ to the Flags Register as shown in Figure 16. A subsequent READ of the Flags Register is necessary to see that the value of the Alarm Flag has been reset to '0.' The IRQ/FT/OUT/SQW pin can also be activated in the battery back-up mode. The IRQ/FT/OUT/ SQW will go low if an alarm occurs and both ABE (Alarm in Battery Back-up Mode Enable) and AFE are set. Figure 17 illustrates the back-up mode alarm timing. Figure 16. Alarm Interrupt Reset Waveform 0Eh 0Fh 10h ACTIVE FLAG HIGH-Z IRQ/FT/OUT/SQW AI04617 Figure 17. Back-up Mode Alarm Waveform VCC VSO trec ABE and AFE Bits AF Bit in Flags Register IRQ/FT/OUT/SQW HIGH-Z AI05663 16/30 M41T81 Table 3. Alarm Repeat Modes RPT5 RPT4 RPT3 RPT2 RPT1 Alarm Setting 1 1 1 1 1 Once per Second 1 1 1 1 0 Once per Minute 1 1 1 0 0 Once per Hour 1 1 0 0 0 Once per Day 1 0 0 0 0 Once per Month 0 0 0 0 0 Once per Year Watchdog Timer The watchdog timer can be used to detect an outof-control microprocessor. The user programs the watchdog timer by setting the desired amount of time-out into the Watchdog Register, address 09h. Bits BMB4-BMB0 store a binary multiplier and the two lower order bits RB1-RB0 select the resolution, 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 multiplication of the five-bit multiplier value with the resolution. (For example: writing 00001110 in the Watchdog Register = 3*1, or 3 seconds). If the processor does not reset the timer within the specified period, the M41T81 sets the WDF (Watchdog Flag) and generates a watchdog interrupt. The watchdog timer can be reset by having the microprocessor perform a WRITE of the Watchdog Register. The time-out period then starts over. Should the watchdog timer time-out, a value of 00h needs to be written to the Watchdog Register in order to clear the IRQ/FT/OUT/SQW pin. This will also disable the watchdog function until it is again programmed 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, the frequency test function is activated, and the SQWE Bit is '0,' the watchdog function prevails and the frequency test function is denied. 17/30 M41T81 Square Wave Output The M41T81 offers the user a programmable square wave function which is output on the SQW pin. RS3-RS0 bits located in 13h establish the square wave output frequency. These frequencies are listed in Table 4. Once the selection of the SQW frequency has been completed, the IRQ/FT/ OUT/SQW pin can be turned on and off under software control with the Square Wave Enable Bit (SQWE) located in Register 0Ah. Table 4. Square Wave Output Frequency Square Wave Bits 18/30 Square Wave RS3 RS2 RS1 RS0 Frequency Units 0 0 0 0 None - 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 0 1 1 0 512 Hz 0 1 1 1 256 Hz 1 0 0 0 128 Hz 1 0 0 1 64 Hz 1 0 1 0 32 Hz 1 0 1 1 16 Hz 1 1 0 0 8 Hz 1 1 0 1 4 Hz 1 1 1 0 2 Hz 1 1 1 1 1 Hz M41T81 Century Bit Bits D7 and D6 of Clock Register 03h contain the CENTURY ENABLE Bit (CEB) and the CENTURY Bit (CB). Setting CEB to a '1' will cause CB to toggle, either 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, SQWE Bit, and Watchdog Register are not set, the IRQ/FT/OUT/SQW pin becomes an output 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 08h are a '0,' then the IRQ/FT/OUT/SQW pin will be driven low. Note: The IRQ/FT/OUT/SQW pin is an open drain which requires an external pull-up resistor. Preferred Initial Power-on Default Upon initial application of power to the device, the following register bits are set to a '0' state: Watchdog Register; AFE; ABE; SQWE; and FT. The following bits are set to a '1' state: ST; OUT; and HT (see Table 5., page 19). Table 5. Preferred Default Values Condition Initial Power-up(2) Subsequent Power-up (with battery back-up)(3) ST HT Out FT AFE SQWE ABE WATCHDOG Register(1) 1 1 1 0 0 0 0 0 UC 1 UC 0 UC UC UC 0 Note: 1. BMB0-BMB4, RB0, RB1. 2. State of other control bits undefined. 3. UC = Unchanged 19/30 M41T81 MAXIMUM RATING Stressing the device above the rating listed in the "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 indicated in the Operating sections of this specification is not implied. Exposure to Absolute Maximum Rating conditions for extended periods may affect device reliability. Refer also to the STMicroelectronics SURE Program and other relevant quality documents. Table 6. Absolute Maximum Ratings Sym Parameter TSTG Storage Temperature (VCC Off, Oscillator Off) VCC Supply Voltage TSLD VIO Lead Solder Temperature for 10 Seconds Input or Output Voltages Value Unit -55 to 125 C -0.3 to 7 V Lead-free lead finish(1) 260 C Standard (SnPb) lead finish(2,3) 240 C -0.3 to Vcc+0.3 V SOIC IO Output Current 20 mA PD Power Dissipation 1 W Note: 1. For SO8 package, Lead-free (Pb-free) lead finish: Reflow at peak temperature of 260C (total thermal budget not to exceed 245C for greater than 30 seconds). 2. For SO8 package, standard (SnPb) lead finish: Reflow at peak temperature of 240C (total thermal budget not to exceed 180C for between 90 to 150 seconds). 3. The SOX18 and SOX28 packages have Lead-free (Pb-free) lead finish, but cannot be exposed to peak reflow temperature in excess of 240C (use same reflow profile as standard (SnPb) lead finish). CAUTION: Negative undershoots below -0.3 volts are not allowed on any pin while in the Battery Back-up Mode 20/30 M41T81 DC AND AC PARAMETERS This section summarizes the operating and measurement conditions, as well as the DC and AC characteristics of the device. The parameters in the following DC and AC Characteristic tables are derived from tests performed under the Measure- ment Conditions listed in the relevant tables. Designers should check that the operating conditions in their projects match the measurement conditions when using the quoted parameters. Table 7. Operating and AC Measurement Conditions Parameter M41T81 Supply Voltage (VCC) 2.0 to 5.5V Ambient Operating Temperature (TA) -40 to 85C Load Capacitance (CL) 100pF Input Rise and Fall Times 50ns Input Pulse Voltages 0.2VCC to 0.8 VCC Input and Output Timing Ref. Voltages 0.3VCC to 0.7 VCC Note: Output Hi-Z is defined as the point where data is no longer driven. Figure 18. AC Measurement I/O Waveform 0.8VCC 0.7VCC 0.3VCC 0.2VCC AI02568 Table 8. Capacitance Parameter(1,2) Symbol CIN COUT(3) tLP Max Unit 7 pF Output Capacitance 10 pF Low-pass filter input time constant (SDA and SCL) 50 ns Input Capacitance Min Note: 1. Effective capacitance measured with power supply at 5V; sampled only, not 100% tested. 2. At 25C, f = 1MHz. 3. Outputs deselected. 21/30 M41T81 Table 9. DC Characteristics Sym Test Condition(1) Parameter Min Typ Max Unit 0V VIN VCC 1 A 0V VOUT VCC 1 A Switch Freq = 400kHz 400 A SCL,SDA = VCC - 0.3V 100 A ILI Input Leakage Current ILO Output Leakage Current ICC1 Supply Current ICC2 Supply Current (standby) VIL Input Low Voltage -0.3 0.3VCC V VIH Input High Voltage 0.7VCC VCC + 0.3 V VOL Output Low Voltage IOL = 3.0mA 0.4 V Output Low Voltage (Open Drain)(5) IOL = 10mA 0.4 V Pull-up Supply Voltage (Open Drain) IRQ/OUT/FT/SQW 5.5 V 3 3.5(4) V 0.6 1 A VBAT(2) Battery Supply Voltage IBAT Battery Supply Current Note: 1. 2. 3. 4. 5. 2.5(3) TA = 25C, VCC = 0V Oscillator ON, VBAT = 3V Valid for Ambient Operating Temperature: TA = -40 to 85C; VCC = 2.0 to 5.5V (except where noted). STMicroelectronics recommends the RAYOVAC BR1225 or BR1632 (or equivalent) as the battery supply. After switchover (VSO), VBAT (min) can be 2.0V for crystal with RS = 40K. For rechargeable back-up, VBAT (max) may be considered VCC. For IRQ/FT/OUT/SQW pin (Open Drain) Table 10. Crystal Electrical Characteristics Parameter(1,2,3) Sym fO Resonant Frequency RS Series Resistance CL Load Capacitance Min Typ Max 32.768 kHz 60 12.5 Units k pF Note: 1. Externally supplied if using the SO8 package. STMicroelectronics recommends the KDS DT-38: 1TA/1TC252E127, Tuning Fork Type (thru-hole) or the DMX-26S: 1TJS125FH2A212, (SMD) quartz crystal for industrial temperature operations. KDS can be contacted at kouhou@kdsj.co.jp or http://www.kdsj.co.jp for further information on this crystal type. 2. Load capacitors are integrated within the M41T81. Circuit board layout considerations for the 32.768kHz crystal of minimum trace lengths and isolation from RF generating signals should be taken into account. 22/30 M41T81 Figure 19. Power Down/Up Mode AC Waveforms VCC VSO tPD trec SDA SCL DON'T CARE AI00596 Table 11. Power Down/Up AC Characteristics Symbol Parameter(1,2) Min Typ Max Unit tPD SCL and SDA at VIH before Power Down 0 nS trec SCL and SDA at VIH after Power Up 10 S Note: 1. VCC fall time should not exceed 5mV/s. 2. Valid for Ambient Operating Temperature: TA = -40 to 85C; VCC = 2.0 to 5.5V (except where noted). Table 12. Power Down/Up Trip Points DC Characteristics Sym VSO Parameter(1,2) Battery Back-up Switchover Voltage Min Typ Max Unit VBAT - 0.80 VBAT - 0.50 VBAT - 0.30 V Note: 1. All voltages referenced to VSS. 2. Valid for Ambient Operating Temperature: TA = -40 to 85C; VCC = 2.0 to 5.5V (except where noted). 23/30 M41T81 Figure 20. Bus Timing Requirements Sequence SDA tBUF tHD:STA tHD:STA tF tR SCL tHIGH P S tLOW tSU:DAT tHD:DAT tSU:STA SR tSU:STO P AI00589 Table 13. AC Characteristics Parameter(1) Sym Min Typ Max Units 400 kHz fSCL SCL Clock Frequency tLOW Clock Low Period 1.3 s tHIGH Clock High Period 600 ns 0 tR SDA and SCL Rise Time 300 ns tF SDA and SCL Fall Time 300 ns tHD:STA START Condition Hold Time (after this period the first clock pulse is generated) 600 ns tSU:STA START Condition Setup Time (only relevant for a repeated start condition) 600 ns tSU:DAT(2) Data Setup Time 100 ns tHD:DAT Data Hold Time 0 s tSU:STO STOP Condition Setup Time 600 ns Time the bus must be free before a new transmission can start 1.3 s tBUF Note: 1. Valid for Ambient Operating Temperature: TA = -40 to 85C; VCC = 2.0 to 5.5V (except where noted). 2. Transmitter must internally provide a hold time to bridge the undefined region (300ns max) of the falling edge of SCL. 24/30 M41T81 PACKAGE MECHANICAL INFORMATION Figure 21. SO8 - 8-lead Plastic Small Package Outline h x 45 A2 A C B ddd e D 8 E H 1 A1 L SO-A Note: Drawing is not to scale. Table 14. SO8 - 8-lead Plastic Small Outline (150 mils body width), Package Mechanical Data mm inches Symb Typ Min Max A 1.35 A1 Min Max 1.75 0.053 0.069 0.10 0.25 0.004 0.010 A2 1.10 1.65 0.043 0.065 B 0.33 0.51 0.013 0.020 C 0.19 0.25 0.007 0.010 D 4.80 5.00 0.189 0.197 E 3.80 4.00 0.150 0.157 - - - - H 5.80 6.20 0.228 0.244 h 0.25 0.50 0.010 0.020 L 0.40 0.90 0.016 0.035 0 8 0 8 N 8 e ddd 1.27 Typ 0.050 8 0.10 0.004 25/30 M41T81 Figure 22. SOX18 - 18-lead Plastic Small Outline, 300mils, Embedded Crystal, Package Outline D 9 h x 45 1 C E 10 H 18 A2 A B ddd A1 e A1 L SO-J Note: Drawing is not to scale. Table 15. SOX18 - 18-lead Plastic Small Outline, 300mils, Embedded Crystal, Package Mech. Symbol millimeters Min Max Min Max A 2.44 2.69 0.096 0.106 A1 0.15 0.31 0.006 0.012 A2 2.29 2.39 0.090 0.094 B 0.41 0.51 0.016 0.020 C 0.20 0.31 0.008 0.012 11.56 11.66 0.455 0.459 D Typ 11.61 ddd e Typ 0.457 0.10 E 26/30 inches 7.57 1.27 0.004 7.67 0.298 0.050 0.302 - - - - H 10.16 10.52 0.400 0.414 L 0.51 0.81 0.020 0.032 0 8 0 8 N 18 18 M41T81 Figure 23. SOX28 - 28-lead Plastic Small Outline, 300mils, Embedded Crystal, Package Outline D 14 h x 45 1 C E 15 H 28 A2 A B ddd A1 e A1 L SO-E Note: Drawing is not to scale. Table 16. SOX28 - 28-lead Plastic Small Outline, 300mils, Embedded Crystal, Package Mech. Symbol millimeters Typ inches Min Max A 2.44 A1 Min Max 2.69 0.096 0.106 0.15 0.31 0.006 0.012 A2 2.29 2.39 0.090 0.094 B 0.41 0.51 0.016 0.020 C 0.20 0.31 0.008 0.012 D 17.91 18.01 0.705 0.709 ddd 0.10 E e Typ 7.57 1.27 0.004 7.67 0.298 0.050 0.302 - - - - H 10.16 10.52 0.400 0.414 L 0.51 0.81 0.020 0.032 0 8 0 8 N 28 28 27/30 M41T81 PART NUMBERING Table 17. Ordering Information Scheme Example: M41T 81 M 6 E Device Type M41T Supply Voltage and Write Protect Voltage 81 = VCC = 2.0 to 5.5V Package M = SO8 MX(1) = SOX28 MY(1) = SOX18 Temperature Range 6 = -40C to 85C Shipping Method For SO8: blank = Tubes (Not for New Design - Use E) E = Lead-free Package (ECO PACK(R)), Tubes F = Lead-free Package (ECO PACK(R)), Tape & Reel TR = Tape & Reel (Not for New Design - Use F) For SOX28 and SOX18: blank = Tubes TR = Tape & Reel Note: 1. The SOX28 and SOX18 packages include an embedded 32,768Hz crystal. For other options, or for more information on any aspect of this device, please contact the ST Sales Office nearest you. 28/30 M41T81 REVISION HISTORY Table 18. Document Revision History Date Version Revision Details December 2001 1.0 First Issue 21-Jan-02 1.1 Fix table footnotes (Table 9, 10) 01-May-02 1.2 Modify reflow time and temperature footnote (Table 6) 05-Jun-02 1.3 Modify Data Retention text, Trip Points (Table 12) 10-Jun-02 1.4 Corrected Supply Voltage values (Table 6, 7) 03-Jul-02 1.5 Modify DC Characteristics, Crystal Electrical table footnotes, Preferred Default Values (Table 9, 10, 5) 11-Oct-02 1.6 Add marketing status (Figure 3; Table 17); adjust footnotes (Figure 3; Table 9) 21-Jan-03 1.7 Add embedded crystal package option (Figure 2, 4, 23; Table 16); modified preexisting mechanical drawing (Figure 21; Table 14). 05-Mar-03 1.8 Correct dimensions (Figure 23; Table 16); remove SNAPHAT(R) package option 12-Sep-03 2.0 Updated disclaimer, v2.2 template; add SOX18 package (Figure 3, 5, 22; Table 17, 15) 27-Apr-04 3.0 Reformatted; update characteristics (Figure 5, 4, 7, 14, 17, ; Table 1, 6, 9, 12, 17) 17-Jun-04 4.0 Reformatted; add Lead-free information; add dual footprint connections (Figure 6;Table 6, 17) 7-Sep-04 5.0 Update footprint and Maximum Ratings (Figure 6; Table 6) 13-Sep-04 6.0 Update max ratings (Table 6) M41T81, 41T81, T81Serial, Serial, Serial, Serial, Serial, Serial, Serial, Serial, Serial, Serial, Serial, Serial, Serial, Serial, Serial, Serial, Serial, Serial, Serial, Serial, Serial, Serial, Serial, Serial, Serial, Serial, Serial, Serial, Serial, Serial, Serial, Serial, Serial, Serial, Serial, Serial, Serial, Serial, Serial, Serial, Serial, Serial, Serial, Serial, Serial, Access, Access, Access, Access, Access, Access, Access, Access, Access, Access, Access, Access, Access, Access, Access, Access, Access, Access, Access, Access, Access, Access, Access, Access, Access, Access, Access, Access, Access, Access, Access, Access, Access, Access, Access, Access, Access, Access, Access, Access, Access, Access, Access, Access, Access, Access, Access, Access, Access, Access, Access, Access, Access, Access, Access, Access, Access, Access, Access, Access, Access, Access, Access, Access, Access, Access, Access, Access, Access, Access, Access, Access, Access, Access, Access, Interface, Interface, Interface, Interface, Interface, Interface, Interface, Interface, Interface, Interface, Interface, Interface, Interface, Interface, Interface, Interface, Interface, Interface, Interface, Interface, Interface, Interface, Interface, Interface, Interface, Interface, Interface, Interface, Interface, Interface, Interface, Interface, Interface, Interface, Interface, Interface, Interface, Interface, Interface, Interface, Interface, Interface, Interface, Interface, Interface, Interface, Interface, Interface, Interface, Interface, Interface, Interface, Interface, Interface, Interface, Interface, Interface, Interface, Interface, Interface, Interface, Interface, Interface, Interface, Interface, Interface, Interface, Interface, Interface, Interface, Interface, Interface, Interface, Interface, Interface, Interface, Interface, Interface, Interface, Interface, Interface, Interface, Interface, Interface, Interface, Interface, Interface, Interface, Interface, Interface, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, Clock, RTC, RTC, RTC, RTC, RTC, RTC, RTC, RTC, RTC, RTC, RTC, RTC, RTC, RTC, RTC, RTC, RTC, RTC, RTC, RTC, RTC, RTC, RTC, RTC, RTC, RTC, RTC, RTC, RTC, RTC, RTC, RTC, RTC, RTC, RTC, RTC, RTC, RTC, RTC, RTC, RTC, RTC, RTC, RTC, RTC, RTC, RTC, RTC, RTC, RTC, RTC, RTC, RTC, RTC, RTC, RTC, RTC, RTC, RTC, RTC, RTC, RTC, RTC, RTC, RTC, Programmable, Programmable, Programmable, Programmable, Programmable, Programmable, Programmable, Programmable, Programmable, Programmable, Programmable, Programmable, Programmable, Programmable, Programmable, Programmable, Programmable, Programmable, Programmable, Programmable, Programmable, Programmable, Programmable, Programmable, Programmable, Programmable, Programmable, Programmable, Programmable, Programmable, Programmable, Programmable, Programmable, Programmable, Programmable, Programmable, Programmable, Programmable, Programmable, Programmable, Programmable, Programmable, Programmable, Programmable, Programmable, Programmable, Programmable, Programmable, Programmable, Programmable, Programmable, Programmable, Programmable, Programmable, Programmable, Programmable Alarm, Programmable Alarm, Programmable Alarm, Programmable Alarm, Programmable Alarm, Programmable Alarm, Programmable Alarm, Programmable Alarm, Programmable Alarm, Programmable Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Alarm, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Interrupt, Watchdog, Watchdog, Watchdog, Watchdog, Watchdog, Watchdog, Watchdog, Watchdog, Watchdog, Watchdog, Watchdog, Watchdog, Watchdog, Watchdog, Watchdog, Watchdog, Watchdog, Watchdog, Watchdog, Watchdog, Watchdog, Watchdog, Watchdog, Watchdog, Watchdog, Watchdog, Watchdog, Watchdog, Watchdog, Watchdog, Watchdog, Watchdog, Watchdog, Watchdog, Watchdog, Watchdog, Watchdog, Watchdog, Watchdog, Watchdog, Watchdog, Watchdog, Watchdog, Watchdog, Watchdog, Watchdog, Watchdog, Watchdog, Watchdog, Watchdog, Battery, Battery, Battery, Battery, Battery, Battery, Battery, Battery, Battery, Battery, Battery, Battery, Battery, Battery, Battery, Battery, Battery, Battery, Battery, Battery, Battery, Battery, Battery, Battery, Battery, Battery, Battery, Battery, Battery, Battery, Battery, Battery, Battery, Battery, Battery, Battery, Battery, Battery, Battery, Battery, Battery, Battery, Battery, Battery, Battery, Battery, Battery, Battery, Battery, Battery, Battery, Battery, Battery, Battery, Battery, Battery, Battery, Battery, Battery, Battery, Switchover, Switchover, Switchover, Switchover, Switchover, Switchover, Switchover, Switchover, Switchover, Backup, Backup, Backup, Backup, Backup, Backup, Backup, Backup, Backup, Backup, Backup, Backup, Backup, Backup, Backup, Backup, Backup, Backup, Backup, Backup, Write Protect, Write Protect, Write Protect, Write Protect, Write Protect, Write Protect, Write Protect, Write Protect, Write Protect, Write Protect, Write Protect, Write Protect, Write Protect, Write Protect, Write Protect, Write Protect, Write Protect, Write Protect, Write Protect, Write Protect, Write Protect, Write Protect, Write Protect, Write Protect, Write Protect, Industrial, Industrial, Industrial, Industrial, Industrial, Industrial, Industrial, Industrial, Industrial, Industrial, Industrial, vIndustrial, Industrial, Industrial, SOIC, SOIC, SOIC, SOIC, SOIC, SOIC, SOIC, SOIC, SOIC, SOIC, SOIC, SOIC, SOIC, SOIC, SOIC 29/30 M41T81 Information furnished is believed to be accurate and reliable. However, STMicroelectronics assumes 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. STMicroelectronics products are not authorized for use as critical components in life support devices or systems without express written approval of STMicroelectronics. The ST logo is a registered trademark of STMicroelectronics. All other names are the property of their respective owners (c) 2004 STMicroelectronics - All rights reserved STMicroelectronics group of companies Australia - Belgium - Brazil - Canada - China - Czech Republic - Finland - France - Germany - Hong Kong - India - Israel - Italy - Japan Malaysia - Malta - Morocco - Singapore - Spain - Sweden - Switzerland - United Kingdom - United States of America www.st.com 30/30