DS2417 Maxim, DS2417 Datasheet - Page 5

no-image

DS2417

Manufacturer Part Number
DS2417
Description
The DS2417 1-Wire Time Chip with Interrupt offers a simple solution for storing and retrieving vital time information with minimal hardware
Manufacturer
Maxim
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
DS2417
Manufacturer:
JAPAN
Quantity:
268
Part Number:
DS2417P+
Manufacturer:
Maxim
Quantity:
1 396
Part Number:
DS2417P+
Manufacturer:
VISHAY
Quantity:
83 851
Part Number:
DS2417P+
Manufacturer:
MAXIM/美信
Quantity:
20 000
Part Number:
DS2417P+T&R
Manufacturer:
MAXIM
Quantity:
4
Part Number:
DS2417P+T&R
Manufacturer:
MAXIM
Quantity:
10
Company:
Part Number:
DS2417P+T&R
Quantity:
500
These bits determine the time between interrupt pulses. The values available are shown below.
This bit controls whether the interrupt pulse will be generated at the selected interval. To enable
interrupts this bit needs to be 1.
REAL-TIME CLOCK
The real-time clock is a 32-bit binary counter. It is incremented once per second. The real-time clock
can accumulate 136 years of seconds before rolling over. Time/date is represented by the number of
seconds since a reference point, which is determined by the user. For example, 12:00 a.m., January 1,
1970 could be a reference point.
CLOCK FUNCTION COMMANDS
The “Clock Function Flow Chart” (Figure 5) describes the protocols necessary for accessing the real-time
clock. With only four bytes of real-time clock and one control byte the DS2417 does not provide random
access. Reading and writing always starts with the device control byte followed by the least significant
byte of the time data.
READ CLOCK [66h]
The read clock command is used to read the device control byte and the contents of the real-time clock
counter. After having received the most significant bit of the command code the device copies the actual
contents of the real-time clock counter to the read/write buffer. Now, the bus master reads data beginning
with the device control byte followed by the least significant byte through the most significant byte of the
real-time clock. After this the bus master may continue reading from the DS2417. The data received will
be the same as in the first pass through the command flow. The read clock command can be ended at any
point by issuing a Reset Pulse.
WRITE CLOCK [99h]
The write clock command is used to set the real-time clock counter and to write the device control byte.
After issuing the command, the bus master writes first the device control byte, which becomes immedi-
ately effective. After this the bus master sends the least significant byte through the most significant byte
to be written to the real-time clock counter. The new time data is copied from the read/write buffer to the
real-time clock counter and becomes effective as the bus master generates a reset pulse. If enabled, an
interrupt pulse will be generated either immediately or delayed, depending on the actual time and the se-
lected interval duration (see Figure 11). If the oscillator is intentionally stopped the real-time clock
counter behaves as a four-byte nonvolatile memory.
Bit 4 - 6
Bit 7
IS2
0
0
0
0
1
1
1
1
IE Interrupt Enable
IS1
0
0
1
1
0
0
1
1
IS
IS0
Interval Select
0
1
0
1
0
1
0
1
1s
4s
32s
64s
2048s
4096s
65536s = 18.20 hours
131072s = 36.41 hours
Interrupt Interval
= 0.53 min.
= 1.07 min.
= 34.13 min.
= 68.27 min.
5 of 15

Related parts for DS2417