| 数据搜索系统,热门电子元器件搜索 |
|
M41T62 数据表(PDF) 13 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
M41T62 数据表(HTML) 13 Page - STMicroelectronics |
|
13 / 33 page ![]() 13/33 M41T62/63/64/65 CLOCK OPERATION The M41T6x is driven by a quartz-controlled oscil- lator with a nominal frequency of 32.768kHz. The accuracy of the Real-Time Clock depends on the frequency of the quartz crystal that is used as the time-base for the RTC. The eight byte clock register (see Table 3., M41T62 Register Map, Table 4., M41T63 Reg- ister Map, Table 5., M41T64 Register Map, and Table 6., M41T65 Register Map) 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, Min- utes, and Hours are contained within the first four registers. Note: A WRITE to any clock register will result in the Tenths/Hundredths of Seconds being reset to “00,” and Tenths/Hundredths of Seconds cannot be written to any value other than “00.” 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 Calibration 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 oscil- lator to stop. When reset to a '0' the oscillator re- starts within one second (typical). Note: Upon initial power-up, the user should set the ST Bit to a '1,' then immediately reset the ST Bit to '0.' This provides an additional “kick-start” to the oscillator circuit. Bit D7 of Register 02h (Minute Register) contains the Oscillator Fail Interrupt Enable Bit (OFIE). When the user sets this bit to '1,' any condition which sets the Oscillator Fail Bit (OF) (see Oscilla- tor Stop Detection, page 23) will also generate an interrupt output. Bits D6 and D7 of Clock Register 06h (Century/ Month Register) contain the CENTURY Bit 0 (CB0) and CENTURY Bit 1 (CB1). Note: A WRITE to ANY location within the first eight bytes of the clock register (00h-07h), includ- ing the OFIE Bit, RS0-RS3 Bit, and CB0-CB1 Bits will result in an update of the system clock and a reset of the divider chain. This could result in an in- advertent change of the current time. These non- clock related bits should be written prior to setting the clock, and remain unchanged until such time as a new clock time is also written. 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. TIMEKEEPER® Registers The M41T6x offers 16 internal registers which contain Clock, Calibration, Alarm, Watchdog, Flags, and Square Wave. The Clock registers are memory locations which contain external (user ac- cessible) and internal copies of the data (usually referred to as BiPORT™ TIMEKEEPER cells). The external copies are independent of internal func- tions except that they are updated periodically by the simultaneous transfer of the incremented inter- nal copy. The internal divider (or clock) chain will be reset upon the completion of a WRITE to any clock address (00h to 07h). 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 ei- ther due to a Stop Condition or when the pointer increments to a non-clock address. TIMEKEEPER and Alarm Registers store data in BCD format. Calibration, Watchdog, and Square Wave Bits are written in a Binary Format. |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |