![]() |
|
If you can't view the Datasheet, Please click here to try to view without PDF Reader . |
|
Datasheet File OCR Text: |
october 2011 doc id 15108 rev 2 1/41 1 m41t66 serial real-time clock with alarms features counters for tenths/hundredths of seconds, seconds, minutes, hours, day, date, month, year, and century 32 khz crystal oscilla tor integrating load capacitance and high crystal series resistance operation oscillator stop detect ion monitors clock operation serial interface supports i 2 c bus (400 khz) 525 na timekeeping current at 3 v low operating current of 35 a (at 400 khz) timekeeping down to 1.0 v 1.3 v to 4.4 v i 2 c bus operating voltage ? allows use in lithium ion rechargeable applications 32 khz square wave on power-up to drive a microcontroller in low-power mode programmable (1 hz to 32 khz) square wave programmable alarm with interrupt function accurate programmable watchdog (from 62.5 ms to 31 min) software clock calibration to compensate deviation of crystal due to temperature automatic leap year compensation operating temperature of ?40 to 85 c lead-free 16-pin qfn package qfn16 3 mm x 3 mm www.st.com
contents m41t66 2/34 doc id 15108 rev 2 contents 1 description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 2 operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 2.1 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 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 2.1.4 data valid . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 2.1.5 acknowledge . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 2.2 read mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 2.3 write mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 3 clock operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 3.1 clock registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 3.2 calibrating the clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 3.3 setting alarm clock registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 3.4 watchdog timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 3.5 square wave output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 3.6 century bits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 3.7 output driver pin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 3.8 oscillator stop detection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 3.9 initial power-on defaults . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 4 maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 5 dc and ac parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 6 package mechanical data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 7 part numbering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 8 revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 m41t66 list of tables doc id 15108 rev 2 3/34 list of tables table 1. signal names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 table 2. m41t66 register map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 table 3. alarm repeat modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 table 4. square wave output frequency . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 table 5. initial power-on default values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 table 6. century bits examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 table 7. absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 table 8. operating and ac measurement conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 table 9. capacitance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 table 10. dc characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 table 11. crystal electrical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 table 12. oscillator characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 table 13. ac characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 table 14. qfn16 ? 16-lead, quad, flat package, no lead, 3 x 3 mm body size, mech. data . . . . . . . 29 table 15. carrier tape dimensions for qfn16 (3 mm x 3 mm) package . . . . . . . . . . . . . . . . . . . . . . 30 table 16. reel dimensions for 12 mm carrier tape - qfn16 package . . . . . . . . . . . . . . . . . . . . . . . . 31 table 17. ordering information scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 table 18. document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 list of figures m41t66 4/34 doc id 15108 rev 2 list of figures figure 1. m41t66 logic diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 figure 2. m41t66 connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 figure 3. m41t66 block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 figure 4. hardware hookup for supercap? backup operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 figure 5. serial bus data transfer sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 figure 6. acknowledgement sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 figure 7. slave address location . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 figure 8. read mode sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 figure 9. alternative read mode sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 figure 10. write mode sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 figure 11. crystal accuracy across temperature . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 figure 12. calibration waveform . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 figure 13. alarm interrupt reset waveform. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 figure 14. ac measurement i/o waveform . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 figure 15. crystal isolation example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 figure 16. bus timing requirements sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 figure 17. qfn16 ? 16-lead, quad, flat package, no lead, 3 x 3 mm body size, outline . . . . . . . . . . . 28 figure 18. qfn16 ? 16-lead, quad, flat package, no lead, 3 x 3 mm, recommended footprint . . . . . . 29 figure 19. 32 khz crystal + qfn16 vs. vsoj20 mechanical data . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 figure 20. carrier tape for qfn16 (3 mm x 3 mm) package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 figure 21. reel schematic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 m41t66 description doc id 15108 rev 2 5/34 1 description the m41t66 is a low-power serial real-time clock (rtc) with a built-in 32.768 khz oscillator (external crystal controlled). eight registers are used for the clock/calendar function and are configured in binary coded decimal (bcd) format. an additional 8 registers provide status/control of alarm, square wave, calibration, and watchdog functions. addresses and data are transferred serially via a two line, bidirectional i 2 c interface. the built-in address register is incremented automatically after each write or read data byte. functions available to the user include a time-of-day clock/calendar, alarm interrupts, programmable square wave output, and watchdog 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), 30- and 31-day months are made automatically. the m41t66 is supplied in a 16-pin qfn. figure 1. m41t66 logic diagram 1. open drain 2. defaults to 32 khz on power-up 3 # , 6 # # - 4 6 3 3 3 $ ! ) 2 1 / 5 4 3 1 7 8 ) 8 / ! ) description m41t66 6/34 doc id 15108 rev 2 figure 2. m41t66 connections 1. sqw output defaults to 32 khz upon power-up 2. open drain figure 3. m41t66 block diagram 1. open drain 2. defaults to 32 khz on power-up . # . # . # . # . # . # 8 ) 8 / 3 1 7 6 3 3 6 3 3 6 # # . # 3 # , 3 $ ! ) 2 1 / 5 4 ! ) table 1. signal names xi oscillator input xo oscillator output sda serial data input/output scl serial clock input irq /out interrupt or out output (open drain) sqw programmable square wave - defaults to 32 khz on power-up (open drain) v cc supply voltage v ss ground 2 % ! , 4 ) - % # , / # + # ! , % . $ ! 2 2 4 # 7 ! , ! 2 - / 3 # ) , , ! 4 / 2 & |