DS2415 Dallas Semiconducotr, DS2415 Datasheet - Page 4

no-image

DS2415

Manufacturer Part Number
DS2415
Description
1-Wire Time Chip
Manufacturer
Dallas Semiconducotr
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
DS2415P
Manufacturer:
DALLAS
Quantity:
20 000
Part Number:
DS2415P
Quantity:
17
Company:
Part Number:
DS2415P+
Quantity:
3 754
Part Number:
DS2415P+T
Manufacturer:
MAXIM
Quantity:
5
Part Number:
DS2415P-001-711/T&R
Manufacturer:
MAXIM/美信
Quantity:
20 000
TIMEKEEPING
A 32.768 kHz crystal oscillator is used as the time base for the real time clock counter. The oscillator can
be turned on or off under software control. The oscillator must be on for the real time clock to function.
The real time clock counter is double-buffered. This allows the master to read time without the data
changing while it is being read. To accomplish this, a snapshot of the counter data is transferred to a
read/write buffer, which the user accesses.
DEVICE CONTROL BYTE
The on/off control of the 32.768 kHz crystal oscillator is done through the device control byte. This byte
can be read and written through the Clock Function commands.
Device Control Byte
Bit 0 - 1
Bits 0 and 1 are hard-wired to read all 0s.
Bit 2 - 3
These bits control/report whether the 32.768 kHz crystal oscillator is running. If the oscillator is running,
both OSC bits will read 1. If the oscillator is turned off these bits will read 0. When writing the device
control byte both occurrences of the OSC bit should have identical data. Otherwise the value in bit
address 3 (bold) takes precedence.
Bit 4 - 7
These bits have no particular function within the chip. They can be read and written under the control of
the application software and remain non-volatile as long as there is sufficient voltage at the V
the DS2415 is located inside a battery pack, for example, these bits could convey data on the charging
status from the charging station to the equipment that uses the battery.
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 4 bytes of real time clock and one control byte the DS2415 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.
U4
7
OSC
Un
0
U3
6
General-purpose user flags
No function
Oscillator Enable/Disable
U2
5
U1
4
4 of 14
OSC
3
OSC
2
1
0
DD
0
0
DS2415
pin. If

Related parts for DS2415