DS1390-DS1393 MAXIM [Maxim Integrated Products], DS1390-DS1393 Datasheet - Page 16

no-image

DS1390-DS1393

Manufacturer Part Number
DS1390-DS1393
Description
Low-Voltage SPI/3-Wire RTCs with Trickle Charger
Manufacturer
MAXIM [Maxim Integrated Products]
Datasheet
Bit 7: Enable Oscillator
this bit starts the oscillator. When this bit is set to logic
1, the oscillator is stopped whenever the device is pow-
ered by V
when V
V
Bit 5: Battery-Backed Square-Wave and Interrupt
Enable (BBSQI). This bit when set to logic 1 enables
the square wave or interrupt output when V
and the DS1390/DS1392/DS1393 are being powered
by the V
SQW/INT pin (or SQW and INT pins) goes high imped-
ance when V
This bit is disabled (logic 0) when power is first applied.
Bits 4 and 3: Rate Select (RS2 and RS1). These bits
control the frequency of the square-wave output when
the square wave has been enabled. The table below
shows the square-wave frequencies that can be select-
ed with the RS bits. These bits are both set to logic 1
(32kHz) when power is first applied.
Low-Voltage SPI/3-Wire RTCs with
Trickle Charger
The DS1390–DS1393 have three additional registers
(control, status, and trickle charger) that control the
RTC, alarms, square-wave output, and trickle charger.
Control bits used in the DS1390 become general-pur-
pose, battery-backed, nonvolatile SRAM bits in the
DS1391.
16
CC
RS2
0
0
1
1
EOSC
BIT 7
EOSC
is first applied.
BIT 7
____________________________________________________________________
CC
RS1
0
1
0
1
BACKUP
BACKUP
is valid. This bit is enabled (logic 0) when
Special-Purpose Registers
CC
SQUARE-WAVE OUTPUT FREQUENCY
falls below the power-fail trip point.
BIT 6
. The oscillator is always enabled
pin. When BBSQI is logic 0, the
BIT 6
0
0
(EOSC). When set to logic 0,
32.768kHz
4.096kHz
8.192kHz
1Hz
BIT 5
BBSQI
BIT 5
X
CC
is absent
BIT 4
BIT 4
RS2
X
Bit 2: Interrupt Control (INTCN). This bit controls the
SQW/INT signal. When the INTCN bit is set to logic 0, a
square wave is output on the SQW/INT pin. The oscilla-
tor must also be enabled for the square wave to be out-
put. When the INTCN bit is set to logic 1, a match
between the timekeeping registers and either of the
alarm registers then activates the SQW/INT (provided
the alarm is also enabled). The corresponding alarm
flag is always set, regardless of the state of the INTCN
bit. The INTCN bit is set to logic 0 when power is first
applied.
Bit 0: Alarm Interrupt Enable (AIE). When set to logic
1, this bit permits the alarm flag (AF) bit in the status
register to assert SQW/INT (when INTCN = 1). When
the AIE bit is set to logic 0 or INTCN is set to logic 0,
the AF bit does not initiate the SQW/INT signal. The AIE
bit is disabled (logic 0) when power is first applied.
BIT 3
BIT 3
RS1
Control Register (0D/8Dh) (DS1390/DS1393 Only)
X
Control Register (0D/8Dh) (DS1391 Only)
BIT 2
INTCN
BIT 2
X
BIT 1
BIT 1
0
0
BIT 0
BIT 0
AIE
X

Related parts for DS1390-DS1393