1 of 13 052400
FEATURES
Records the total time that the Event Input has
been active and the number of events that
have occurred
Elapsed Time Counter to monitor event
durations with quarter second resolution
Built in 32 bit non-volatile Total Time
Accumulator Register (34 years)
Non-volatile 17-bit Event Counter records the
total number of times an event has occurred
Programmable 32 bit non-volatile alarm trip
point to trigger Alarm# output
Alarm# output to alert the user that the total
accumulated time limit has been reached
Calibrated, Temperature Compensated RC
time base (accurate to 1% typ)
Stores the contents of the Elapsed Time
Counter with the previous total and
increments the event counter at the end of
each event or power down
Reset Enable bit to allow the device to be
cleared to zero, if desired
10 bytes of write protectable EEPROM user
memory
Write Disable bit to prevent the memory from
being changed or erased
Anti-Glitch filter will prevent noise spikes
from triggering false events on the Event
Input
2-wire serial communication
Wide power supply range (2.5V – 5.5V)
PIN ASSIGNMENT
PIN DESCRIPTION
EVENT - Event Input
ALARM - Alarm Output
GND - Ground
SDA - 2-wire Data Input/Output
SCL - 2-wire Clock Input
VCC - Voltage Supply
N/C - No Connect
ORDERING INFORMATION
DS1682 8-Pin µSOP
DS1682S 8-Pin SOIC (150 mil)
DS1682X 6-Pin Flip Chip Package
**For more information of Flip Chip Packaging,
go to www.dalsemi.com to the Released Data
Sheets section and select Chip Scale and Flip
Chip Package Data Index.
DESCRIPTION
The DS1682 is an integrated elapsed time recorder that will provide the total amount of time that an event
is/has been active since the DS1682 was last reset to zero via the 2-wire bus. When the total time
accumulated is equ al to the preset alarm trip point and the polarit y bit is set t o a zero, t he Alarm# out put
will become active to alert the user, or with the polarity bit set to a one, the Alarm# output will become
inactive when the values match. This is ideal for applications such as monitoring the total amount of time
that something is turned on or in operation, how long something has been used, or the total number of
uses since the last calibration or repair.
DS1682
Total Elapsed Time Recorder with Alarm
www.dalsemi.com
SDA
1
SCL
EVENT
4
3
2
GND
Vcc
6
5
ALARM
Bottom View
DS1682X 6-pin Flip Chip
SDA
1
SCL
EVENT
6
3
2
GND
Vcc
8
45
7
N
/C
N
/C
ALARM
Top View
DS1682S 8-Pin SOIC (150 mil)
PRELIMINARY
DS1682
2 of 13
The DS1682 uses a calibrated, temperature compensated RC time base to increment an elapsed time
counter while an event is active. When the event becomes active, the contents of the non-volatile Total
Time Accumulator register are downloaded to the Elapsed Time Counter (ETC) and as the event
continues, the ETC is incremented in quarter second incr ements. W hen the event b ecomes ina ctive or the
power is removed, the DS1682 will increment the 17-bit non-volatile Event Counter register and put the
contents of the ETC into the 32-bit non-volatile Total Accumulated Time register which can hold up to
34 years of active event time. A storage cap may be required on VCC to provide enough power to store
the value in the ETC to the Total Time Accumulator register if power is taken away at the same time the
event ends.
When the 32-bit non-volatile Alarm Trip Point register is programmed to a non-zero number via the
2-wire bus and the AoR bit in the Configuration register set to a zero, the Alarm# output will be enabled
and the DS1682 will begin to monitor the values in the ETC for the programmed value in the Alarm Trip
Point register. Once the number in the ETC is equal to or greater than the value in the Alarm Trip Point
register, and the polarity bit is set to a zero, the Alarm# output will become active to alert the user, or
with the polarity bit set to a one, the Alarm# output will become inactive when the values match. The
DS1682 will activate the Alarm# output by pulling the pin low four times at power up, when the alarm
becomes active, or when the Alarm# pin is pulled low and released if the AOS bit is set to a 1. If the
AOS bit is a 0, the Alarm# output will be constantly low when the alarm is active.
In order to reset the device, the Reset Enable bit or the AoR bit in the Configuration register must be set
to a 1. With the Reset Enable bit set to a 1 or the AoR bit set to a 1 with the Alarm# pin held high, the
DS1682 can be reset by the Reset command sent over the 2-wire bus. If the Write Disable flag in the
Configuration register is set to a 1 by writing the Write Disable command two times, the Configuration
registers and Alarm Trip Point register will not be able to be written. If th e Write Disable flag is set to a
1, the Total Time Accumulator, Elapsed Time Counter, and Event Counter will be able to be reset, if the
Reset Enable or AoR bits have been set to a 1, but the status of the Reset Enable or AoR bits will not be
able to be changed since the Configuration register is locked by the WDF being set to a 1.
The Write Memory Disable is similar to the Write Disable and is used to control the writability of the
10 bytes of EEPROM User memory. The Write Memory Disable Flag is also set to a 1 when the Write
Memory Disable command is written twice and can not be changed once it is set to a 1. If the Write
Memory Disable bit is set to a 1, the 10 bytes of memory will not be able to be written or erased. If the
Write Memory Disable bit is a 0, the user will have full access to the bytes with the standard EEPROM
write time restrictions. If the Write Disable is a 0, the device is fully writable or erasable except for the
User Memory and the Write Memory Disable flag, which are only controlled by the Write Memory
Disable command. With both the Write Disable and Write Memory Disable set to 1’s, the only inputs
that will be accessible are the Reset command if it is enabled, the Event input and the Alarm#
input/output. The rest of the part will be read only.
When data is written to the device, the device slave address will be sent first followed by the address
pointer and the desired byte of data. Once a single byte of data is sent, there must be at least 200 mS to
allow the EEPROM to update the data.
OVERVIEW
The block diagram in Figure 1 shows the relationship between the major control and memory I/O sections
of the DS1682. The device has three major components: 1) clock generator and control blocks, 2)
elapsed time counter and accumulator registers, and 3) 2-wire interface.
DS1682
3 of 13
DS1682 BLOCK DIAGRAM Figure 1
SIGNAL DESCRIPTIONS
The following paragraphs describe the function of each pin.
VCC – VCC is a +3-5 volt input supply. A capacitor or other temporar y energy sour ce ma y be required to
hold the Voltage 150 mS after the event has completed if the s ystem power is removed at the same time
as the event ends in order to allow the contents of the ETC to be stored properly. With less than the
150 mS of power after the end of the ev ent, the data may be lost. The LSB is written first to be sure that
the most likely changed data is saved first.
GND - Ground
SCL (2-wire Serial Clock Input) – The SCL pin is the serial clock input for the 2-wire synchronous
communications channel. The SCL pin is an open drain input, which requires an external pull–up
resistor.
SDA (2-wire Input/Output) – The SDA pin is the data Input/Output signal for the 2-wire synchronous
communications channel. The SDA pin is an open drain I/O, which requires an external pull–up resistor.
EVENT (Event Interrupt Input) – The Event pin is an input that will be activat ed by an external device to
signify an event has occurred and should be logged. When the pin is pulled high, the Elapsed Time
Counter (ETC) will begin to keep track of the time with quarter second resolution and when the pin is
pulled low, the contents of the ETC will be stored to the non-volatile Total Time Accumulator register
and the Event Counter register will be incremented. A pull-down resistor has been internally connected
to the Event input to prevent power-up glitches from triggering a false event. The Event input has a
Glitch filter to prevent very short noise spikes from triggering an event. A capacitor or other temporary
energy source may be required to hold the Voltage 150 mS after the event has completed if the system
power is removed at the same time as the event ends in order to allow the contents of the ETC to be
stored properl y. With less than the 150 mS of power after th e end of the event, the d ata may be lost. The
LSB is written first to be sure that the most likely changed data is saved first. When the Event pin
changes states, the 2-wire bus will be unavailable for communications for 200 mS.
OSCILLATOR
A
ND
DIVIDER
CONTROL
LOGIC
ELAPSED TIME COUNTER
A
ND ACCUMULATOR
REGISTERS
SERIAL
INTERFACE
MEMORY
FUNCTION
CONTROL
EVENT
SDA
SCL
ALARM
DS1682
4 of 13
ALARM# (Alarm Output) - When there is a non-zero number programmed into the Alarm Trip Point
register and a zero in the AoR bit of the Configuration register, the Alarm# output will be enabled and the
DS1682 will begin to monitor the values in the ETC for the programmed value in the Alarm Trip Point
register. When the Polarity bit in the Configuration register is set to a zero the Alarm# output will
become active when the Alarm Tri p Point is ex ceeded. When the Polarit y bit is set to a one, the Al arm#
output will be inactive until the Alarm Trip Point is exceeded. With the AoR bit in the Configuration
register set to a one, the Reset Enable input will be mapped to the Alarm# pin.
N/C (No Connect) – This pin is not connected internally.
MEMOR Y MAP
Addr Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Function
00 AoR AF WDF WMDF AOS RE AP ERO Config. Register
01 Low Byte Alarm
02 Low-Middle Byte Trip
03 High-Middle Byte Point
04 High Byte
05 Low Byte Total
06 Low-Middle Byte Time
07 High-Middle Byte Accumulator
08 High Byte
09 Low Byte Event
0A High Byte Counter
0B Byte One
0C Byte Two
0D Byte Three User
0E Byte Four Memory
0F Byte Five
10 Byte Six
11 Byte Seven
12 Byte Eight
13 Byte Nine
14 Byte Ten
15
16
17
18 Not Used (reads 00h) Not Used
19
1A
1B
1C
1D Reset Command Reset Command
1E Write Disable Write Disable
1F Write Memory Disable Memory Disable
DS1682
5 of 13
DATA LOGGING
When the DS1682 is powered-up, the contents of the Total Time Accumulate register (TTA) are
downloaded to the ETC and the device begins looking for events that trigger the Event input. When an
event triggers the input by transitioning to a high level input, the ETC begins incrementing in quarter
second resolution. When the Event input falls below 0.5*VCC to indicate the end of an Event, a power
failure, or power-down, the contents of the ETC are stored to the non-volatile Total Time Accumulator
register, the Event Counter register is incremented a nd the ETC is prepared for the next event. The re is a
built in pull-down on the Event input to prevent power-up glitches from tri ggering a false event. As the
ETC is being incremented, there is a non-zero value in the ATP register and the AoR bit in the
Configuration register is set to a 0, the DS1682 will compare the value in the ETC to the value in the
Alarm Trip Point register to see when the value in the ETC is equal to or greater than the value in the
Alarm Trip P oin t re gister. W hen th e value i n t he ETC exceeds the valu e in t he Alarm Trip P oi nt re gister,
the Alarm# output is enabled/disabled depending on the value of the Polarity bit.
The ETC will not roll over to 0000h once FFFFh is reached. The DS1682 will stop counting time once
FFFFh is reached. This should take approximately 34 years with the event pin pulled high. When the
Event pin is transitioned, the 2-wire bus is not available for communications for 200 mS.
CLOCK
The clock circuitry consists of a calibrated, temperature compensated RC time base and a 32-bit Elapsed
Time Counter (ETC) which increments on the quarter second. The total time of all events is stored in the
non-volatile Total Time Accumulator register. As the ETC is being incremented and there is a non-zero
value in the ATP register and the AoR bit in the Configuration register is set to a 0, the DS1682 will
compare the value in the ETC to the value in the Alarm Trip Point register to see when the value in the
ETC is equal to or greater than the value in the Alarm Trip Point register. When the value in the ETC
exceeds the value in the Alarm Trip Point register, the Alarm# output is enabled/disabled depending on
the value of the Polarity bit.
TOTAL TIME ACCUMUL ATOR REGISTER
The Total Time Accumulator register is an EEPROM based 32 bit register that holds the total “ON” time
of all events up to a total of about 34 years worth of event time. This value is not erasable when the Reset
Enable and AoR bits in the Configuration register are set to a zero and does not require a power source to
insure the data’s integrity. This register can only be cleared when the Reset Enable bit in the
Configuration register is set to a one or the AoR bit is set to a 1 with the Alarm# pin held high, and the
Reset command is sent via the 2-wire bus. A capacitor or other temporar y energ y source ma y be required
to hold the Voltage 150 mS after the event has completed if the system power is removed at the same
time as the event ends in order to allow the contents of the ETC to be stored properl y. With less than the
150 mS of power after the end of the ev ent, the data may be lost. The LSB is written first to be sure that
the most likely changed data is saved first.
ALARM TRIP POINT REGISTER
The Alarm Trip Point register (ATP) is a 32-bit register that holds the time value in quarter seconds that
is set by the user via the 2-wire bus to enable/disable the Alarm# output when the value is equal to or
greater than the value in the ETC.
EVENT COUNTER REGISTER
This 17-bit register set provides the total number of data samples that have been logged during the life of
the product up to 131,072 separate events. The Event Counter consists of 2-bytes of memory in the
memory map and the MSb being the Event Roll Over flag in the Configuration Register. The Event Roll
DS1682
6 of 13
Over bit is set to a 1 the first time that the 2 byte Event Counter reaches FFh an d rolls over to 00h. Once
the Event Roll Over bit is set to a 1 and the Event Counter reaches FFh, event countin g will stop and the
event counter will not roll over to 00h again. This value is not erasable when the Reset Enable and the
AoR bits in the Configuration register are set to a zero and does not require a power source to maintain
the contents to insure the data’s integrity. This register can only be cleared when the Reset Enable bit is
set to a one or the AoR bit is set to a 1 and the Alarm# pin is held high, and the Reset command is sent
via the 2-wire bus.
RESET COMMAND
The DS1682 can onl y be reset when the Reset Enable bit is set to a one or the AoR bit is set to a one with
the Alarm# pin held high, and the Reset command is sent via the 2-wire bus b y writing 55h into memory
location 1Dh. With the Reset Enable bit set to a 0, the AoR bit set to a 0 or the AoR bit set to a 1 and the
Alarm# pin held low, the Reset command is ignored by the DS1682. With the Write Disable flag set to a
1, the contents of the Alarm Trip Poi nt and the Confi guration re gister th at are prot ected/lock ed b y this bit
can not be written to or erased, even if the Reset Enable bit is set to a 1. The Reset command when the
Reset Enable bit is set to a one or the AoR bit set to a 1 and Alarm# held high, will erase the contents of
the Elapsed Time Counter, Total Time Accumulator, and Event Counter. The Reset Command will
always read 0 if the memory location is read by the user.
CONFIGURATION REGISTER
MSb LSb
AoR AF WDF WMDF AOS RE AP ERO
AoR – Alarm or Reset Enable - The Alarm or Reset Enable bit maps either the Alarm output or the Reset
Enable Input to the Alarm# pin. With the AoR bit set to a zero, the Alarm output will be mapped to the
Alarm# pin. When the AoR bit is set to a one, the Reset Enable input will be mapped to the Alarm# pin.
The standard factory setting for the AoR bit is 0. The Reset Enable input is OR’ed with the RE bit and
will perform the same function only from outside the device.
The Reset Enable input, if pulled high, will allow the D1682 to accept the Reset command via the 2-wire
bus to clear the Total Time Accumulator and Event Counter. If the Reset Enable input is pulled low, the
DS1682 will not respond to the 2-wire command to reset the Total Time Accumulator register or the
Event Counter to zero. This input allows the designer to permanently enable the reset function, enable
the function during the manufacturing process and then disable it, or turn it on and off when the
authorized repair person has completed repairing or calibrating the equipment. There is no security
provided to this pin to prevent someone from enabling the reset function at any time by pulling the pin
high. The security will have to be provided by the system and/or enclosure, if required. If a switch or
button is used to Configuration the Reset Enable input, a debounce capacitor should be used to prevent
spikes on the input.
AF – Alarm Flag - The Alarm Flag is set to a 1 when the Alarm# output is activated. If the Alarm# pin
is not activated or enabled, the Alarm Flag will be set to a 0. This bit can be cleared by the reset
command, but will be set again at the end of the next event in which the ETC and ATP values cause the
Alarm# pin to be enabled or activated. This bit can not be written by the user.
WDF – Write Disable Flag – When the Write Disable Command is written to AAh twice at memory
location 1Eh, the WDF will be set to a 1 and can not be cleared or reset. When the WDF is set to a 1, the
Alarm Trip Point and Configuration register are read-only. The Total Time Accumulator, Elapsed Time
Counter, and Event Counter will also be read onl y if the Reset Enable and AoR bits are set to a 0. W hen
DS1682
7 of 13
the WDF is set to a 0, the Alarm Trip Point, Configuration register, Total Time Accumulator, Elapsed
Time Counter, and Event Counter can be written to(if user writable), erased or read.
WMDF – Write Memory Disable Flag – When the Write Memory Disable command is written to F0h
twice at memory location 1Fh, the WMDF will be set to a 1 and will not be able to be reset or cleared.
Once the WMDF is set to a 1, the 10 byte User Memory will become read-onl y. When the WMDF is a 0,
the User Memory will function like normal EEPROM.
AOS – Alarm Output Select – The AOS bit selects the output t ype for the Alarm# pin. With the AOS bit
set to a 0, the output will be a constant low when Alarm# is active to burn a fuse, interrupt a pro cessor or
send a logic signal to other digital circuitry. With the AOS bit a 1, the output of the Alarm# pin will be
pulled low four times to flash an LED or communicate with an other device at power up, when the
Alarm# pin is pulled low and release or when the alarm becomes active.
RE – Reset Enable – The Reset Enable bit will allow the device to be reset by enabling the Reset
command. The sections of the 1682 that will be reset is then dependent on the value in the Write Disable
Flag. With the WDF set to 0 and the Reset Enable bit set to a 1, the Reset command will clear the
Elapsed Time Counter, Total Time Accumulate, and Event Counter. When the Reset Enable bit is set to a
0, the Reset command will be disabled.
AP – Alarm Polarity – The Alarm Polarity bit is intended to allow the Alarm to become active or enabled
when the Total Time Accumulate register is equal to or greater than the Alarm Trip Point register value
(AP=1), or convers ely, to allow the Alarm to become active or enabled when th e Total Time Ac cumulate
register is less than the Alarm Trip Point register value (AP=0). This feature allows the user to have the
Alarm output after the values match (AP=1) or up until the values match (AP=0).
EROEvent Counter Roll Over – The ERO bit acts like the 17th bit of the Event Counter. When the
Event Counter reaches FFh the first time, the next event will cause the ERO to transition from a 0 to a 1
and the Event Counter will roll over to 00h. Once the ERO is set to a 1, the Event Counter will not roll
over again. The Event Counter will stop counting events when the ERO is set to 1 and the Event Counter
is set to FFh.
WRITE DISABLE/WRITE MEMORY DISABLE
The 1682 has two 8 bit registers designed to prevent parts of the device from being written to or erased.
These registers will always read 0 if read by the user, but the Write Disable Flag (WDF) and Write
Memory Disable Flag (WMDF) in the Configuration register will indicate the ability or inability to write
the memory locations.
Write Memory Disable – This register when written two times consecutively to F0h at memory location
1Fh will disable the ability to write to the 10 Bytes of User memory. It will not affect the Alarm Trip
Point register, Total Time Accumulate register, Configuration register, Event Counter, Write Disable
register, or the Reset command. Once the Write Memory Disable written is written to F0h, it will set the
Write Memory Disable Flag in the Configuration register to a 1 and it can not be reset to 0 to allow
writing to the User memory and the memory is permanently disabled from future writes. The memory
becomes Read-Only.
Write Disable – After being written two times consecutively to AAh at memory location 1Eh, will
disabled writes to the device by setting the Write Disable flag in the Configuration register to a 1,
permanentl y. The Reset command, if the Reset Enable bit in the Configuration register is set to a 1, and
the User memory, if the Write Memor y Disable flag is still set to 0, will be the onl y areas of the 1682 that
DS1682
8 of 13
will be able to be written. Once written twice to AAh, the Write Disable to set the Write Disable flag to a
1, it will not be able to be reset and the Configuration register, Total Time Accumulate register, Event
Counter, and Alarm Trip Point register will become Read-Onl y. The User memor y is not affected by the
Write Disable register.
GLITCH CONTROL CIRCUIT
The DS1682 has a built in glitch control circuit to prevent input noise on the EVENT pin from triggering
false events or corrupting the data.
USER MEMORY
There are 10 bytes of user programmable, EEPROM memory. Once the Write Memory Disable Flag is
set to a one, the memory can not be erased or written to again. This is good for locating serial numbers,
manufacture dates, warrantee information, or other important information. With the Write Memory
Disable Flag set to a 0, the user memory is readable, writable and erasable.
SERIAL INTERF ACE
The DS1682 provides two-wire serial communications.
2-WIRE SERIAL DATA BUS
The DS1682 supports a bi-directional two-wire bus and data transmission protocol. A device that sends
data onto the bus is defined as a transmitter, and a device receiving data as a receiver. The device that
controls the message is called a “master”. The devices that are controlled by the master are “slaves”. The
bus must be controlled by a master device which generates the serial clock (SCL), controls the bus access,
and generates the START and STOP conditions. The DS1682 operates as a slave on the two-wire bus.
Connections to the bus are made via the open-drain I/O lines SDA and SCL.
The following bus protocol has been defined (See Figure 2):
Data transfer may be initiated only when the bus is not busy.
During data transfer, the data line must remain stable whenever the clock line is HIGH. Changes in
the data line while the clock line is high will be interpreted as control signals.
Accordingly, the following bus conditions have been defined:
Bus not busy: Both data and clock lines remain HIGH.
Start data transfer: A change in the state of the data line, from HIGH to LOW, while the clock is HIGH,
defines a START condition.
Stop data transfer: A change in the state of the data line, from LOW to HIGH, while the clock line is
HIGH, defines the STOP condition.
Data valid: The state of the data line represents valid data when, after a START condition, the data line is
stable for the duration of the HIGH period of the clock signal. The data on the line must be changed
during the LOW period of the clock signal. There is one clock pulse per bit of data.
Each data transfer is initiated with a START condition and terminated with a STOP condition. The
number of data bytes transferred between START and STOP conditions is not limited, and is determined
by the master device. The information is transferred byte-wise and each receiver acknowledges with a
ninth bit. Within the bus specifications a regular mode (100 kHz clock rate) and a fast mode (400 kHz
clock rate) are defined. The DS1682 only supports the standard mode of operations.
DS1682
9 of 13
Acknowledge: Each receiving device, when addressed, is obliged to generate an acknowledge after the
reception of each byte. The master device must generate an extra clock pulse which is associated with
this acknowledge bit.
A device that acknowledges must pull down the SDA line during the acknowl edge clock pulse in such a
way that the SDA line is stable LOW during the HIGH period of the acknowledge related clock pulse. Of
course, setup and hold times must be taken into account. A master must signal an end of d ata to the slave
by not generating an acknowledge bit on the last byte that has be en clocked out of the slave. In this case,
the slave must leave the data line HIGH to enable the master to generate the STOP condition.
Depending upon the state of the R/W* bit, two types of data transfer are possible:
1. Data transfer from a master transmitter to a slave receiver. The first byte transmitted by the master is
the slave address. Next follows a number of data bytes. The slave returns an acknowledge bit after
each received byte.
2. Data transfer from a slave transmitter to a master receiver. The first byte (the slave address) is
transmitted by the master. The slave then returns an acknowledge bit. Nex t follows a number of data
bytes transmitted by the slave to the master. The master returns an acknowled ge bit after all received
bytes other than the last byte. At the end of the last received byte, a ‘not acknowledge’ is returned.
The master device generates all of the serial clock pulses and the START and STOP conditions. A
transfer is ended with a STOP condition or with a repeated START condition. Since a repeated START
condition is also the beginning of the next serial transfer, the bus will not be released.
The DS1682 may operate in the following two modes:
1. Slave receiver mode: Serial data and clock are received through SDA and SCL. After each byte is
received, an acknowledge bit is transmitted. START and STOP conditions are recognized as the
beginning and end of a serial transfer. Address recognition is performed b y hardware after reception
of the slave address and direction bit.
2. Slave transmitter mode: The first byte is received and handled as in the slave receiver mode.
However, in this mode, the direction bit will indicate that the transfer direction is reversed. Serial
data is transmitted on SDA by the DS1682 while the serial clock is input on SCL. START and STOP
conditions are recognized as the beginning and end of a serial transfer.
SLAVE ADDRESS
A control byte is the first byte received following the START condition from the master device. The
control byte consists of a four bit control code; for the DS1682, this is set as 1101 binary for read and
write operations. The next three bits of the control byte are the device select bits (A2, A1, A0). These
bits are set to 011 (A2=0, A1=1, A0=1) for the DS1682. They are used by the master device to select
which of eight devices are to be accessed. The set bits are in effect the three least significant bits of the
slave address. The last bit of the control b yte (R/W*) defines the oper ation to be performed. W hen set to
a one a read operation is selected, and when set to a zero a write operation is selected. Following the
START condition, the DS1682 monitors the SDA bus checking the device type identifier being
transmitted. Upon receiving the 1101 code and approp riate device select bits of 011, the DS1682 outputs
an acknowledge signal on the SDA line.
DS1682
10 of 13
ABSOLUTE MAXIMUM RA TINGS*
Voltage on Any Pin Relative to Ground -0.3V to +6V
Operating Temperature -40°C to +85°C
Storage Temperature -55°C to +125°C
Soldering Temperature See J-STD-020A specification
This is a stress rating only and functional operation of the device at these or any other conditions
above those indicated in the operation sections of this specification is not implied. Exposure to
absolute maximum rating conditions for extended periods of time may affect reliability.
The Dallas Semiconductor DS1682X is built to the highest quality standards and manufactured for
long term reliability. All Dallas Semiconductor devices are made using the same quality materials
and manufacturing methods. However, the DS1682X is not exposed to environmental stresses, such
as burn-in, that some industrial applications require. For specific reliability information on this
product, please contact the factory in Dallas at (972) 371-4448.
RECOMMENDED DC OPERATING CONDITIONS (-40°C to 85°C)
PARAMETER SYMBOL MIN TYP MAX UNITS NOTES
Power Supply Voltage VCC 2.5 5.5 V 1
Input Logic 1 VIH 2.2 VCC+0.3 V 1
Input Logic 0 VIL -0.3 +0.8 V 1
DC ELECTRICAL CHARACTERISTICS (-40°C to 85°C; VCC = 2.5 to 5.5V)
PARAMETER SYMBOL MIN TYP MAX UNITS NOTES
Input Leakage ILI -1 +1 µA
Logic 1 Output VOH 2.4 V
Logic 0 Output VOL 0.4 V
ALARM# Output Constant
Current @ 0.8V IOL 10 mA
SDA & SCL Pins Output
Current @ 0.8V IOL 4mA
Active Supply Current ICCA 100 300 µA
EEPROM Write Current IEE 30 100 µA
Event Trip Point VETP 0.5*VCC V
DS1682
11 of 13
AC ELECTRICAL CHARACTERISTICS (-40°C to 85°C; VCC = 2.5 to 5.5V)
PARAMETER SYMBOL MIN TYP MAX UNITS NOTES
EEPROM Lockout Time after
event tEEV 500 ms
Time from Event = (0.5*VCC)
until ETC Fully Stored (VCC >
2.7V)
tPF 50 100 ms
EEPROM Write Time tEW 150 200 ms
Alarm# Output Active Low
Pulse Width tSL 62.5 ms
Alarm# Output Active High
Pulse Width tSH 437.5 ms
Alarm# Input Pulled Low and
Released Pulse Width tSPL 500 ms
Minimum Signal Hold Time tSIG TBD ms
Minimum Event Hold tEVNT TBD ms
Input Capacitance Ci 5 pF
SCL clock frequenc y fscl 100 kHz
Bus free time between a
STOP and START condition tbuf 4.7 µs
Hold time (repeated) START
condition. thd:sta 4.0 µs2
LOW period of SCL tlow 4.7 µs
HIGH period of SCL thigh 4.0 µs
Set-up time for a repeated
START tsu:sta 4.7 µs
Data hold time thd:dat 0 µs
Data set-up time tsu:dat 250 ns
Rise time of both SDA and
SCL signals tr 1000 ns
Fall time of both SDA and
SCL signals tf 1000 ns
Set-up time for STOP tsu:sto 4.0 µs
Capacitive load for each bus
line Cb 400 pF 3
DS1682
12 of 13
TIMING DI AGRAM: DATA TRANSFER ON 2-WIRE SERIAL BUS Figure 2
NOTES:
1. All voltages are referenced to ground,
2. After this period, the first clock pulse is generated.
3. Cb - total capacitance of one bus line in pF.
DS1682
13 of 13
* The VCC holding capacitor value of 40 uF is calculated for the worst case conditions of 100 uA
EEPROM write current, 200 ms of EEPROM write time, and VCC and temperature extremes. In many
applications, this value will be able to be reduced.
The DS1682 mea s uring total run time and operating off o f a battery w ith the
alarm tied to an LED and a
p
ush button switch to tri
gg
er the alarm out
p
ut.
DS1682
SDA SCL
Trigger Switc h
EVENT
Battery
+ -
GND
VCC
ALARM
Pushbutton
Switch
LED
DS168
2
D S 1682 in a Total Time of Use application w ith A C Power that
m ay be rem oved at the sam e tim e as the end of the event.
SDA SCL
VCC
EVENT
GND
40uF m ax.*
ALARM
LED