Clock operation M48T201Y, M48T201V
22/37
3.8 Power-on reset
The M48T201Y/V continuously monitors V
CC
. When V
CC
falls to the power fail detect trip
point, the RST
pulls low (open drain) and remains low on power-up for t
REC
after V
CC
passes V
PFD
(max). The RST pin is an open drain output and an appropriate pull-up resistor
to V
CC
should be chosen to control rise time.
3.9 Reset inputs (RSTIN1 & RSTIN2)
The M48T201Y/V 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.
Figure 9 and Table 8 illustrate the AC reset characteristics of this function. Pulses shorter
than t
R1
and t
R2
will not generate a reset condition. RSTIN1 and RSTIN2 are each internally
pulled up to V
CC
through a 100 KΩ resistor.
Figure 9. RSTIN1
and RSTIN2 timing waveforms
Table 8. Reset AC characteristics
3.10 Calibrating the clock
The M48T201Y/V is driven by a quartz controlled oscillator with a nominal frequency of
32,768 Hz. The devices are factory calibrated at 25°C and tested for accuracy. Clock
accuracy will not 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.
Symbol Parameter
(1)
1. Valid for ambient operating temperature: T
A
= 0 to 70°C; V
CC
= 4.5 to 5.5 V or 3.0 to 3.6 V (except where
noted).
Min Max Unit
t
R1
RSTIN1 low to RST low 50 200 ns
t
R2
RSTIN2 low to RST low 20 100 ms
t
R1HRZ
(2)
2. C
L
= 5 pF (see Figure 13 on page 28).
RSTIN1 high to RST Hi-Z 40 200 ms
t
R2HRZ
(2)
RSTIN2 high to RST Hi-Z 40 200 ms
AI01679
RSTIN1
RST
RSTIN2
tR1 tR1HRZ
Hi-Z
tR2
tR2HRZ
Hi-Z
M48T201Y, M48T201V Clock operation
23/37
The oscillation rate of crystals changes with temperature (see Figure 10 on page 24). The
M48T201Y/V 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 on page 24.
The number of times pulses which are blanked (subtracted, negative calibration) or split
(added, positive calibration) depends upon the value loaded into the five calibration bits
found in the control register. Adding counts speeds the clock up, subtracting counts slows
the clock down.
The calibration bits occupy the five lower order bits (D4-D0) in the control register 7FFF8h.
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 calibration (see Figure 11 on
page 24). 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
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 M48T201Y/V may
require. The first involves setting the clock, letting it run for a month and comparing it to a
known accurate reference 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 the
STMicroelectronics application note AN934, “TIMEKEEPER
®
calibration.” This allows the
designer to give the end user the ability to calibrate the clock as the environment requires,
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 manufacturing environment, and involves the use
of the IRQ
/FT pin. The pin will toggle at 512 Hz, when the stop bit (ST, D7 of 7FFF9h) is '0,'
the frequency test bit (FT, D6 of 7FFFCh) is '1,' the alarm flag enable bit (AFE, D7 of
7FFF6h) is '0,' and the watchdog steering bit (WDS, D7 of 7FFF7h) is '1' or the watchdog
register (7FFF7h=0) is reset.
Note: A 4-second settling time must be allowed before reading the 512 Hz output.
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
oscillator frequency error, requiring a –10 (WR001010) to be loaded into the calibration byte
for correction. Note that setting or changing the calibration byte does not affect the
frequency test output frequency.
The IRQ
/FT pin is an open drain output which requires a pull-up resistor to V
CC
for proper
operation. A 500-10 kΩ resistor is recommended in order to control the rise time. The FT bit
is cleared on power-down.
Clock operation M48T201Y, M48T201V
24/37
Figure 10. Crystal accuracy across temperature
Figure 11. Calibration waveform
3.11 Battery low warning
The M48T201Y/V automatically performs battery voltage monitoring upon power-up and at
factory-programmed time intervals of approximately 24 hours. The battery low (BL) bit, bit
D4 of flags register 7FFF0h, will be asserted if the battery voltage is found to be less than
approximately 2.5 V. The BL bit will remain asserted until completion of battery replacement
and subsequent battery low monitoring tests, either during the next power-up sequence or
the next scheduled 24-hour interval.
If a battery low is generated during a power-up sequence, this indicates that the battery is
below approximately 2.5 V and may not be able to maintain data integrity in the SRAM. Data
should be considered suspect and verified as correct. A fresh battery should be installed.
AI00999
–160
0 10203040506070
Frequency (ppm)
Temperature °C
80–10–20–30–40
–100
–120
–140
–40
–60
–80
20
0
–20
ΔF
= -0.038 (T - T
0
)
2
± 10%
F
ppm
C
2
T
0
= 25 °C
AI00594B
NORMAL
POSITIVE
CALIBRATION
NEGATIVE
CALIBRATION

M48T201V-85MH1F

Mfr. #:
Manufacturer:
STMicroelectronics
Description:
Supervisory Circuits SRAM TK Controller
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union