参数资料
型号: STK17TA8RF25I
元件分类: 时钟/数据恢复及定时提取
英文描述: REAL TIME CLOCK, PDSO48
封装: 0.300 INCH, 0.025 INCH PITCH, ROHS COMPLIANT, PLASTIC, SSOP-48
文件页数: 9/27页
文件大小: 712K
代理商: STK17TA8RF25I
STK17TA8
July 2006
Document Control #ML0025 rev 1.4
17
If a battery is used, a 3V lithium is recommended and
the STK17TA8 will only source current from the bat-
tery when the primary power is removed. The battery
will not, however, be recharged at any time by the
STK17TA8. The battery capacity should be chosen
for total anticipated cumulative down-time required
over the life of the system.
STOPPING AND STARTING THE OSCIL-
LATOR
The OSCEN bit in calibration register at 0x1FFF8
controls the starting and stopping of the oscillator.
This bit is nonvolatile and shipped to customers in the
"enabled" (set to 0) state. To preserve battery life
while system is in storage OSCEN should be set to a
1. This will turn off the oscillator circuit extending the
battery life. If the OSCEN bit goes from disabled to
enabled, it will take approximately 5 seconds (10
seconds max) for the oscillator to start.
The STK17TA8 has the ability to detect oscillator
failure.
This is recorded in the OSCF (Oscillator
Failed bit) of the flags register at address 0x1FFF0.
When the device is powered on (VCC goes above
Vswitch) the OSCEN bit is checked for "enabled" status.
If the OSCEN bit is enabled and the oscillator is not
active, the OSCF bit is set. The user should check for
this condition and then write a 0 to clear the flag. It
should be noted that in addition to setting the OSCF
flag bit, the time registers are reset to the “Base Time”
(see the section “Setting the Clock”), which is the
value last written to the timekeeping registers. The
Control/Calibration register and the OSCEN bit are not
affected by the oscillator failed condition.
If the voltage on the backup supply (either VRTCcap or
VRTCbat) falls below their respective minimum level the
oscillator may fail, leading to the oscillator failed
condition which can be detected when system power
is restored.
The value of OSCF should be reset to 0 when the
time registers are written for the first time. This will
initialize the state of this bit which may have become
set when the system was first powered on.
CALIBRATING THE CLOCK
The RTC is driven by a quartz controlled oscillator
with a nominal frequency of 32.768 KHz. Clock
accuracy will depend on the quality of the crystal,
usually specified to 35 ppm limits at 25
°C. This error
could equate to + 1.53 minutes per month. The
STK17TA8 employs a calibration circuit that can
improve the accuracy to +1/-2 ppm at 25
°C. The
calibration circuit adds or subtracts counts from the
oscillator divider circuit.
The number of times pulses are suppressed (sub-
tracted, negative calibration) or split (added, positive
calibration) depends upon the value loaded into the
five calibration bits found in calibration register at
0x1FFF8. Adding counts speeds the clock up;
subtracting counts slows the clock down. The
Calibration bits occupy the five lower order bits in the
control register 8. These bits can be set to represent
any value between 0 and 31 in binary form. Bit D5 is a
Sign bit, where a “1” indicates positive calibration and
a “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 of 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.
In order to determine how to set the calibration one
may set the CAL bit in the flags register at 0x1FFF0 to
1, which causes the INT pin to toggle at a nominal
512 Hz. Any deviation measured from the 512 Hz will
indicate the degree and direction of the required
correction. For example, a reading of 512.010124 Hz
would indicate a +20 ppm error, requiring a -10
(001010) to be loaded into the Calibration register.
Note that setting or changing the calibration register
does not affect the frequency test output frequency.
ALARM
The alarm function compares a user-programmable
alarm time/date (stored in registers 01xFFF1-5) with
the real time clock time-of-day/date values. When a
match occurs, the alarm flag (AF) is set and an
interrupt is generated if the alarm interrupt is
enabled. The alarm flag is automatically reset when it
is read.
Each of the alarm registers has a match bit as its
MSB. Setting the match bit to a 1 disables this alarm
register from the alarm comparison. When the match
bit is 0, the alarm register is compared with the
equivalent real time clock register. Using the match
bits, the alarm can occur as specifically as one
particular second on one day of the month
or as frequently as once per minute.
相关PDF资料
PDF描述
STLED316SMTR 4 X 17 SEGMENTS SEGMENT LED DRVR AND DSPL CTLR, PDSO24
STM32F101C8T6 32-BIT, FLASH, 36 MHz, RISC MICROCONTROLLER, PQFP48
STM32F101R6T6 32-BIT, FLASH, 36 MHz, RISC MICROCONTROLLER, PQFP64
STM32F101VBT6 32-BIT, FLASH, 36 MHz, RISC MICROCONTROLLER, PQFP100
STM32F101T6U6 32-BIT, FLASH, 36 MHz, RISC MICROCONTROLLER, QCC36
相关代理商/技术参数
参数描述
STK17TA8-RF25I 功能描述:NVRAM 128Kbx8+RTC 2.7-3.6V RoHS:否 制造商:Maxim Integrated 数据总线宽度:8 bit 存储容量:1024 Kbit 组织:128 K x 8 接口类型:Parallel 访问时间:70 ns 电源电压-最大:5.5 V 电源电压-最小:4.5 V 工作电流:85 mA 最大工作温度:+ 70 C 最小工作温度:0 C 封装 / 箱体:EDIP 封装:Tube
STK17TA8-RF25IL 制造商:Cypress Semiconductor 功能描述:
STK17TA8-RF25ITR 功能描述:NVRAM 128Kbx8+RTC 2.7-3.6V RoHS:否 制造商:Maxim Integrated 数据总线宽度:8 bit 存储容量:1024 Kbit 组织:128 K x 8 接口类型:Parallel 访问时间:70 ns 电源电压-最大:5.5 V 电源电压-最小:4.5 V 工作电流:85 mA 最大工作温度:+ 70 C 最小工作温度:0 C 封装 / 箱体:EDIP 封装:Tube
STK17TA8-RF25TR 功能描述:NVRAM 128Kbx8+RTC 2.7-3.6V RoHS:否 制造商:Maxim Integrated 数据总线宽度:8 bit 存储容量:1024 Kbit 组织:128 K x 8 接口类型:Parallel 访问时间:70 ns 电源电压-最大:5.5 V 电源电压-最小:4.5 V 工作电流:85 mA 最大工作温度:+ 70 C 最小工作温度:0 C 封装 / 箱体:EDIP 封装:Tube
STK17TA8-RF35 制造商:SIM 功能描述: