AD7150
Rev. 0 | Page 21 of 28
SERIAL INTERFACE
The AD7150 supports an I
2
C-compatible, 2-wire serial
interface. The two wires on the serial bus (interface) are called SCL
(clock) and SDA (data). These two wires carry all addressing,
control, and data information one bit at a time over the bus to
all connected peripheral devices. The SDA wire carries the data,
while the SCL wire synchronizes the sender and receiver during
the data transfer. The devices on the bus are classified as either
master or slave devices. A device that initiates a data transfer
message is called a master, while a device that responds to this
message is called a slave.
To control the AD7150 device on the bus, the following
protocol must be followed. First, the master initiates a data
transfer by establishing a start condition, defined by a high-to-
low transition on SDA while SCL remains high. This indicates
that the start byte follows. This 8-bit start byte is made up of a
7-bit address plus an R/W bit indicator.
All peripherals connected to the bus respond to the start
condition and shift in the next eight bits (7-bit address + R/W
bit). The bits arrive MSB first. The peripheral that recognizes
the transmitted address responds by pulling the data line low
during the ninth clock pulse. This is known as the acknowledge
bit. All other devices withdraw from the bus at this point and
maintain an idle condition. An exception to this is the general
call address, which is described in the
General Call section. In
the idle condition, the device monitors the SDA and SCL lines
waiting for the start condition and the correct address byte.
The R/W bit determines the direction of the data transfer. A
Logic 0 LSB in the start byte means that the master writes
information to the addressed peripheral. In this case, the
AD7150 becomes a slave receiver. A Logic 1 LSB in the start
byte means that the master reads information from the
addressed peripheral. In this case, the AD7150 becomes a slave
transmitter. In all instances, the AD7150 acts as a standard slave
device on the serial bus.
The start byte address for the AD7150 is 0x90 for a write and
0x91 for a read.
READ OPERATION
When a read is selected in the start byte, the register that is
currently addressed by the address pointer is transmitted to the
SDA line by the AD7150. This is then clocked out by the master
device, and the AD7150 awaits an acknowledge from the
master.
If an acknowledge is received from the master, the address auto-
incrementer automatically increments the address pointer
register and outputs the next addressed register content to the
SDA line for transmission to the master. If no acknowledge is
received, the AD7150 returns to the idle state and the address
pointer is not incremented. The address pointers’ auto-incrementer
allows block data to be written to or read from the starting address
and subsequent incremental addresses.
In continuous conversion mode, the address pointers’ auto-
incrementer should be used for reading a conversion result.
This means that the two data bytes should be read using one
multibyte read transaction rather than two separate single byte
transactions. The single byte data read transaction may result in
the data bytes from two different results being mixed. The same
applies for four data bytes if both capacitive channels are enabled.
The user can also access any unique register (address) on a one-
to-one basis without having to update all the registers. The
address pointer register contents cannot be read.
If an incorrect address pointer location is accessed or if the user
allows the auto-incrementer to exceed the required register
address, the following applies:
In read mode, the AD7150 continues to output various
internal register contents until the master device issues a
no acknowledge, start, or stop condition. The address
pointers’ auto-incrementer contents are reset to point to
the status register at the 0x00 address when a stop
condition is received at the end of a read operation. This
allows the status register to be read (polled) continually
without having to constantly write to the address pointer.
In write mode, the data for the invalid address is not
loaded into the AD7150 registers, but an acknowledge is
issued by the AD7150.
WRITE OPERATION
When a write is selected, the byte following the start byte is
always the register address pointer (subaddress) byte, which
points to one of the internal registers on the AD7150. The
address pointer byte is automatically loaded into the address
pointer register and acknowledged by the AD7150. After the
address pointer byte acknowledge, a stop condition, a repeated
start condition, or another data byte can follow from the master.
A stop condition is defined by a low-to-high transition on SDA
while SCL remains high. If a stop condition is encountered by
the AD7150, it returns to its idle condition and the address
pointer is reset to 0x00.
If a data byte is transmitted after the register address pointer
byte, the AD7150 loads this byte into the register that is
currently addressed by the address pointer register and sends an
acknowledge, and the address pointer auto-incrementer auto-
matically increments the address pointer register to the next
internal register address. Thus, subsequent transmitted data
bytes are loaded into sequentially incremented addresses.
AD7150
Rev. 0 | Page 22 of 28
If a repeated start condition is encountered after the address
pointer byte, all peripherals connected to the bus respond
exactly as outlined previously for a start condition; that is, a
repeated start condition is treated the same as a start condition.
When a master device issues a stop condition, it relinquishes
control of the bus, allowing another master device to take
control of the bus. Therefore, a master wanting to retain control
of the bus issues successive start conditions known as repeated
start conditions.
AD7150 RESET
To reset the AD7150 without having to reset the entire serial
bus, an explicit reset command is provided. This uses a particular
address pointer word as a command word to reset the part and
upload all default settings. The AD7150 does not respond to the
serial bus commands (do not acknowledge) during the default
values upload for approximately 2 ms.
The reset command address word is 0xBF.
GENERAL CALL
When a master issues a slave address consisting of seven 0s with
the eighth bit (R/W bit) set to 0, this is known as the general call
address. The general call address is for addressing every device
connected to the serial bus. The AD7150 acknowledges this
address and reads in the following data byte.
If the second byte is 0x06, the AD7150 is reset, completely
uploading all default values. The AD7150 does not respond to
the serial bus commands (do not acknowledge) during the
default values upload for approximately 2 ms.
The AD7150 does not acknowledge any other general call
commands.
1–7 8 9 1–7 8 9 1–7 8 9 PS
START ADDR
R/W
ACK SUBADDRESS ACK DATA ACK STOP
SDATA
S
CLOCK
0
6517-050
Figure 42. Bus Data Transfer
DATA A(S)S SLAVE ADDR A(S) SUB ADDR A(S)
LSB = 0
LSB = 1
DATA P
S SLAVE ADDR A(S) SUB ADDR A(S) S SLAVE ADDR A(S) DATA
A(M)
DATA P
WRITE
SEQUENCE
READ
SEQUENCE
A(S) = NO ACKNOWLEDGE BY SLAVE
A(M) = NO ACKNOWLEDGE BY MASTER
A(S) = ACKNOWLEDGE BY SLAVE
A(M) = ACKNOWLEDGE BY MASTER
S = START BIT
P = STOP BIT
A(S)
A(M)
06517-051
Figure 43. Write and Read Sequences
AD7150
Rev. 0 | Page 23 of 28
HARDWARE DESIGN CONSIDERATIONS
OVERVIEW
The AD7150 is an interface to capacitive sensors.
On the input side, the sensor (C
X
) can be connected directly
between the AD7150 EXC and CIN pins. The way it is
connected and the electrical parameters of the sensor
connection, such as parasitic resistance or capacitance, can
affect the system performance. Therefore, any circuit with
additional components in the capacitive front end, such as
overvoltage protection, has to be carefully designed considering
the AD7150 specified limits and information provided in this
section.
On the output side, the AD7150 can work as a standalone
device, using the power-up default register settings and flagging
the result on digital outputs. Alternatively, the AD7150 can be
interfaced to a microcontroller via the 2-wire serial interface,
offering flexibility by overwriting the AD7150 register values
from the host with a user-specific setup.
PARASITIC CAPACITANCE TO GROUND
DATA
CDC
EXC
C
GND1
CIN
C
GND2
C
X
06517-052
Figure 44. Parasitic Capacitance to Ground
The CDC architecture used in the AD7150 measures the
capacitance, C
X
, connected between the EXC pin and the CIN
pin. In theory, any capacitance C
GND
to ground should not affect
the CDC result (see
Figure 44).
The practical implementation of the circuitry in the chip
implies certain limits, and the result is gradually affected by
capacitance to ground (see
Table 1 for information about the
allowed capacitance to GND for CIN and information about
excitation).
See
Figure 4 to Figure 9.
PARASITIC RESISTANCE TO GROUND
DATA
CDC
EXC
R
GND1
CIN
R
GND2
C
X
06517-053
Figure 45. Parasitic Resistance to Ground
The AD7150 CDC result is affected by a leakage current from
C
X
to ground; therefore, C
X
should be isolated from the ground.
The equivalent resistance between C
X
and ground should be
maximized (see
Figure 45).
See
Figure 10 to Figure 13.
PARASITIC PARALLEL RESISTANCE
DATA
CDC
EXC
CIN
R
P
C
X
06517-054
Figure 46. Parasitic Parallel Resistance
The AD7150 CDC measures the charge transfer between the
EXC and CIN pins. Any resistance connected in parallel to the
measured capacitance C
X
(see Figure 46), such as the parasitic
resistance of the sensor, also transfers charge. Therefore, the
parallel resistor is seen as an additional capacitance in the
output data. The equivalent parallel capacitance (or error
caused by the parallel resistance) can be approximately
calculated as
4
1
××
=
EXCP
P
fR
C
where R
P
is the parallel resistance and f
EXC
is the excitation
frequency.
See
Figure 15.

AD7150BRMZ

Mfr. #:
Manufacturer:
Analog Devices Inc.
Description:
Data Acquisition ADCs/DACs - Specialized 2-CH CDC wt adaptive threshold IC
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet