M41T56 Serial Real Time Clock with 56 bytes NVRAM Feature summary ■ Counters for seconds, minutes, hours, day, date, month, years, and century ■ 32 KHz crystal oscillator integrating load capacitance (12.5pF) providing exceptional oscillator stability and high crystal series resistance operation ■ Serial interface supports I2C Bus (400kHz protocol) ■ Ultra-low battery supply current of 450nA (typ@3V) ■ 5V ±10% supply voltage ■ Timekeeping down to 2.5V ■ Automatic power-fail detect and switch circuitry ■ 56 bytes of general purpose RAM ■ Software clock calibration to compensate crystal deviation due to temperature ■ Automatic leap year compensation ■ Operating temperature of –40 to 85°C ■ Packaging options include: – 28-lead SOIC and SNAPHAT® TOP (to be ordered separately) – SO8N October 2006 8 1 SO8N (M) 150mil width SNAPHAT (SH) battery & crystal 28 1 SOH28 (MH) Rev 5 1/28 www.st.com 1 Contents M41T56 Contents 1 Summary description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 2 Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 2.1 3 2-wire bus characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 2.1.1 Bus not busy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 2.1.2 Start data transfer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 2.1.3 Stop data transfer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 2.1.4 Data valid . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 2.1.5 Acknowledge . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 2.2 READ mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 2.3 WRITE mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 2.4 Data retention mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 Clock operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 3.1 Clock calibration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 3.2 Output driver pin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 3.3 Initial power-on defaults . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 4 Maximum rating . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 5 DC and AC parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 6 Package mechanical information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 7 Part numbering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 8 Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 2/28 M41T56 List of tables List of tables Table 1. Table 2. Table 3. Table 4. Table 5. Table 6. Table 7. Table 8. Table 9. Table 10. Table 11. Table 12. Table 13. Table 14. Table 15. Table 16. Table 17. Signal names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 AC characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 Register map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 Absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 Operating and AC measurement conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 Capacitance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 DC characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 Crystal Electrical Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 Power down/up mode AC characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 Power down/up trip points DC characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 SO8N – 8-pin plastic small outline, package mechanical data . . . . . . . . . . . . . . . . . . . . . . 22 SOH28 – 28-lead plastic small outline, 4-socket battery SNAPHAT, mech. data. . . . . . . . 23 SH – 4-pin SNAPHAT housing for 48mAh battery & crystal, package mech. data. . . . . . . 24 SH – 4-pin SNAPHAT housing for 120mAh battery & crystal, package mech. data. . . . . . 25 Ordering information scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 SNAPHAT battery/crystal table. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 Document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 3/28 List of figures M41T56 List of figures Figure 1. Figure 2. Figure 3. Figure 4. Figure 5. Figure 6. Figure 7. Figure 8. Figure 9. Figure 10. Figure 11. Figure 12. Figure 13. Figure 14. Figure 15. Figure 16. Figure 17. Figure 18. Figure 19. 4/28 Logic diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 8-pin SOIC connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 28-pin SOIC connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 Block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Serial bus data transfer sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 Acknowledge sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 Bus timing requirements sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 Slave address location . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 READ mode sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 Alternative READ mode sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 WRITE mode sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 Crystal accuracy across temperature . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 Clock calibration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 AC measurement I/O Waveform. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 Power down/up mode AC Waveforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 SO8N – 8-pin plastic small package outline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 SOH28 – 28-lead plastic small outline, 4-socket battery SNAPHAT, package outline . . . . 23 SH – 4-pin SNAPHAT housing for 48mAh battery & crystal, package outline . . . . . . . . . . 24 SH – 4-pin SNAPHAT housing for 120mAh battery & crystal, package outline . . . . . . . . . 25 M41T56 1 Summary description Summary description The M41T56 is a low power, Serial Real Time Clock with 56 bytes of NVRAM. A built-in 32,768Hz oscillator (external crystal controlled) and the first 8 bytes of the RAM are used for the clock/calendar function and are configured in binary coded decimal (BCD) format. Addresses and data are transferred serially via a two-line, bi-directional bus. The built-in address register is incremented automatically after each WRITE or READ data byte. The M41T56 clock has a built-in power sense circuit which detects power failures and automatically switches to the battery supply during power failures. The energy needed to sustain the RAM and clock operations can be supplied from a small lithium coin cell. Typical data retention time is in excess of 10 years with a 50mAh, 3V lithium cell. The M41T56 is supplied in an 8-lead Plastic SOIC package or a 28-lead SNAPHAT® package. The 28-pin, 330mil SOIC provides sockets with gold plated contacts at both ends for direct connection to a separate SNAPHAT housing containing the battery and crystal. The unique design allows the SNAPHAT battery package to be mounted on top of the SOIC package after the completion of the surface mount process. Insertion of the SNAPHAT housing after reflow prevents potential battery and crystal damage due to the high temperatures required for device surface-mounting. The SNAPHAT housing is keyed to prevent reverse insertion. The SOIC and battery/crystal packages are shipped separately in plastic anti-static tubes or in Tape & Reel form. For the 28-lead SOIC, the battery/crystal package (e.g., SNAPHAT) part number is “M4TxxBR12SH” (see Table 16 on page 26). Caution: Do not place the SNAPHAT battery/crystal package “M4Txx-BR12SH” in conductive foam as this will drain the lithium button-cell battery. Figure 1. Logic diagram VCC VBAT OSCO OSCI SCL M41T56 SDA FT/OUT VSS AI02304B 5/28 Summary description Table 1. M41T56 Signal names OSCI Oscillator Input OCSO Oscillator Output FT/OUT Frequency Test / Output Driver (Open Drain) SDA Serial Data Address Input / Output SCL Serial Clock VBAT Battery Supply Voltage VCC Supply Voltage VSS Ground Figure 2. 8-pin SOIC connections M41T56 8 1 2 7 3 6 4 5 OSCI OSCO VBAT VSS VCC FT/OUT SCL SDA AI02306B Figure 3. 28-pin SOIC connections NC NC NC NC NC NC NC NC NC NC NC NC NC VSS 28 1 2 27 3 26 4 25 5 24 6 23 7 22 M41T56 8 21 9 20 10 19 11 18 12 17 13 16 14 15 AI03607 6/28 VCC NC FT/OUT NC NC NC NC NC SCL NC NC NC SDA NC M41T56 Summary description Figure 4. Block diagram 1 Hz OSCI OSCILLATOR 32.768 kHz DIVIDER SECONDS MINUTES CENTURY/HOURS OSCO DAY FT/OUT VCC VSS VBAT SCL SDA DATE VOLTAGE SENSE and SWITCH CIRCUITRY SERIAL BUS INTERFACE MONTH CONTROL LOGIC YEAR CONTROL RAM (56 x 8) ADDRESS REGISTER AI02566 7/28 Operation 2 M41T56 Operation The M41T56 clock operates as a slave device on the serial bus. Access is obtained by implementing a start condition followed by the correct slave address (D0h). The 64 bytes contained in the device can then be accessed sequentially in the following order: 1. Seconds register 2. Minutes register 3. Century/hours register 4. Day register 5. Date register 6. Month register 7. Years register 8. Control register 9. RAM The clock continually monitors VCC for an out of tolerance condition. Should VCC fall 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 prevent erroneous data from being written to the device from an out of tolerance system. When VCC falls below VBAT, the device automatically switches over to the battery and powers down into an ultra low current mode of operation to conserve battery life. Upon power-up, the device switches from battery to VCC at VBAT and recognizes inputs when VCC goes above VPFD volts. 2.1 2-wire bus characteristics This bus is intended for communication between different ICs. It consists of two lines: one bi-directional for data signals (SDA) and one for clock signals (SCL). Both the SDA and the SCL lines must be connected to a positive supply voltage via a pull-up resistor. The following protocol has been defined: ● Data transfer may be initiated only when the bus is not busy. ● During data transfer, the data line must remain stable whenever the clock line is High. ● Changes in the data line while the clock line is High will be interpreted as control signals. Accordingly, the following bus conditions have been defined: 2.1.1 Bus not busy Both data and clock lines remain High. 2.1.2 Start data transfer A change in the state of the data line, from High to Low, while the clock is High, defines the START condition. 8/28 M41T56 2.1.3 Operation Stop data transfer A change in the state of the data line, from Low to High, while the clock is High, defines the STOP condition. 2.1.4 Data valid The state of the data line represents valid data when after a start condition, the data line is stable for the duration of the High period of the clock signal. The data on the line may be changed during the Low period of the clock signal. There is one clock pulse per bit of data. Each data transfer is initiated with a start condition and terminated with a stop condition. The number of data bytes transferred between the start and stop conditions is not limited. The information is transmitted byte-wide and each receiver acknowledges with a ninth bit. By definition, a device that gives out a message is called “transmitter,” the receiving device that gets the message is called “receiver.” The device that controls the message is called “master.” The devices that are controlled by the master are called “slaves.” 2.1.5 Acknowledge Each byte of eight bits is followed by one Acknowledge Bit. This Acknowledge Bit is a low level put on the bus by the receiver, whereas the master generates an extra acknowledge related clock pulse. A slave receiver which is addressed is obliged to generate an acknowledge after the reception of each byte. Also, a master receiver must generate an acknowledge after the reception of each byte that has been clocked out of the slave transmitter. The device that acknowledges has to pull down the SDA line during the acknowledge clock pulse in such a way that the SDA line is a stable Low during the High period of the acknowledge related clock pulse. Of course, setup and hold times must be taken into account. A master receiver must signal an end-of-data to the slave transmitter by not generating an acknowledge on the last byte that has been clocked out of the slave. In this case, the transmitter must leave the data line High to enable the master to generate the STOP condition. Figure 5. Serial bus data transfer sequence DATA LINE STABLE DATA VALID CLOCK DATA START CONDITION CHANGE OF DATA ALLOWED STOP CONDITION AI00587 9/28 Operation M41T56 Figure 6. Acknowledge sequence CLOCK PULSE FOR ACKNOWLEDGEMENT START SCLK FROM MASTER 1 DATA OUTPUT BY TRANSMITTER 2 MSB 8 9 LSB DATA OUTPUT BY RECEIVER AI00601 Figure 7. Bus timing requirements sequence SDA tBUF tHD:STA tHD:STA tR tF SCL tHIGH P S tLOW tSU:DAT tHD:DAT tSU:STA SR tSU:STO P AI00589 10/28 M41T56 Operation Table 2. AC characteristics Parameter(1) Symbol Min Max Unit 0 100 kHz fSCL SCL clock frequency tLOW Clock low period 4.7 µs tHIGH Clock high period 4 µs tR SDA and SCL rise time 1 µs tF SDA and SCL fall time 300 ns tHD:STA START condition hold time (after this period the first clock pulse is generated) tSU:STA tSU:DAT tHD:DAT (2) tSU:STO tBUF 4 µs START condition setup time (only relevant for a repeated start condition) 4.7 µs Data setup time 250 ns Data hold time 0 µs STOP condition setup time 4.7 µs Time the bus must be free before a new transmission can start 4.7 µs 1. Valid for Ambient Operating Temperature: TA = –40 to 85°C; VCC = 4.5 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. 2.2 READ mode In this mode, the master reads the M41T56 slave after setting the slave address (see Figure 8 on page 12 and Figure 9 on page 12). 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 Bit. The M41T56 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. An alternate READ mode may also be implemented, whereby the master reads the M41T56 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 10 on page 12. 11/28 Operation M41T56 Figure 8. Slave address location R/W SLAVE ADDRESS A LSB MSB START 1 1 0 1 0 0 0 AI00602 SLAVE ADDRESS DATA n+1 ACK DATA n ACK S ACK BUS ACTIVITY: R/W R/W WORD ADDRESS (n) S ACK SDA LINE ACK BUS ACTIVITY: MASTER START READ mode sequence START Figure 9. STOP SLAVE ADDRESS P NO ACK DATA n+X AI00899 ACK DATA n+X P NO ACK SLAVE ADDRESS DATA n+1 ACK DATA n BUS ACTIVITY: 12/28 STOP R/W S ACK SDA LINE ACK BUS ACTIVITY: MASTER START Figure 10. Alternative READ mode sequence AI00895 M41T56 2.3 Operation WRITE mode In this mode the master transmitter transmits to the M41T56 slave receiver. Bus protocol is shown in Figure 11 on page 13. 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 memory location within the RAM on the reception of an acknowledge clock. The M41T56 slave receiver will send an acknowledge clock to the master transmitter after it has received the slave address and again after it has received the word address and each data byte (see Figure 8 on page 12). Data retention mode With valid VCC applied, the M41T56 can be accessed as described above with READ or WRITE cycles. Should the supply voltage decay, the M41T56 will automatically deselect, write protecting itself when VCC falls between VPFD (max) and VPFD (min). This is accomplished by internally inhibiting access to the clock registers and SRAM. When VCC falls below the Battery Back-up Switchover Voltage (VSO), power input is switched from the VCC pin to the 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 protection continues for tREC. For a further more detailed review of battery lifetime calculations, please see Application Note AN1012. R/W SLAVE ADDRESS DATA n+X P ACK DATA n+1 ACK BUS ACTIVITY: DATA n ACK WORD ADDRESS (n) S ACK SDA LINE ACK BUS ACTIVITY: MASTER STOP Figure 11. WRITE mode sequence START 2.4 AI00591 13/28 Clock operation 3 M41T56 Clock operation The eight byte clock register (see Table 3) is used to both set the clock and to read the date and time from the clock, in a binary coded decimal format. Seconds, Minutes, and Hours are contained within the first three registers. Bits D6 and D7 of Clock Register 2 (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 3 contain the Day (day of week). Registers 4, 5, and 6 contain the Date (day of month), Month, and Years. The final register is the Control Register (this is described in the Clock Calibration section). Bit D7 of Register 0 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 seven Clock Registers may be read one byte at a time, or in a sequential block. The Control Register (Address location 7) may be accessed independently. Provision has been made to assure that a clock update does not occur while any of the seven clock addresses are being read. If a clock address is being read, an update of the clock registers will be delayed by 250ms to allow the READ to be completed before the update occurs. This will prevent a transition of data during the READ. Note: This 250ms delay affects only the clock register update and does not alter the actual clock time. Table 3. Register map(1) Data Function/range Address D7 D6 D5 D4 D3 D2 D1 D0 BCD format 0 ST 10 Seconds Seconds Seconds 00-59 1 X 10 Minutes Minutes Minutes 00-59 2 CEB(2) CB 3 X X 4 X X 5 X X 6 7 10 hours X 10 date X 10 years OUT FT X S 10 M. Hours X Day Century/hours 0-1/00-23 Day 01-07 Date Date 01-31 Month Month 01-12 Years Year 00-99 Calibration Control 1. Keys: S = SIGN Bit FT = FREQUENCY TEST Bit ST = STOP Bit OUT = Output level X = Don't care CEB = Century Enable Bit CB = Century Bit 2. When CEB is set to '1,' CB toggles from '0' to '1' or from '1' to '0' every 100 years (dependent upon the initial value set). When CEB is set to '0,' CB does not toggle. 14/28 M41T56 3.1 Clock operation Clock calibration The M41T56 is driven by a quartz-controlled oscillator with a nominal frequency of 32,768Hz. The devices are tested not to exceed 35 ppm (parts per million) oscillator frequency error at 25°C, which equates to about ±1.53 minutes per month. With the calibration bits properly set, the accuracy of each M41T56 improves to better than ±2 ppm at 25°C. The oscillation rate of any crystal changes with temperature (see Figure 12 on page 16). Most clock chips compensate for crystal frequency and temperature shift error with cumbersome “trim” capacitors. The M41T56 design, however, 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 12 on page 16. The number of times pulses are blanked (subtracted, negative calibration) or split (added, positive calibration) depends upon the value loaded into the five-bit Calibration Byte found in the Control Register. Adding counts speeds the clock up, subtracting counts slows the clock down. The Calibration Byte occupies the five lower order bits (D4-D0) in the Control Register (Addr 7). This byte can be set to represent any value between 0 and 31 in binary form. Bit D5 is the 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 minutes 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. Assuming that the oscillator is in fact running at exactly 32,768Hz, each of the 31 increments in the Calibration Byte would 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 calibration a given M41T56 may require. The first involves simply setting the clock, letting it run for a month and comparing it to a known accurate reference (like WWV broadcasts). While that may seem crude, it allows the designer to give the end user the ability to calibrate his clock as his environment may require, even after the final product is packaged in a non-user serviceable enclosure. All the designer has to do is provide a simple utility that accessed the Calibration Byte. The second approach is better suited to a manufacturing environment, and involves the use of some test equipment. When the Frequency Test (FT) Bit, the seventh-most significant bit in the Control Register, is set to a '1,' and the oscillator is running at 32,768Hz, the FT/OUT pin of the device will toggle at 512Hz. Any deviation from 512Hz indicates the degree and direction of oscillator frequency shift at the test temperature. For example, a reading of 512.01024Hz would indicate a +20ppm oscillator frequency error, requiring a –10(XX001010) to be loaded into the Calibration Byte for correction. Note: Setting or changing the Calibration Byte does not affect the Frequency Test output frequency. 15/28 Clock operation M41T56 Figure 12. Crystal accuracy across temperature Frequency (ppm) 20 0 –20 –40 –60 –80 ∆F = K x (T –T )2 O F –100 K = –0.036 ppm/°C2 ± 0.006 ppm/°C2 –120 TO = 25°C ± 5°C –140 –160 –40 –30 –20 –10 0 10 20 30 40 50 60 70 80 Temperature °C AI00999b Figure 13. Clock calibration NORMAL POSITIVE CALIBRATION NEGATIVE CALIBRATION AI00594B 3.2 Output driver pin When the FT Bit is not set, the FT/OUT pin becomes an output driver that reflects the contents of D7 of the Control Register. In other words, when D6 of location 7 is a '0' and D7 of location 7 is a '0' and then the FT/OUT pin will be driven low. Note: The FT/OUT pin is open drain which requires an external pull-up resistor. 3.3 Initial power-on defaults Upon initial application of power to the device, the FT Bit will be set to a '0' and the OUT Bit will be set to a '1.' All other Register bits will initially power-on in a random state. 16/28 M41T56 4 Maximum rating 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 4. Absolute maximum ratings Symbol TA TSTG TSLD(1)(2) Parameter Ambient operating temperature Storage temperature (VCC off, oscillator off) Value Unit –40 to 85 °C SNAPHAT –40 to 85 SOIC –55 to 125 °C Lead solder temperature for 10 seconds 260 °C VIO Input or output voltages –0.3 to 7 V VCC Supply voltage –0.3 to 7 V IO Output current 20 mA PD Power dissipation 0.25 W 1. For SO package, standard (SnPb) lead finish: Reflow at peak temperature of 225°C (total thermal budget not to exceed 180°C for between 90 to 150 seconds). 2. For SO package, Lead-free (Pb-free) lead finish: Reflow at peak temperature of 260°C (total thermal budget not to exceed 245°C for greater than 30 seconds). Caution: Negative undershoots below –0.3V are not allowed on any pin while in the Battery Back-up mode. Caution: Do NOT wave solder SOIC to avoid damaging SNAPHAT sockets. 17/28 DC and AC parameters 5 M41T56 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 Measurement 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 5. Operating and AC measurement conditions(1) Parameter Value Unit Supply Voltage (VCC) 4.5 to 5.5 V Ambient Operating Temperature (TA) –40 to 85 °C 100 pF ≤5 ns 0 to 3 V 1.5 V Load Capacitance (CL) Input Rise and Fall Times Input Pulse Voltages Input and Output Timing Ref. Voltages 1. Output Hi-Z is defined as the point where data is no longer driven. Figure 14. AC measurement I/O Waveform 0.8VCC 0.7VCC 0.3VCC 0.2VCC AI02568 Table 6. Capacitance Parameter(1)(2) Symbol CIN COUT tLP (3) Max Unit Input capacitance (SCL) 7 pF Output capacitance (SDA, FT/OUT) 10 pF 1 µs Low-pass filter input time constant (SDA and SCL) Min 0.25 1. Effective capacitance measured with power supply at 5V; sampled, not 100% tested. 2. At 25°C, f = 1MHz. 3. Outputs deselected. 18/28 M41T56 DC and AC parameters Table 7. Symbol DC characteristics Test condition(1) Parameter Min Typ Max Unit 0V ≤VIN ≤VCC ±1 µA 0V ≤VOUT ≤VCC ±1 µA Switch frequency = 100kHz 300 µA ILI Input leakage current ILO Output leakage current ICC1 Supply current ICC2 Supply current (standby) VIL Input low voltage –0.3 1.5 V VIH Input high voltage 3 VCC + 0.8 V VOL Output low voltage 0.4 V 3 3.5 V 450 550 nA VBAT(2) Battery supply voltage IBAT Battery supply current SCL, SDA = VCC – 0.3V 100 µA IOL = 5mA, VCC = 4.5V 2.5 TA = 25°C, VCC = 0V, oscillator ON, VBAT = 3V 1. Valid for Ambient Operating Temperature: TA = –40 to 85°C; VCC = 4.5 to 5.5V (except where noted). 2. STMicroelectronics recommends the RAYOVAC BR1225 or BR1632 (or equivalent) as the battery supply. Table 8. Crystal Electrical Characteristics Parameter(1)(2)(3) Symbol fO Resonant frequency RS Series resistance CL Load capacitance Min Typ Max 32.768 Unit kHz 60 12.5 kΩ pF 1. These values are externally supplied if using the SO8N 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 [email protected] or http://www.kdsj.co.jp for further information on this crystal type. 2. Load capacitors are integrated within the M41T56. Circuit board layout considerations for the 32.768 kHz crystal of minimum trace lengths and isolation from RF generating signals should be taken into account. 3. All SNAPHAT battery/crystal tops meet these specifications. Figure 15. Power down/up mode AC Waveforms VCC VPFD VSO tPD tFB tRB SDA SCL tREC IBAT DATA RETENTION TIME AI00595 19/28 DC and AC parameters Table 9. M41T56 Power down/up mode AC characteristics Parameter(1) Symbol tPD SCL and SDA at VIH before power down tFB Min Max Unit 0 ns VPFD (min) to VSS VCC fall time 300 µs tRB VSS to VPFD (min) VCC rise time 100 µs tREC SCL and SDA at VIH after power up 10 µs 1. Valid for Ambient Operating Temperature: TA = –40 to 85°C; VCC = 4.5 to 5.5V (except where noted). Table 10. Symbol Power down/up trip points DC characteristics Parameter(1)(2) VPFD Power-fail deselect voltage VSO Battery back-up switchover voltage Min Typ Max Unit 1.2 VBAT 1.25 VBAT 1.285 VBAT V VBAT 1. All voltages referenced to VSS. 2. Valid for Ambient Operating Temperature: TA = –40 to 85°C; VCC = 4.5 to 5.5V (except where noted). 20/28 V M41T56 6 Package mechanical information Package mechanical information In order to meet environmental requirements, ST offers these devices in ECOPACK® packages. These packages have a Lead-free second level interconnect . The category of second Level Interconnect is marked on the package and on the inner box label, in compliance with JEDEC Standard JESD97. The maximum ratings related to soldering conditions are also marked on the inner box label. ECOPACK is an ST trademark. ECOPACK specifications are available at: www.st.com. 21/28 Package mechanical information M41T56 Figure 16. SO8N – 8-pin plastic small package outline h x 45˚ A2 A c ccc b e 0.25 mm GAUGE PLANE D k 8 E1 E 1 A1 L L1 SO-A 1. Drawing is not to scale. Table 11. SO8N – 8-pin plastic small outline, package mechanical data millimetres inches Symbol Typ Min A Typ Min 1.75 Max 0.069 A1 0.10 A2 1.25 b 0.28 0.48 0.011 0.019 c 0.17 0.23 0.007 0.009 ccc 0.25 0.004 0.010 0.049 0.10 0.004 D 4.90 4.80 5.00 0.193 0.189 0.197 E 6.00 5.80 6.20 0.236 0.228 0.244 E1 3.90 3.80 4.00 0.154 0.150 0.157 e 1.27 – – 0.050 – – h 0.25 0.50 0.010 0.020 k 0° 8° 0° 8° L 0.40 1.27 0.016 0.050 L1 22/28 Max 1.04 0.041 M41T56 Package mechanical information Figure 17. SOH28 – 28-lead plastic small outline, 4-socket battery SNAPHAT, package outline A2 A C B eB e CP D N E H A1 α L 1 SOH-A 1. Drawing is not to scale. Table 12. SOH28 – 28-lead plastic small outline, 4-socket battery SNAPHAT, mech. data mm inches Symb Typ Min A Max Typ Min Max 0.120 3.05 A1 0.05 0.36 0.002 0.014 A2 2.34 2.69 0.092 0.106 B 0.36 0.51 0.014 0.020 C 0.15 0.32 0.006 0.012 D 17.71 18.49 0.697 0.728 E 8.23 8.89 0.324 0.350 – – – – eB 3.20 3.61 0.126 0.142 H 11.51 12.70 0.453 0.500 L 0.41 1.27 0.016 0.050 α 0° 8° 0° 8° N 28 e CP 1.27 0.050 28 0.10 0.004 23/28 Package mechanical information M41T56 Figure 18. SH – 4-pin SNAPHAT housing for 48mAh battery & crystal, package outline A1 A2 A3 A eA B L eB D E SHTK-A 1. Drawing is not to scale. Table 13. SH – 4-pin SNAPHAT housing for 48mAh battery & crystal, package mech. data mm inches Symb Typ Min A Typ Min 9.78 Max 0.385 A1 6.73 7.24 0.265 0.285 A2 6.48 6.99 0.255 0.275 A3 24/28 Max 0.38 0.015 B 0.46 0.56 0.018 0.022 D 21.21 21.84 0.835 0.860 E 14.22 14.99 0.560 0.590 eA 15.55 15.95 .6122 .6280 eB 3.20 3.61 0.126 0.142 L 2.03 2.29 0.080 0.090 M41T56 Package mechanical information Figure 19. SH – 4-pin SNAPHAT housing for 120mAh battery & crystal, package outline A1 A2 A3 A eA B L eB D E SHTK-B 1. Drawing is not to scale. Table 14. SH – 4-pin SNAPHAT housing for 120mAh battery & crystal, package mech. data mm inches Symb Typ Min A Max Typ Min 10.54 Max 0.415 A1 8.00 8.51 0.315 0.335 A2 7.24 8.00 0.285 0.315 A3 0.38 0.015 B 0.46 0.56 0.018 0.022 D 21.21 21.84 0.835 0.860 E 17.27 18.03 0.680 0.710 eA 15.55 15.95 .6122 .6280 eB 3.20 3.61 0.126 0.142 L 2.03 2.29 0.080 0.090 25/28 Part numbering 7 M41T56 Part numbering Table 15. Ordering information scheme Example: M41T 56 M 6 E Device type M41T Supply voltage and write protect voltage 56 = VCC = 4.5 to 5.5V Package M = SO8N MH(1)= SOH28 Temperature range 6 = –40 to 85°C Shipping method For SO8N: E = Lead-free package (ECOPACK®), tubes F = Lead-free package (ECOPACK®), tape & reel For SOH28: E = Lead-free package (ECOPACK®), tubes F = Lead-free Package (ECOPACK®), tape & reel 1. The SOIC package (SOH28) requires the SNAPHAT® battery package which is ordered separately under the part number “M4Txx-BR12SHx” in plastic tube or “M4Txx-BR12SHxTR” in Tape & Reel form (see Table 16). Caution: Do not place the SNAPHAT battery package “M4TXX-BR12SH” in conductive foam as it will drain the lithium button-cell battery. For other options, or for more information on any aspect of this device, please contact the ST Sales Office nearest you. Table 16. SNAPHAT battery/crystal table Part number 26/28 Description Package M4T28-BR12SH Lithium battery (48mAh)/crystal SNAPHAT SH M4T32-BR12SH Lithium battery (120mAh)/crystal SNAPHAT SH M41T56 8 Revision history Revision history Table 17. Document revision history Date Rev. # Revision details March 1999 1.0 First issue 12/23/99 1.1 SOH28 package added 03/21/00 1.2 Series resistance Max Value changed (Table 8) 11/30/00 1.3 Added PSDIP8 package 01/25/01 1.4 Corrected graphic, measurements of PSDIP8 (Figure 18, Table 14) 02/16/01 2.0 Reformatted, table added (Table 16) 04/06/01 2.1 Add temp./voltage information to characteristics (Table 7, Table 2); correct Series Resistance (Table 8) 07/17/01 2.2 Basic formatting changes 08/02/02 2.3 Modify reflow time and temperature footnote (Table 4); modify Crystal Electrical Characteristics table footnotes (Table 8); removed PSDIP8 package 11/07/02 2.4 Correct figure name (Feature summary on page 1) 15-Jun-04 3.0 Reformatted; add Lead-free information; update characteristics (Figure 12; Table 4, Table 15) 11-Sep-2006 4 Changed document to new template; amalgamated diagrams in Feature summary on page 1; amended footnotes in Table 3: Register map; updated Package mechanical data in Section 6: Package mechanical information; small text changes for entire document, removed lead packages from Table 15, ECOPACK compliant 09-Oct-2006 5 Updated package mechanical data in Figure 16.: SO8N – 8-pin plastic small package outline. 27/28 M41T56 Please Read Carefully: Information in this document is provided solely in connection with ST products. STMicroelectronics NV and its subsidiaries (“ST”) reserve the right to make changes, corrections, modifications or improvements, to this document, and the products and services described herein at any time, without notice. All ST products are sold pursuant to ST’s terms and conditions of sale. Purchasers are solely responsible for the choice, selection and use of the ST products and services described herein, and ST assumes no liability whatsoever relating to the choice, selection or use of the ST products and services described herein. No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. If any part of this document refers to any third party products or services it shall not be deemed a license grant by ST for the use of such third party products or services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoever of such third party products or services or any intellectual property contained therein. UNLESS OTHERWISE SET FORTH IN ST’S TERMS AND CONDITIONS OF SALE ST DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY WITH RESPECT TO THE USE AND/OR SALE OF ST PRODUCTS INCLUDING WITHOUT LIMITATION IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE (AND THEIR EQUIVALENTS UNDER THE LAWS OF ANY JURISDICTION), OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT. UNLESS EXPRESSLY APPROVED IN WRITING BY AN AUTHORIZED ST REPRESENTATIVE, ST PRODUCTS ARE NOT RECOMMENDED, AUTHORIZED OR WARRANTED FOR USE IN MILITARY, AIR CRAFT, SPACE, LIFE SAVING, OR LIFE SUSTAINING APPLICATIONS, NOR IN PRODUCTS OR SYSTEMS WHERE FAILURE OR MALFUNCTION MAY RESULT IN PERSONAL INJURY, DEATH, OR SEVERE PROPERTY OR ENVIRONMENTAL DAMAGE. ST PRODUCTS WHICH ARE NOT SPECIFIED AS "AUTOMOTIVE GRADE" MAY ONLY BE USED IN AUTOMOTIVE APPLICATIONS AT USER’S OWN RISK. Resale of ST products with provisions different from the statements and/or technical features set forth in this document shall immediately void any warranty granted by ST for the ST product or service described herein and shall not create or extend in any manner whatsoever, any liability of ST. ST and the ST logo are trademarks or registered trademarks of ST in various countries. Information in this document supersedes and replaces all information previously supplied. The ST logo is a registered trademark of STMicroelectronics. All other names are the property of their respective owners. © 2006 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 28/28