M48T08_07 STMICROELECTRONICS | Alldatasheet
Document overview
- Manufacturer or author: pROVIDED bY alldatasheet.com(free datasheet download site)
- PDF pages: 30
Technical content
Datasheet sections
Features
■ Integrated ultra low power sram, real time clock, power-fail control circuit, and battery ■ BYTEWIDE™ RAM-like clock access ■ BCD coded year, month, day, date, hours, minutes, and seconds ■ Typical clock accuracy of ±1 minute a month, at 25°C ■ Automatic power-fail chip deselect and write protection ■ Write protect VPFD = Power-fail deselect voltage): –M 4 8 T 0 8 : VCC = 4.75 to 5.5V 4.5V ≤ VPFD ≤ 4.75V – M48T18/T08Y: V CC = 4.5 to 5.5V 4.2V ≤ VPFD ≤ 4.5V ■ Software controlled clock calibration for high accuracy applications ■ Self-contained battery and crystal in the CAPHAT™ dip package ■ Packaging includes a 28-lead SOIC and SNAPHAT ® top (to be ordered separately) ■ SOIC package provides direct connection for a snaphat top which contains the battery and crystal ■ Pin and function compatible with DS1643 and JEDEC standard 8K x8 SRAMs ■ RoHS compliant – Lead-free second level interconnect PCDIP28 (PC) battery/crystal CAPHAT SNAPHAT (SH) battery/crystal SOH28 (MH)
and real time clock solution. the number of WRITEs that can be performed. and a long- life lithium button cell in a single package. part number is “M4T28-BR12SH” or “M4T32-BR12SH” (see Table 17 on page 28). Figure 1. Logic diagram
Table 1. Signal names Figure 2. DIP connections
BYTEWIDE™ clock information in the bytes with addresses 1FF8h-1FFFh. to the clock information and also stores the clock calibration setting. location in the static memory array. maintains data and clock operation until valid power returns. Table 2. Operating modes Note: X = V IH or VIL ; VSO = battery back-up switchover voltage.
- See Table 11 on page 22 for details.
Output Enable Access time (tGLQV). Figure 5. Read mode AC waveforms Note: WRITE Enable (W ) = High.
Table 3. Read mode AC characteristics E2. A WRITE is terminated by the earlier rising edge of W or E1, or the falling edge of E2. and G and a high on E2, a low on W will disable the outputs tWLQZ after W falls.
Table 4. Write mode AC characteristics decoupling of the power supply lines is recommended.
M48T08, M48T08Y, M48T18 Operation modes When VCC drops below VSO, the control circuit switches power to the internal battery which preserves data and powers the clock. The internal button cell will maintain data in the M48T08/18/08Y for an accumulated period of at least 10 years when VCC is less than VSO. Note: Requires use of M4T32-BR12SH SNAPHAT ® top when using the SOH28 package. As system power returns and VCC rises above VSO, the battery is disconnected and the power supply is switched to external VCC. Write protection continues until VCC reaches VPFD (min) plus trec (min). E1 should be kept high or E2 low as VCC rises past VPFD (min) to prevent inadvertent WRITE cycles prior to system stabilization. Normal RAM operation can resume trec after VCC exceeds VPFD (max). For more information on Battery Storage Life refer to the Application Note AN1012. Power-fail interrupt pin The M48T08/18/08Y continuously monitors VCC. When VCC falls to the power-fail detect trip point, an interrupt is immediately generated. An internal clock provides a delay of between 10µs and 40µs before automatically deselecting the M48T08/18/08Y . The INT pin is an open drain output and requires an external pull up resistor, even if the interrupt output function is not being used.
Clock operations M48T08, M48T08Y, M48T18 Clock operations Reading the clock Updates to the TIMEKEEPER® registers should be halted before clock data is read to prevent reading data in transition. The BiPORT™ TIMEKEEPER cells in the RAM array are only data registers and not the actual clock counters, so updating the registers can be halted without disturbing the clock itself. Updating is halted when a '1' is written to the READ Bit, the seventh bit in the control register. As long as a '1' remains in that position, updating is halted. After a halt is issued, the registers reflect the count; that is, the day, date, and the time that were current at the moment the halt command was issued. All of the TIMEKEEPER registers are updated simultaneously. A halt will not interrupt an update in progress. Updating is within a second after the bit is reset to a '0.' Setting the clock The eighth bit of the control register is the WRITE Bit. Setting the WRITE Bit to a '1,' like the READ Bit, halts updates to the TIMEKEEPER registers. The user can then load them with the correct day, date, and time data in 24 hour BCD format (on Table 5). Resetting the WRITE Bit to a '0' then transfers the values of all time registers (1FF9h-1FFFh) to the actual TIMEKEEPER counters and allows normal operation to resume. The FT Bit and the bits marked as '0' in Table 5 must be written to '0' to allow for normal TIMEKEEPER and RAM operation. See the Application Note AN923, “TIMEKEEPER ® Rolling Into the 21st Century” for information on Century Rollover.
Table 5. Register map oscillator starts within one second.
Clock operations M48T08, M48T08Y, M48T18 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 in the Control register. This byte can be set to represent any value between 0 and 31 in binary form. The sixth bit 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 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. 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 M48T08/18/08Y 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 accesses the Calibration Byte. The second approach is better suited to a manufacturing environment, and involves the use of standard test equipment. When the Frequency Test (FT) Bit, the seventh-most significant bit in the Day Register, is set to a '1,' and the oscillator is running at 32,768 Hz, the LSB (DQ0) of the Seconds Register will toggle at 512 Hz. Any deviation from 512 Hz indicates the degree and direction of oscillator frequency shift at the test temperature. For example, a reading of 512.01024 Hz would indicate a +20 ppm oscillator frequency error, requiring a – 10 (WR001010) to be loaded into the Calibration Byte for correction. Note: Setting or changing the Calibration Byte does not affect the Frequency Test output frequency. The device must be selected and addresses must be stable at Address 1FF9h when reading the 512 Hz on DQ0. The LSB of the Seconds Register is monitored by holding the M48T08/18/08Y in an extended READ of the Seconds Register, but without having the READ Bit set. The FT Bit MUST be reset to '0' for normal clock operations to resume. For more information on calibration, see the Application Note AN934, “TIMEKEEPER Calibration.”
Figure 10. Supply voltage protection
Program and other relevant quality documents. Table 6. Absolute maximum ratings Caution: Do NOT wave solder SOIC to avoid damaging SNAPHAT sockets.
- For DIP package: Soldering temperature not to exc eed 260°C for 10 seconds (total thermal budget not to
exceed 150°C for longer than 30 seconds).
- 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).
- 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).
the measurement conditions when using the quoted parameters. Table 7. Operating and AC measurement conditions Note: Output Hi-Z is defined as the point where data is no longer driven. Figure 11. AC testing load circuit Table 8. Capacitance
- Effective capacitance measured with power supply at 5V; sampled only, not 100% tested.
Table 9. DC characteristics Figure 12. Power down/up mode AC waveforms until after the system clock is running.
- Measured with Control Bits set as follows: R = '1'; W, ST, FT = '0.'
- The INT pin is open drain.
Table 10. Power down/up AC characteristics Table 11. Power down/up trip points DC characteristics
- V PFD (max) to VPFD (min) fall time of less than tF may result in deselection/write protection not occurring
until 200µs after VCC passes VPFD (min).
- V PFD (min) to VSS fall time of less than tFB may cause corruption of RAM data.
- All voltages referenced to V SS.
- At 55°C, V CC = 0V; tDR = 8.5 years (typ) at 70°C. Requires use of M4T32-BR12SH SNAPHAT® top when
conditions are also marked on the inner box label. ECOPACK is an ST trademark. ECOPACK specifications are available at: www.st.com. Figure 13. PCDIP28 – 28-pin plastic DIP, battery CAPHAT, package outline Note: Drawing is not to scale. Table 12. PCDIP28 – 28-pin plastic DIP, battery CAPHAT, package mechanical data
Figure 14. SOH28 – 28-lead plastic small outline, 4-socket battery SNAPHAT, package Note: Drawing is not to scale. Table 13. SOH28 – 28-lead plastic SO, 4-socket battery SNAPHAT, package mech. data
Figure 15. SH – 4-pin SNAPHAT housing for 48mAh battery & crystal, package outline Note: Drawing is not to scale. Table 14. SH – 4-pin SNAPHAT housing for 48mAh battery & crystal, package mech.
Figure 16. SH – 4-pin SNAPHAT housing for 120mAh battery & crystal, package Note: Drawing is not to scale. Table 15. SH – 4-pin SNAPHAT housing for 120mAh battery & crystal, package mech
Table 16. Ordering information scheme drain the lithium button-cell battery. ST sales office nearest you.
- The M48T08/18 part is offered with the PCDIP28 (e.g., CAPHAT™) package only.
- The SOIC package (SOH28) requires the SNAPHAT ® battery/crystal package which is ordered separately
Table 17). The M48T08Y part is offered in the SOH28 (SNAPHAT) package only.
Table 17. SNAPHAT battery table
Revision history
Table 18. Document revision history temp./voltage info. to tables (Table 8, 9, 3, 4, 10, 11). cover page and Section : Package mechanical data.