DS1342U+ Maxim Integrated Products, DS1342U+ Datasheet - Page 11

no-image

DS1342U+

Manufacturer Part Number
DS1342U+
Description
IC RTC I2C W/ALARM 8USOP
Manufacturer
Maxim Integrated Products
Type
Clock/Calendar/Alarmr
Datasheet

Specifications of DS1342U+

Time Format
HH:MM:SS (12/24 hr)
Date Format
YY-MM-DD-dd
Interface
I²C, 2-Wire Serial
Voltage - Supply
1.8 V ~ 5.5 V
Operating Temperature
-40°C ~ 85°C
Mounting Type
Surface Mount
Package / Case
8-MSOP, Micro8™, 8-uMAX, 8-uSOP,
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Memory Size
-
Table 4. SQW/INTB Output Settings
When the RTC register values match alarm register set-
tings, the corresponding alarm flag bit (A1F or A2F) is
set to 1 in the Control/Status register. If the correspond-
ing alarm interrupt enable bit (A1IE or A2IE) is also set
to 1 in the Control register, the alarm condition activates
the output(s) defined by the ECLK and INTCN bits (see
Table 5).
Bit 7: Enable Oscillator (EOSC). When the EOSC bit
is 0, the oscillator is enabled. When this bit is a 1, the
oscillator is disabled. This bit is cleared (0) when power
is first applied.
Bit 6: No Function
Bit 5: Enable Glitch Filter (EGFIL). When the EGFIL bit
is 1, the 5Fs glitch filter at the output of the crystal oscil-
lator is enabled. The glitch filter is disabled when this bit
is 0. Disabling the glitch filter is useful in reducing power
consumption. This bit is cleared (0) when power is first
applied.
Bits 4 and 3: Rate Select (RS[2:1]). These bits con-
trol the frequency of the square-wave output when the
square wave has been enabled. Table 4 shows the
square-wave frequencies that can be selected with the
RS bits. These bits are both set to 1 (32.768kHz) when
power is first applied.
The 32.768kHz oscillator is the source of all square-wave
output frequencies. Frequencies above 1Hz are not con-
ditioned by CLKIN. The 1Hz output is the 32.768kHz oscil-
lator frequency, divided down to 1Hz and conditioned by
CLKIN, provided that the CLKIN frequency differs by no
more than Q0.8% from the crystal frequency. Cycle-to-
cycle jitter of the 1Hz square wave can be up to 2ms.
RS2
EOSC
BIT 7
0
0
1
1
0
Low-Current I
RS1
0
1
0
1
BIT 6
0
0
Control Register (0Eh)
EGFIL
BIT 5
SQW/INTB
32.768kHz
4.098kHz
8.192kHz
0
1Hz
2
C RTCs for High-ESR Crystals
BIT 4
RS2
1
Bit 2: Interrupt Control (INTCN). This bit controls the
relationship between the two alarms and the interrupt
output pins. When the INTCN bit is 0, a square wave is
output on the SQW/INTB pin, and the state of the ECLK
bit determines the function of the CLKIN/INTA pin (see
Table 5). When the INTCN bit is 1 and the ECLK bit is a
0, a match between the timekeeping registers and the
alarm 1 registers activates the CLKIN/INTA pin (provided
that the alarm is enabled) and a match between the
timekeeping registers and the alarm 2 registers activates
the SQW/INTB pin (provided that the alarm is enabled).
When the INTCN bit is 1 and the ECLK bit is a 1, a match
between the timekeeping registers and the alarm 1
registers or a match between the timekeeping registers
and the alarm 2 registers activates the SQW/INTB pin
(provided that the alarm is enabled). This bit is cleared
(0) when power is first applied.
Bit 1: Alarm 2 Interrupt Enable (A2IE). When the A2IE
bit is 0, the alarm 2 interrupt function is disabled. When
the A2IE bit is 1, the alarm 2 interrupt function is enabled
and is routed to an output, based upon the steering
defined by the INTCN and ECLK bits, as noted in Table
5. Regardless of the state of A2IE, a match between
the timekeeping registers and the alarm 2 registers
(0Bh–0Dh) sets the alarm 2 flag bit (A2F). This bit is
cleared (0) when power is first applied.
Bit 0: Alarm 1 Interrupt Enable (A1IE). When the A1IE
bit is 0, the alarm 1 interrupt function is disabled. When
the A1IE bit is 1, the alarm 1 interrupt function is enabled
and is routed to an output, based upon the steering
defined by the INTCN and ECLK bits, as noted in Table
5. Regardless of the state of A1IE, a match between the
timekeeping registers and the alarm 1 registers (07h–
0Ah) sets the alarm 1 flag bit (A1F). This bit is cleared (0)
when power is first applied.
Table 5. Interrupt Output Routing
INTCN
BIT 3
RS1
1
0
0
1
1
ECLK
0
1
0
1
INTCN
BIT 2
Control Register Bitmap (0Eh)
0
CLKIN/INTA
CLKIN Input
CLKIN Input
A1F + A2F
A1F
BIT 1
A2IE
0
SQW/INTB
A1F + A2F
SQW
SQW
A2F
BIT 0
A1IE
0
11

Related parts for DS1342U+