| Motor de Búsqueda de Datasheet de Componentes Electrónicos |
|
M48T212AMH Datasheet(PDF) 14 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
M48T212AMH Datasheet(HTML) 14 Page - STMicroelectronics |
|
14 / 20 page ![]() M48T212A 14/20 VCC SWITCH OUTPUT Vccsw output goes low when VOUT switches to VCC turning on a customer supplied P-Channel MOSFET (see Figure 3). The Motorola MTD20P06HDL is recommended. This MOSFET in turn connects VOUT to a separate supply when the current requirement is greater than IOUT1 (see Table 7). This output may also be used simply to indicate the status of the internal battery switcho- ver comparator, which controls the source (VCC or battery) of the VOUT output. POWER-ON RESET The M48T212A continuously monitors VCC. When VCC falls to the power fail detect trip point, the RST pulls low (open drain) and remains low on power- up for 40 to 200ms after VCC passes VPFD. The RST pin is an open drain output and an appropri- ate pull-up resistor to VCC should be chosen to control rise time. Note: If the RST output is fed back into either of the RSTIN inputs (for a microprocessor with a bi- directional reset) then a 1k Ω (max) pull-up resistor is recommended. Reset Inputs (RSTIN1 & RSTIN2) The M48T212A provides two independent inputs which can generate an output reset. The duration and function of these resets is identical to a reset generated by a power cycle. Table 14 and Figure 12 illustrate the AC reset characteristics of this function. During the time RST is enabled (tR1HRH & tR2HRH), the Reset Inputs are ignored. Note: RSTIN1 and RSTIN2 are each internally pulled up to VCC through a 100KΩ resistor. Calibrating the Clock The M48T212A is driven by a quartz controlled os- cillator with a nominal frequency of 32,768 Hz. 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. When the Calibration circuit is properly employed, accuracy improves to better than +1/–2 ppm at 25°C. The oscillation rate of crystals changes with tem- perature. The M48T212A 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 11. The number of times pulses which are blanked (subtracted, negative calibration) or split (added, positive calibration) depends upon the value load- ed into the five Calibration bits found in the Control Register. Adding counts speeds the clock up, sub- tracting counts slows the clock down. The Calibration bits occupy the five lower order bits (D4-D0) in the Control Register 8h. 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 calibra- tion. 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 modi- fied; if a binary 6 is loaded, the first 12 will be af- fected, 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 calibra- tion step in the calibration register. Assuming that the oscillator is running at exactly 32,768 Hz, 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 M48T212A may require. The first involves setting the clock, letting it run for a month and comparing it to a known accurate ref- erence 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 Calibration. This allows the designer to give the end user the ability to calibrate the clock as the environment re- quires, 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 manu- facturing environment, and involves the use of the IRQ/FT pin. The pin will toggle at 512Hz, when the Stop bit (ST, D7 of 9h) is ’0’, the Frequency Test bit (FT, D6 of Ch) is ’1’, the Alarm Flag Enable bit (AFE, D7 of 6h) is ’0’, and the Watchdog Steering bit (WDS, D7 of 7h) is ’1’ or the Watchdog Register (7h = 0) is reset. Any deviation from 512 Hz indicates the degree and direction of oscillator frequency shift at the test temperature. For example, a reading of 512.010124 Hz would indicate a +20 ppm oscilla- tor frequency error, requiring a –10 (WR001010) to be loaded into the Calibration Byte for correc- tion. Note that setting or changing the Calibration Byte does not affect the Frequency test output fre- quency. The IRQ/FT pin is an open drain output which re- quires a pull-up resistor to VCC for proper opera- tion. A 500-10k Ω resistor is recommended in order to control the rise time. The FT bit is cleared on power-up. |
|
|
Enlace URL |
| ¿ALLDATASHEET es útil para Ud.? [ DONATE ] |
Todo acerca de Alldatasheet | Publicidad | Contáctenos | Política de Privacidad | Enlace a la hoja de datos | Intercambio de Enlaces | Lista de Fabricantes 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 |