參數(shù)資料
型號: DS12885TN
廠商: Maxim Integrated Products
文件頁數(shù): 10/22頁
文件大?。?/td> 0K
描述: IC RTC W/RAM 128 BYTE 32-TQFP
產品培訓模塊: Lead (SnPb) Finish for COTS
產品變化通告: Product Discontinuation 20/Feb/2012
標準包裝: 250
類型: 時鐘/日歷
特點: 警報器,夏令時,閏年,NVSRAM,方波輸出
存儲容量: 114B
時間格式: HH:MM:SS(12/24 小時)
數(shù)據(jù)格式: YY-MM-DD-dd
接口: 并聯(lián)
電源電壓: 4.5 V ~ 5.5 V
電壓 - 電源,電池: 2.5 V ~ 4 V
工作溫度: -40°C ~ 85°C
安裝類型: 表面貼裝
封裝/外殼: 32-TQFP
供應商設備封裝: 32-TQFP(7x7)
包裝: 托盤
DS12885/DS12887/DS12887A/DS12C887/DS12C887A
Real-Time Clocks
18
____________________________________________________________________
Century Register
(DS12C887/DS12C887A Only)
The century register at location 32h is a BCD register
designed to automatically load the BCD value 20 as the
year register changes from 99 to 00. The MSB of this
register is not affected when the load of 20 occurs, and
remains at the value written by the user.
Nonvolatile RAM (NV RAM)
The general-purpose NV RAM bytes are not dedicated
to any special function within the device. They can be
used by the processor program as battery-backed
memory and are fully available during the update cycle.
Interrupts
The RTC family includes three separate, fully automatic
sources of interrupt for a processor. The alarm interrupt
can be programmed to occur at rates from once per
second to once per day. The periodic interrupt can be
selected for rates from 500ms to 122s. The update-
ended interrupt can be used to indicate to the program
that an update cycle is complete. Each of these inde-
pendent interrupt conditions is described in greater
detail in other sections of this text.
The processor program can select which interrupts, if
any, are to be used. Three bits in Register B enable the
interrupts. Writing a logic 1 to an interrupt-enable bit
permits that interrupt to be initiated when the event
occurs. A 0 in an interrupt-enable bit prohibits the IRQ
pin from being asserted from that interrupt condition. If
an interrupt flag is already set when an interrupt is
enabled, IRQ is immediately set at an active level,
although the interrupt initiating the event may have
occurred earlier. As a result, there are cases where the
program should clear such earlier initiated interrupts
before first enabling new interrupts.
When an interrupt event occurs, the relating flag bit is
set to logic 1 in Register C. These flag bits are set inde-
pendent of the state of the corresponding enable bit in
Register B. The flag bit can be used in a polling mode
without enabling the corresponding enable bits. The
interrupt flag bit is a status bit that software can interro-
gate as necessary. When a flag is set, an indication is
given to software that an interrupt event has occurred
since the flag bit was last read; however, care should
be taken when using the flag bits as they are cleared
each time Register C is read. Double latching is includ-
ed with Register C so that bits that are set remain sta-
ble throughout the read cycle. All bits that are set (high)
are cleared when read, and new interrupts that are
pending during the read cycle are held until after the
cycle is completed. One, two, or three bits can be set
when reading Register C. Each used flag bit should be
examined when Register C is read to ensure that no
interrupts are lost.
The second flag bit method is used with fully enabled
interrupts. When an interrupt flag bit is set and the cor-
responding interrupt-enable bit is also set, the IRQ pin is
asserted low. IRQ is asserted as long as at least one of
the three interrupt sources has its flag and enable bits
set. The IRQF bit in Register C is a 1 whenever the IRQ
pin is driven low. Determination that the RTC initiated an
interrupt is accomplished by reading Register C. A logic
1 in bit 7 (IRQF bit) indicates that one or more interrupts
have been initiated by the device. The act of reading
Register C clears all active flag bits and the IRQF bit.
Oscillator Control Bits
When the DS12887, DS12887A, DS12C887, and
DS12C887A are shipped from the factory, the internal
oscillator is turned off. This prevents the lithium energy
cell from being used until the device is installed in a
system.
A pattern of 010 in bits 4 to 6 of Register A turns the
oscillator on and enables the countdown chain. A pat-
tern of 11x (DV2 = 1, DV1 = 1, DV0 = X) turns the oscil-
lator on, but holds the countdown chain of the oscillator
in reset. All other combinations of bits 4 to 6 keep the
oscillator off.
Square-Wave Output Selection
Thirteen of the 15 divider taps are made available to a 1-
of-16 multiplexer, as shown in the functional diagram.
The square-wave and periodic-interrupt generators
share the output of the multiplexer. The RS0–RS3 bits in
Register A establish the output frequency of the multi-
plexer (see Table 1). Once the frequency is selected, the
output of the SQW pin can be turned on and off under
program control with the square-wave enable bit, SQWE.
Periodic Interrupt Selection
The periodic interrupt causes the IRQ pin to go to an
active state from once every 500ms to once every 122s.
This function is separate from the alarm interrupt, which
can be output from once per second to once per day.
The periodic interrupt rate is selected using the same
Register A bits that select the square-wave frequency
(Table 1). Changing the Register A bits affects the
square-wave frequency and the periodic-interrupt out-
put. However, each function has a separate enable bit in
Register B. The SQWE bit controls the square-wave out-
put. Similarly, the PIE bit in Register B enables the peri-
odic interrupt. The periodic interrupt can be used with
software counters to measure inputs, create output inter-
vals, or await the next needed software function.
相關PDF資料
PDF描述
VE-21K-MW CONVERTER MOD DC/DC 40V 100W
DS1244WP-120IND IC NVSRAM 256KBIT 120NS 34PCM
VI-BN1-IU-F3 CONVERTER MOD DC/DC 12V 200W
VI-B1K-MW-B1 CONVERTER MOD DC/DC 40V 100W
VI-BN1-IU-F2 CONVERTER MOD DC/DC 12V 200W
相關代理商/技術參數(shù)
參數(shù)描述
DS12885TN+ 功能描述:實時時鐘 RTC RoHS:否 制造商:Microchip Technology 功能:Clock, Calendar. Alarm RTC 總線接口:I2C 日期格式:DW:DM:M:Y 時間格式:HH:MM:SS RTC 存儲容量:64 B 電源電壓-最大:5.5 V 電源電壓-最小:1.8 V 最大工作溫度:+ 85 C 最小工作溫度: 安裝風格:Through Hole 封裝 / 箱體:PDIP-8 封裝:Tube
DS12887 功能描述:實時時鐘 RoHS:否 制造商:Microchip Technology 功能:Clock, Calendar. Alarm RTC 總線接口:I2C 日期格式:DW:DM:M:Y 時間格式:HH:MM:SS RTC 存儲容量:64 B 電源電壓-最大:5.5 V 電源電壓-最小:1.8 V 最大工作溫度:+ 85 C 最小工作溫度: 安裝風格:Through Hole 封裝 / 箱體:PDIP-8 封裝:Tube
DS12887+ 功能描述:實時時鐘 RTC RoHS:否 制造商:Microchip Technology 功能:Clock, Calendar. Alarm RTC 總線接口:I2C 日期格式:DW:DM:M:Y 時間格式:HH:MM:SS RTC 存儲容量:64 B 電源電壓-最大:5.5 V 電源電壓-最小:1.8 V 最大工作溫度:+ 85 C 最小工作溫度: 安裝風格:Through Hole 封裝 / 箱體:PDIP-8 封裝:Tube
DS12887A 功能描述:實時時鐘 RoHS:否 制造商:Microchip Technology 功能:Clock, Calendar. Alarm RTC 總線接口:I2C 日期格式:DW:DM:M:Y 時間格式:HH:MM:SS RTC 存儲容量:64 B 電源電壓-最大:5.5 V 電源電壓-最小:1.8 V 最大工作溫度:+ 85 C 最小工作溫度: 安裝風格:Through Hole 封裝 / 箱體:PDIP-8 封裝:Tube
DS12887A+ 功能描述:實時時鐘 RTC RoHS:否 制造商:Microchip Technology 功能:Clock, Calendar. Alarm RTC 總線接口:I2C 日期格式:DW:DM:M:Y 時間格式:HH:MM:SS RTC 存儲容量:64 B 電源電壓-最大:5.5 V 電源電壓-最小:1.8 V 最大工作溫度:+ 85 C 最小工作溫度: 安裝風格:Through Hole 封裝 / 箱體:PDIP-8 封裝:Tube