Datasheet
ADT7411
Rev. B | Page 32 of 36
The part operates in a slave mode and requires an externally
applied serial clock to the SCLK input. The serial interface is
designed to allow the part to be interfaced to systems that
provide a serial clock that is synchronized to the serial data.
There are two types of serial operation: a read and a write.
C
ommand words are used to distinguish between a read and a
write operation. These command words are given in Table 60.
A
ddress auto-incrementing is possible in SPI mode.
Table 60. SPI Command Words
Write Read
90h (1001 0000) 91h (1001 0001)
Write Operation
Figure 37 shows the timing diagram for a write operation to the
ADT7411. Data is clocked into the registers on the rising edge
of SCLK. When the
CS
line is high, the DIN and DOUT lines
are in three-state mode. Only when the
CS
goes from a high to a
low does the part accept any data on the DIN line. In SPI mode,
the address pointer register is capable of auto-incrementing to
the next register in the register map without having to load the
address pointer register each time. In
Figure 37, the register
addr
ess portion of the diagram gives the first register that is
written to. Subsequent data bytes are written into sequential
writable registers. Therefore, after each data byte is written into
a register, the address pointer register auto-increments its value
to the next available register. The address pointer register auto-
increments from 00h to 3Fh and then loops back to start over
again at 00h.
Read Operation
Figure 38 to Figure 40 show the timing diagrams of correct read
operations. To read back from a register, first write to the
address pointer register with the address to be read from. This
operation is shown in Figure 38. Figure 39 shows the procedure
f
or reading back a single byte of data. The read command is first
sent to the part during the first eight clock cycles. As the read
command is being sent, irrelevant data is output onto the
DOUT line. During the following eight clock cycles the data
contained in the register selected by the address pointer register
is output onto the DOUT line. Data is output onto the DOUT
line on the falling edge of SCLK.
Figure 40 shows the procedure
w
hen reading data from two sequential registers.
Multiple data reads are possible in SPI interface mode as the
addr
ess pointer register is auto-incremental. The address
pointer register auto-increments from 00h to 3Fh and loops
back to start over again at 00h when it reaches 3Fh.
SMBus/SPI INT/
INT
The ADT7411 INT/
INT
output is an interrupt line for devices
that want to trade their ability to master for an extra pin. The
ADT7411 is a slave-only device and uses the SMBus/SPI
INT/
INT
to signal the host device that it wants to talk. The
SMBus/SPI INT/
INT
on the ADT7411 is used as an over/under
limit indicator.
The INT/
INT
pin has an open-drain configuration that allows the
outputs of several devices to be wired-AND together when the
INT/
INT
pin is active low. Use C6 of the Control Configuration 1
register to set the active polarity of the INT/
INT
output. The
power-up default is active low. The INT/
INT
output can be
disabled or enabled by setting C5 of the Control Configuration 1
register to 1 or 0, respectively.
The INT/
INT
output becomes active when either the internal
temperature value, the external temperature value, V
DD
value, or
any of the AIN input values exceed the values in their
corresponding T
HIGH
/V
HIGH
or T
LOW
/V
LOW
registers. The
INT/
INT
output goes inactive again when a conversion result is
the measured value back within the trip limits and when the
status register associated with the out-of-limit event is read. The
two interrupt status registers show which event caused the
INT/
INT
pin to go active.
The INT/
INT
output requires an external pull-up resistor. This
can be connected to a voltage different from V
DD
, provided the
maximum voltage rating of the INT/
INT
output pin is not
exceeded. The value of the pull-up resistor depends on the
application but should be large enough to avoid excessive sink
currents at the INT/
INT
output, which can heat the chip and
affect the temperature reading.
SMBus Alert Response
The INT/
INT
pin behaves the same way as an SMBus alert pin
when the SMBus/I
2
C interface is selected. It is an open-drain
output and requires a pull-up to V
DD
. Several INT/
INT
outputs
can be wire-AND together so that the common line goes low if
one or more of the INT/
INT
outputs goes low. The polarity of
the INT/
INT
pin must be set for active low for a number of
outputs to be wire-AND together.