
AD7415
–4–
REV. PrA
Prelimnary Technical Data
DATA
bus now remain idle whilst 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 will write to the slave device. If the
R/
W
bit is a 1 the master will read from the slave de-
vice.
2. Data is sent over the serial bus in sequences of 9 clock
pulses, 8 bits of data followed by an Acknowledge Bit
from the receiver of data.T ransitions on the data line
must occur during the low period of the clock signal
and remain stable during the high period, as a low to
high transition when the clock is high may be inter-
preted as a ST OP signal.
3. When all data bytes have been read or written, stop
conditions are established. In WRIT E mode, the master
will pull the data line high during the 10th clock pulse
to assert a ST OP condition. In READ mode, the mas-
ter device will pull the data line high during the low
period before the 9th clock pulse. T his is known as No
Acknowledge. T he master will then take the data line
low during the low period before the 10th clock pulse,
then high during the 10th clock pulse to assert a ST OP
condition.
Any number of bytes of data may 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 opera-
tion is determined at the beginning and cannot subse-
quently be changed without starting a new operation.
TECHNCAL
AD 7415 SE R IAL INT E R F AC E
Control of the AD7415 is carried out via the I
2
C-compat-
ible serial bus. T he AD7415 is connected to this bus as a
slave device, under the control of a master device, e.g. the
processor.
SE R IAL BUS AD D R E SS
Like all I
2
C-compatible devices, the AD7415 has a 7-bit
serial address. T he four MSBs of this address for the
AD7415 are set to 1001. T he AD7415 comes in two ver-
sions, the AD7415-0 and the AD7415-1. Each version has
three different I2C addresses available which are selected
by either tying the AS pin to GND, to VDD or letting the
pin float (see T able I). By giving different addresses, up to
six AD7415’s can be connected to a single, serial bus, or
the addresses can be set to avoid conflicts with other de-
vices on the bus.
T he serial bus protocol operates as follows:
1. T he master initiates data transfer by establishing a
ST ART condition, defined as a high to low transition
on the serial data line SDA whilst the serial clock line
SCL remains high. T his indicates that an address/data
stream will follow. All slave peripherals connected to
the serial bus respond to the ST ART condition, and
shift in the next 8 bits, consisting of a 7-bit address
(MSB first) plus a R/
W
bit, which determines the direc-
tion of the data transfer, i.e. whether data will be writ-
ten to or read from the slave device.
T he peripheral whose address corresponds to the trans-
mitted address responds by pulling the data line low
during the low period before the ninth clock pulse,
known as the Acknowledge Bit. All other devices on the
T E MPE R A T UR E VA L UE R E GIST E R
T he temperature value register is a read only register
which stores the temperature reading from the ADC in
10-bit twos complement format. T he temperature data
format is shown in T able I. T his shows the full theoretical
range of the ADC from -128
o
C to +127
o
C, but in practice
the temperature measurement range is limited to the oper-
ating temperature range of the device (-40
o
C to 85
o
C for
the AD7415).
T able I. T emperature Data Format
T emperature
Digital Output
DB9.............DB0
-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
-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
00 1100 1000
+75 °C
01 0010 1100
+100 °C
01 1001 0000
+125 °C
01 1111 0100
+127 °C
01 1111 1100