beautypg.com

Rainbow Electronics DS1616 User Manual

Page 16

background image

DS1616

16 of 28

SIP

- Sample in Progress - This bit indicates that the DS1616 is currently in the process of acquiring a

temperature and/or ADC sample. When the SIP bit is 0, a data conversion is not currently in process and
the next conversion will not begin for at least 250 ms. When the SIP bit is a 1, a data conversion is in
progress and NO registers or memory locations should be read or written. The SIP bit will be a 1 for a
maximum of 750 ms.

LOBAT -

Low Battery Flag - This bit reflects the status of the backup power source connected to the

V

BAT

pin. A logic 1 for this bit indicates an exhausted lithium energy source.

TLF

- Temperature Low Flag - A logic 1 in the Temperature Low Flag bit indicates that the temperature

is/has been less than or equal to the value in the Temperature Low Threshold register. If TLIE is also a
logic 1, the

INT

pin will go low. TLF is cleared by writing this bit to a logic 0. The Clear Memory

command has no effect on this bit.

THF

- Temperature High Flag - A logic 1 in the Temperature High Flag bit indicates that the temperature

is/has been greater than or equal to the value in the Temperature High Threshold register. If THIE is also
a logic 1, the

INT

pin will go low. THF is cleared by writing this bit to a logic 0. The Clear Memory

command has no effect on this bit.

ALMF

- Alarm Flag - A logic 1 in the Alarm Flag bit indicates that the current time has matched the time

of day Alarm registers. If the AIE bit is also a logic 1, the

INT

pin will go low. ALMF is cleared by

writing this bit to a logic 0. The Clear Memory command has no effect on this bit.

SAMPLE RATE REGISTER

MSb

LSb

SR7

SR6

SR5

SR4

SR3

SR2

SR1

SR0

The data sample rate for the DS1616 can range from once per minute to once per 255 minutes. The rate
is equal to the value written to the Sample Rate register multiplied by one minute.

This register can only be written to a new value when the MEM CLR bit in the Status 1 register is set
to 1. In other words, once a datalog mission has started, it cannot be changed without first issuing the
Clear Memory command.

The Sample Rate register is cleared by issuing the Clear Memory command.

START DELAY RESISTER

MSb

LSb

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

The Start Delay register determines the amount of delay before the DS1616 begins to take data
measurements. The amount of the delay is roughly equal to the value in the register multiplied by one
minute. If the register contains 00h, the first sample will begin when the seconds register rolls over from
59 to 00.