DS1615
052698 9/20
The INSPEC and OUTSPEC pins are used to provide
visual feedback to the end user in the following situa-
tions:
1. Datalog Mission Start
When a datalog mission is first initiated, the INSPEC
and OUTSPEC pins will generate four low pulses simul-
taneously to give the end user a visual indication that a
datalog mission has begun.
2. Request for Status of Data
Following a user request for the status of recorded tem-
perature data, the INSPEC pin will generate four low
pulses if the recorded temperature data is within the
user defined limits (as set in the Low Temperature
Threshold and High Temperature Threshold registers).
If the recorded temperature data contains any readings
that fall outside of these thresholds, the OUTSPEC pin
will be pulsed four times. If the request comes after the
mission has started (i.e., MIP = 1), but before the first
temperature sample has been recorded, the INSPEC
and OUTSPEC pins will generate a total of four low
pulses alternately, starting with the OUTSPEC pin.
The DS1615 provides two methods for the user to
request the status of the data. The first method is to
send the Specification Test command over the serial
interface. The second method is by holding the ST pin
low for at least half a second after the datalogger has
already been started.
CLOCK, CALENDAR, AND ALARM
The time and calendar information is accessed by read-
ing/writing the appropriate register bytes. Note that
some bits are set to zero. These bits will always read
zero regardless of how they are written. The contents of
the time, calendar, and alarm registers are in the
Binary–Coded Decimal (BCD) format.
The DS1615 can run in either 12–hour or 24–hour
mode. Bit 6 of the hours register is defined as the 12– or
24–hour mode select bit. When high, the 12–hour mode
is selected. In the 12–hour mode, bit 5 is the AM/PM bit
with logic one being PM. In the 24–hour mode, bit 5 is
the second 10–hour bit (20–23 hours).
The DS1615 also contains a time of day alarm. The
alarm registers are located in registers 0007h to 000Ah.
Bit 7 of each of the alarm registers are mask bits (see
Table 2). When all of the mask bits are logic 0, an alarm
will occur once per week when the values stored in time-
keeping registers 0000h to 0003h match the values
stored in the time of day alarm registers. An alarm will
be generated every day when mask bit of the day alarm
register is set to 1. An alarm will be generated every
hour when the day and hour alarm mask bits are set to 1.
Similarly, an alarm will be generated every minute when
the day, hour, and minute alarm mask bits are set to 1.
When day, hour, minute, and seconds alarm mask bits
are set to 1, an alarm will occur every second.
As a security measure to prevent unauthorized tamper-
ing, changing any value in the RTC and Control regis-
ters (with the exception of the Status register) will stop a
datalog mission and clear the Mission–in–Progress
(MIP) bit.
TIME OF DAY ALARM BITS
Table 2
ALARM REGISTER MASK BITS (BIT 7)
SECONDS
MINUTES
HOURS
DAYS
1
1
1
1
Alarm once per second
0
1
1
1
Alarm when seconds match
0
0
1
1
Alarm when minutes and seconds match
0
0
0
1
Alarm when hours, minutes, and seconds match
0
0
0
0
Alarm when day, hours, minutes, and seconds match
SPECIAL PURPOSE REGISTERS
The following description defines the operation of the
special function registers of the DS1615.
CONTROL REGISTER
EOSC
CLR
0
SE
RO
ALIE
AHIE
AIE
MSb
LSb