DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

DS17887-5IND 查看數據表(PDF) - Maxim Integrated

零件编号
产品描述 (功能)
生产厂家
DS17887-5IND
MAXIM
Maxim Integrated MAXIM
DS17887-5IND Datasheet PDF : 31 Pages
First Prev 11 12 13 14 15 16 17 18 19 20 Next Last
DS17285/DS17287/
DS17485/DS17487/
DS17885/DS17887
Nonvolatile RAM
The user RAM bytes are not dedicated to any special
function within the DS17x85. They can be used by the
processor program as battery-backed memory and are
fully available during the update cycle.
The user RAM is divided into two separate memory
banks. When the bank 0 is selected, the 14 real-time
clock registers and 114 bytes of user RAM are acces-
sible. When bank 1 is selected, an additional 2kbytes,
4kbytes, or 8kbytes of user RAM are accessible through
the extended RAM address and data registers.
Interrupts
The RTC includes six separate, fully automatic sources of
interrupt for a processor:
1) Alarm Interrupt
2) Periodic Interrupt
3) Update-Ended Interrupt
4) Wake-Up Interrupt
5) Kickstart Interrupt
6) RAM Clear Interrupt
The conditions that generate each of these independent
interrupt conditions are described in detail in other sec-
tions of this data sheet. This section describes the overall
control of the interrupts.
The application software can select which interrupts, if
any, are to be used. There are 6 bits, including 3 bits
in Register B and 3 bits in Extended Register 4B, that
enable the interrupts. The extended register locations
are described later. Writing logic 1 to an interruptenable
bit permits that interrupt to be initiated when the event
occurs. A logic 0 in the interrupt-enable bit prohibits the
IRQ pin from being asserted from that interrupt condi-
tion. If an interrupt flag is already set when an interrupt
is enabled, IRQ is immediately set at an active level,
although the event initiating the interrupt condition might
have occurred much earlier. Therefore, there are cases
where the software should clear these earlier generated
interrupts before first enabling new interrupts.
When an interrupt event occurs, the relating flag bit is
set to logic 1 in Register C or in Extended Register 4A.
These flag bits are set regardless of the setting of the
corresponding enable bit located either in Register B or in
Extended Register 4B. The flag bits can be used in a poll-
ing mode without enabling the corresponding enable bits.
However, care should be taken when using the flag bits of
Register C as they are automatically cleared to 0 immedi-
Real-Time Clocks
ately after they are read. Double latching is implemented
on these bits so that set bits remain stable throughout the
read cycle. All bits that were set 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 read to ensure that no
interrupts are lost.
The flag bits in Extended Register 4A are not automati-
cally cleared following a read. Instead, each flag bit can
be cleared to 0 only by writing 0 to that bit.
When using the flag bits with fully enabled interrupts,
the IRQ line is driven low when an interrupt flag bit is set
and its corresponding enable bit is also set. IRQ is held
low as long as at least one of the six possible interrupt
sources has its flag and enable bits both set. The IRQF
bit in Register C is 1 whenever the IRQ pin is being driven
low as a result of one of the six possible active sources.
Therefore, determination that the DS17x85/DS17x87 initi-
ated an interrupt is accomplished by reading Register C
and finding IRQF = 1. IRQF remains set until all enabled
interrupt flag bits are cleared to 0.
Oscillator Control Bits
A pattern of 01X in bits 4 to 6 of Register A turns the oscil-
lator on and enables the countdown chain. A pattern of
11X (DV2 = 1, DV1 = 1, DV0 = X) turns the oscillator on,
but holds the countdown chain of the oscillator in reset.
All other combinations of bits 4 to 6 keep the oscillator off.
When the DS17x87 is shipped from the factory, the
internal oscillator is turned off. This feature prevents the
lithium energy cell from being used until it is installed in
a system.
Square-Wave Output Selection
Thirteen of the 15 divider taps are made available to a
1-of-16 multiplexer, as shown in Figure 1. 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 multiplexer. These frequen-
cies are listed in Table 4. 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).
If E32K = 0, the square-wave output is determined by the
RS3 to RS0 bits. If E32K = 1, a 32kHz square wave is
output on the SQW pin, regardless of the RS3 to RS0 bits’
state. If E32K = ABE = 1 and a valid voltage is applied to
VBAUX, a 32kHz square wave is output on SQW when
VCC is below VTP.
www.maximintegrated.com
Maxim Integrated 18

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]