DS1284/DS1286
7 of 18
WATCHDOG ALARM REGISTERS
Registers C and D contain the time for the watchdog alarm. The two registers contain a time count from
to 99.99 seconds in BCD. The value written into the watchdog alarm registers can be written or read in
any order. Any access to Registers C or D causes the watchdog alarm to reinitialize and clears the
watchdog flag bit and the watchdog interrupt output. When a new value is entered or the watchdog
registers are read, the watchdog timer starts counting down from the entered value to 0. When 0 is
reached, the watchdog interrupt output goes to the active state. The watchdog timer countdown is
interrupted and reinitialized back to the entered value every time either of the registers is accessed. In this
manner, controlled periodic accesses to the watchdog timer can prevent the watchdog alarm from ever
going to an active level. If access does not occur, the countdown alarm is repetitive. The watchdog alarm
registers always read the entered value. The actual countdown register is internal and is not readable.
Writing Registers C and D to 0 disables the watchdog alarm feature.
COMMAND REGISTER (0Bh)
Bit #:
BIT 7 BIT 6 BIT 5 BIT 4 BIT 3 BIT 2 BIT 1 BIT 0
Name:
TE IPSW IBH PU/LVL WAM TDM WAF TDF
Note: The initial state of these bits is not defined.
Bit 7: Transfer Enable (TE). This bit when set to logic 1 allows the internal time and date counters to
update the user accessible registers. When set to logic 0, the external, user-accessible time and date
registers remain static when being read or written, while the internal counters continue to run. The
function of this bit is further described in the time-of-day registers section
Bit 6: Interrupt Pin Swap (IPSW). This bit directs which type of interrupt is present on interrupt pins
INTA or INTB (INTB). When set to logic 1, INTA becomes the time-of-day alarm interrupt pin and
INTB (INTB) becomes the watchdog interrupt pin. When bit 6 is set to logic 0, the interrupt functions are
reversed such that the time-of-day alarm is output on INTB (INTB) and the watchdog interrupt is output
on INTA. Caution should be exercised when dynamically setting this bit as the interrupts are reversed
even if in an active state.
Bit 5: Interrupt B Active High/Low (IBH). When bit 5 is set to logic 1, the B interrupt output sources
current when active. When bit 5 is set to logic 0, the B interrupt output sinks current when active.
Bit 4: Pulse/Level Output (PU/LVL). When set to logic 1, the pulse mode is selected and INTA sinks
current for a minimum of 3ms and then releases. Output INTB (INTB) either sinks or sources current for
a minimum of 3ms depending on the level of bit 5. The watchdog timer continues to run and WAF is
cleared at the end of the pulse. When set to a logic 0, both INTA and INTB (INTB), when active, output
an active low (INTB (INTB) active high when IBH = 1) until the interrupt is cleared.
Bit 3: Watchdog Alarm Mask (WAM). When this bit is written to logic 1, the watchdog interrupt
output is deactivated regardless of the state of WAF. When WAM is set to logic 0 and the WAF bit is set
to a 1, the watchdog interrupt output goes to the active state, which is determined by bits 1, 4, 5, and 6 of
the command register.
Bit 2: Time-of-Day Alarm Mask (TDM). When this bit is written to logic 1, the time-of-day alarm-
interrupt output is deactivated regardless of the state of TDF. When TDM is set to logic 0, the time-of-day
DS1284/DS1286
8 of 18
interrupt output goes to the active state, which is determined by bits 0, 4, 5, and 6 of the command
register.
Bit 1: Watchdog Alarm Flag (WAF). When this bit is set internally to logic 1, a watchdog alarm has
occurred. This bit is read-only and writing this register has no effect on the bit. The bit is reset when any
of the watchdog alarm registers are accessed. The WAM bit has no effect on the operation of this bit. If
pulse mode (PU/LVL = 1) is selected, the watchdog continues to run and the flag is internally written to 0
at the end of the pulse. The WAM bit has no effect on the operation of this bit.
Bit 0: Time-of-Day Alarm Flag (TDF). When this bit is set internally to a logic 1, indicates that a match
with the time-of-day alarm registers has occurred. This bit is read-only and writing this register has no
effect on the bit. The time of the alarm can be determined by reading the time-of-day alarm registers. The
bit is reset when any of the time-of-day alarm registers are read. The TDM bit has no effect on the
operation of this bit.
Figure 3. Time-of-Day Alarm Mask Bits
REGISTER
(03h)
MINUTES
(05h)
HOURS
(07h)
DAYS
FUNCTION
1 1 1 Alarm once per minute
0 1 1 Alarm when minutes match
0 0 1 Alarm when hours and minutes match
0 0 0 Alarm when hours, minutes, and days match
DS1284/DS1286
9 of 18
ABSOLUTE MAXIMUM RATINGS
Voltage Range on Any Pin Relative to Ground……………………………………………..-0.3V to +7.0V
Operating Temperature Range
Commercial………………………………………………………………………………..0C to +70C
Industrial………………………………………………………………………………...-40°C to +85°C
Storage Temperature Range………………………………………………………………...-40°C to +85°C
Soldering Temperature………………..……………...See IPC/JEDEC J-STD-020 Specification (Note 13)
Stresses beyond those listed as “Absolute Maxim Ratings” may cause permanent damage to the device. These are stress ratings only, any
functional operation of the device at these or any other conditions beyond the those indicated in operations section of the specifications is no
implied. Exposure to absolute maximum ratings for extended periods may affect device reliability.
RECOMMENDED DC OPERATING CONDITIONS
(T
A
= -40°C to +85°C or 0°C to +70°C.)
PARAMETER SYMBOL MIN TYP MAX UNITS NOTES
Power-Supply Voltage V
CC
4.5 5.0 5.5 V 10
Input Logic 1 V
IH
2.2
V
CC
+
0.3
V 10
Input Logic 0 V
IL
-0.3 +0.8 V 10
V
BAT
Input Voltage V
BAT
2.4 3.0 3.5 V 10
DC ELECTRICAL CHARACTERISTICS
(V
CC
= 5V 10%, T
A
= -40C to +85C or 0°C to +70°C.)
PARAMETER SYMBOL MIN TYP MAX UNITS NOTES
Input Leakage Current I
IL
-1.0 +1.0
A
Output Leakage Current I
LO
-1.0 +1.0
A
I/O Leakage Current
CE V
IH
V
CC
I
LIO
-1.0 +1.0
A
Output Current at 2.4V I
OH
-1.0 mA
Output Current at 0.4V I
OL
2.0 mA
Standby Current CE = 2.2V I
CCS1
3.0 7.0 mA
Standby Current CE > V
CC
- 0.5 I
CCS2
4.0 mA
Active Current I
CC
15 mA
Write-Protection Voltage V
TP
1.088
x V
BAT
1.26 x
V
BAT
1.324
x V
BAT
V
DC ELECTRICAL CHARACTERISTICS
(V
CC
= 0V, V
BAT
= 2.4V to 3.5V, T
A
= 0°C to +70°C.)
PARAMETER SYMBOL MIN TYP MAX UNITS NOTES
Battery Current (EOSC = 0)
I
BAT
+0.5 +0.6
A

DS1286+

Mfr. #:
Manufacturer:
Maxim Integrated
Description:
Real Time Clock
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet