AD7416/AD7417/AD7418
Rev. I | Page 13 of 24
Table 8. Register Addresses
P2 P1 P0 Registers
0 0 0 Temperature value
0 0 1 Configuration register
0 1 0 T
HYST
setpoint
0 1 1 T
OTI
setpoint
1 0 0 ADC value (AD7417/AD7418 only)
1 0 1 Config2 (AD7417/AD7418 only)
Temperature Value Register (Address 0x00)
The temperature value register is a 16-bit, read-only register
whose 10 MSBs store the temperature reading from the ADC in
10-bit twos complement format. Bit D5 to Bit D0 are unused.
Table 9. Temperature Value Register
D15 D14 D13 D12 D11 D10 D9 D8 D7 D6
MSB B8 B7 B6 B5 B4 B3 B2 B1 LSB
The temperature data format is shown in Table 10. This shows
the full theoretical range of the ADC from −128°C to +127°C,
but in practice, the temperature measurement range is limited
to the operating temperature range of the device.
Table 10. Temperature Data Format
Temperature Digital Output
−128°C 10 0000 0000
−125°C 10 0000 1100
−100°C 10 0111 0000
−75°C 10 1101 0100
−50°C 11 0011 1000
−25°C 11 1001 1100
−10°C 11 1101 1000
−0.25°C 11 1111 1111
0°C 00 0000 0000
+0.25°C 00 0000 0001
+10°C 00 0010 1000
+25°C 00 0110 0100
+50°C 00 1100 1000
+75°C 01 0010 1100
+100°C 01 1001 0000
+125°C 01 1111 0100
+127°C 01 1111 1100
Configuration Register (Address 0x01)
The configuration register is an 8-bit, read/write register that is
used to set the operating modes of the AD7416/AD7417/AD7418.
Bit D7 to Bit D5 control the channel selection as outlined in
Table 12. Bits[D7:D5] should always be set to 000 for the AD7416.
Bit D4 and Bit D3 are used to set the length of the fault queue.
D2 sets the sense of the OTI output. D1 selects the comparator
or interrupt mode of operation, and D0 = 1 selects the shutdown
mode (default: D0 = 0).
Table 11. Configuration Register
D7 D6 D5 D4 D3 D2 D1 D0
Channel
selection
Fault
queue
OTI
polarity
Cmp/Int Shutdown
The AD7416 contains a temperature-only channel; the AD7417
has four analog input channels and a temperature channel; and
the AD7418 has two channels, a temperature channel, and an
analog input channel. The temperature channel address for all
parts is the same, Channel 0. The address for the analog input
channel on the AD7418 is Channel 4. Table 12 outlines the
channel selection on the parts, and Tabl e 13 shows the fault
queue settings. D1 and D2 are explained in the OTI Output
section.
Table 12. Channel Selection
D7 D6 D5 Channel Selection
0 0 0 Temperature sensor (all parts), Channel 0
0 0 1 A
IN1
(AD7417 only), Channel 1
0 1 0 A
IN2
(AD7417 only), Channel 2
0 1 1 A
IN3
(AD7417 only), Channel 3
1 0 0 A
IN4
(AD7417) and A
IN
(AD7418), Channel 4
Table 13. Fault Queue Settings
D4 D3 Number of Faults
0 0 1 (power-up default)
0 1 2
1 0 4
1 1 6
T
HYST
Setpoint Register (Address 0x02)
The T
HYST
setpoint register is a 16-bit, read/write register whose
nine MSBs store the T
HYST
setpoint in twos complement format
equivalent to the nine MSBs of the temperature value register.
Bit D6 to Bit D0 are unused.
T
OTI
Setpoint Register (Address 0x03)
The T
OTI
setpoint register is a 16-bit, read/write register whose
nine MSBs store the T
OTI
setpoint in twos complement format
equivalent to the nine MSBs of the temperature value register.
Bit 6 to Bit 0 are unused.
Table 14. T
HYST
Setpoint and T
OTI
Setpoint Registers
D15 D14 D13 D12 D11 D10 D9 D8 D7
MSB B7 B6 B5 B4 B3 B2 B1 LSB
ADC Value Register (Address 0x04)
The ADC value register is a 16-bit, read-only register whose
10 MSBs store the value produced by the ADC in binary format.
Bit D5 to Bit D0 are unused. Table 15 shows the ADC value
register with 10 MSBs containing the ADC conversion request.
Table 15. ADC Value Register
D15 D14 D13 D12 D11 D10 D9 D8 D7 D6
MSB B8 B7 B6 B5 B4 B3 B2 B1 LSB
ADC Transfer Function
The designed code transitions occur at successive integer
LSB values (that is, 1 LSB, 2 LSB, and so on). The LSB size =
VREF/1024. The ideal transfer function characteristic for the
AD7417 and AD7418 ADC is shown in Figure 14.
AD7416/AD7417/AD7418
Rev. I | Page 14 of 24
ANALOG INPUT
ADC CODE
0V 1/2LSB
111...111
111...110
111...000
011...111
000...010
000...001
000...000
+VREF – 1LSB
1LSB – VREF/1024
01126-013
Figure 14. Ideal Transfer Function Characteristic for the AD7417/AD7418
Config2 Register (Address 0x05)
A second configuration register is included in the AD7417/
AD7418 for the functionality of the
CONVST
pin. It is an 8-bit
register with Bit D5 to Bit D0 being left at 0. Bit D7 determines
whether the AD7417/AD7418 should be operated in its default
mode (D7 = 0), performing conversions every 355 μs or in its
CONVST
pin mode (D7 = 1), where conversions start only
when the
CONVST
pin is used. Bit 6 contains the Test 1 bit.
When this bit is 0, the I
2
C filters are enabled (default). Setting
this bit to 1 disables the filters.
Table 16. Config2 Register
D7 D6 D5 D4 D3 D2 D1 D0
Conversion mode Test 1 0 0 0 0 0 0
SERIAL BUS INTERFACE
Control of the AD7416/AD7417/AD7418 is carried out via the
I
2
C compatible serial bus. The AD7416/AD7417/AD7418 are
connected to this bus as a slave device, under the control of a
master device, for example, the processor.
Serial Bus Address
As with all I
2
C compatible devices, the AD7416/AD7417/AD7418
have a 7-bit serial address. The four MSBs of this address for the
AD7416 are set to 1001; the AD7417 are set to 0101, and the
three LSBs can be set by the user by connecting the A2 to A0
pins to either V
DD
or GND. By giving them different addresses,
up to eight AD7416/AD7417 devices can be connected to a
single serial bus, or the addresses can be set to avoid conflicts
with other devices on the bus. The four MSBs of this address for
the AD7418 are set to 0101, and the three LSBs are all set to 0.
If a serial communication occurs during a conversion operation,
the conversion stops and restarts after the communication.
The serial bus protocol operates as follows:
1. The master initiates data transfer by establishing a start condi-
tion, defined as a high-to-low transition on the serial data
line, SDA, while the serial clock line, SCL, remains high.
This indicates that an address/data stream follows. All slave
peripherals connected to the serial bus respond to the 7-bit
address (MSB first) plus an R/
W
bit, which determines the
direction of the data transfer, that is, whether data is written
to or read from the slave device.
The peripheral whose address corresponds to the transmitted
address responds by pulling the data line low during the low
period before the ninth clock pulse, known as the acknowl-
edge bit. All other devices on the bus now remain idle while
the selected device waits for data to be read from or written
to it. If the R/
W
bit is a 0, then the master writes to the
slave device. If the R/
W
bit is a 1, then the master reads
from the slave device.
2. Data is sent over the serial bus in sequences of nine clock
pulses, eight bits of data followed by an acknowledge bit
from the receiver of data. Transitions on the data line must
occur during the low period of the clock signal and remain
stable during the high period, because a low-to-high transi-
tion when the clock is high may be interpreted as a stop signal.
3. When all data bytes have been read or written, stop
conditions are established. In write mode, the master pulls
the data line high during the 10th clock pulse to assert a
stop condition. In read mode, the master device pulls the
data line high during the low period before the ninth clock
pulse. This is known as no acknowledge. The master then
takes the data line low during the low period before the
10th clock pulse, then high during the 10th clock pulse to
assert a stop condition.
Any number of bytes of data can be transferred over the serial
bus in one operation, but it is not possible to mix read and write
in one operation because the type of operation is determined at
the beginning and cannot subsequently be changed without
starting a new operation.
Writing to the AD7416/AD7417/AD7418
Depending on the register being written to, there are three
different writes for the AD7416/AD7417/AD7418.
Writing to the address pointer register for a subsequent read.
To read data from a particular register, the address pointer
register must contain the address of that register. If it does
not, the correct address must be written to the address pointer
register by performing a single-byte write operation, as shown
in Figure 15. The write operation consists of the serial bus
address followed by the address pointer byte. No data is
written to any of the data registers.
Writing a single byte of data to the configuration register, the
Config2 register, or to the T
OTI
setpoint or T
HYST
setpoint
registers.
The configuration register is an 8-bit register, so only one
byte of data can be written to it. If only 8-bit temperature
comparisons are required, the temperature LSB can be
ignored in T
OTI
and T
HYST
, and only eight bits need to be
written to the T
OTI
setpoint and T
HYST
setpoint registers.
Writing a single byte of data to one of these registers consists
of the serial bus address, the data register address written
to the address pointer register, followed by the data byte
AD7416/AD7417/AD7418
Rev. I | Page 15 of 24
written to the selected data register. This is illustrated in
Figure 16.
Writing two bytes of data to the T
OTI
setpoint or T
HYST
setpoint register.
If 9-bit resolution is required for the temperature setpoints,
two bytes of data must be written to the T
OTI
setpoint and
T
HYST
setpoint registers. This consists of the serial bus
address, the register address written to the address pointer
register, followed by two data bytes written to the selected
data register. This is illustrated in Figure 17.
SCL
1 19 9
S
DA 1001
START BY
MASTER
ACK. BY
AD741x
1
ACK. BY
AD741x
1
STOP
BY
MASTER
FRAME 2
ADDRESS POINTER REGISTER BYTE
FRAME 1
SERIAL BUS ADDRESS BYTE
1
AD741x = AD7416/AD7417/AD7418.
A2 A1 P7 P6 P5 P4 P3 P2 P1 P0A0 R/W
01126-014
Figure 15. Writing to the Address Pointer Register to Select a Data Register for a Subsequent Read Operation
SCL
1 1
1
9
9
9
SDA 1 0 0 1
START BY
MASTER
ACK. BY
AD741x
1
ACK. BY
AD741x
1
ACK. BY
AD741x
1
STOP
BY
MASTER
FRAME 2
ADDRESS POINTER REGISTER BYTE
FRAME 3
DATA BYTE
FRAME 1
SERIAL BUS ADDRESS BYTE
SCL (CONTINUED)
SDA (CONTINUED)
A2 A1 P7 P6 P5 P4 P3 P2 P1 P0
D6D7 D5 D4 D3 D2 D1 D0
A0 R/W
01126-015
1
AD741x = AD7416/AD7417/AD7418.
Figure 16. Writing to the Address Pointer Register Followed by a Single Byte of Data to the Selected Data Register
SCL
SCL
(CONTINUED)
SDA
(CONTINUED)
119
119
9
SDA 1 0 0 1
START BY
MASTER
ACK. BY
AD741x
1
ACK. BY
AD741x
1
ACK. BY
AD741x
1
STOP BY
MASTER
ACK. BY
AD741x
1
STOP
BY
MASTER
FRAME 2
ADDRESS POINTER REGISTER BYTE
FRAME 1
SERIAL BUS ADDRESS BYTE
A2
D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
A1 P7 P6 P5 P4 P3 P2 P1 P0A0 R/W
9
FRAME 3
MOST SIGNIFICANT DATA BYTE
FRAME 4
LEAST SIGNIFICANT DATA BYTE
01126-016
1
AD741x = AD7416/AD7417/AD7418.
Figure 17. Writing to the Address Pointer Register Followed by Two Bytes of Data to the T
OTI
Setpoint or T
HYST
Setpoint Register

AD7417ARUZ-REEL

Mfr. #:
Manufacturer:
Analog Devices Inc.
Description:
Board Mount Temperature Sensors 4CH I2C W/ ON-CHIP TEMP SENSOR IC
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union