AD7142 Analog Devices, AD7142 Datasheet - Page 34

no-image

AD7142

Manufacturer Part Number
AD7142
Description
Programmable Controller for Capacitance Touch Sensors
Manufacturer
Analog Devices
Datasheet

Specifications of AD7142

Resolution (bits)
16bit
# Chan
14
Sample Rate
250kSPS
Interface
I²C/Ser 2-Wire,Ser,SPI
Analog Input Type
Diff-Uni
Ain Range
± 2 pF (Delta C)
Adc Architecture
Sigma-Delta
Pkg Type
CSP

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AD7142ACPZ-1
Manufacturer:
ADI/亚德诺
Quantity:
20 000
Part Number:
AD7142ACPZ-1500
Manufacturer:
ADI
Quantity:
10
Part Number:
AD7142ACPZ-1500
Manufacturer:
ADI/亚德诺
Quantity:
20 000
Part Number:
AD7142ACPZ-1500RL7
Manufacturer:
ADI
Quantity:
8 000
Part Number:
AD7142ACPZ-1REEL
Manufacturer:
NXP
Quantity:
2 007
AD7142
Writing Data over the I
The process for writing to the AD7142-1 over the I
shown in Figure 50 and Figure 52. The device address is sent
over the bus followed by the R/ W bit set to 0. This is followed
by two bytes of data that contain the 10-bit address of the
internal data register to be written. The following bit map shows
the upper register address bytes. Note that Bit 7 to Bit 2 in the
upper address byte are don’t care bits. The address is contained
in the 10 LSBs of the register address bytes.
MSB
7
X
The following bit map shows the lower register address bytes.
MSB
7
Reg.
Addr.
Bit 7
The third data byte contains the 8 MSBs of the data to be
written to the internal register. The fourth data byte contains
the 8 LSBs of data to be written to the internal register.
The AD7142-1 address pointer register automatically increments
after each write. This allows the master to sequentially write to all
registers on the AD7142-1 in the same write transaction. However,
the address pointer register does not wrap around after the last
address.
SCLK
SDA
START
NOTES
1. A START CONDITION AT THE BEGINNING IS DEFINED AS A HIGH-TO-LOW TRANSITION ON SDA WHILE SCLK REMAINS HIGH.
2. A STOP CONDITION AT THE END IS DEFINED AS A LOW-TO-HIGH TRANSITION ON SDA WHILE SCLK REMAINS HIGH.
3. 7-BIT DEVICE ADDRESS [DEV A6:DEV A0] = [0 1 0 1 1 X X], WHERE X ARE DON'T CARE BITS.
4. 16-BIT REGISTER ADDRESS[A15:A0] = [X, X, X, X, X, X, A9, A8, A7, A6, A5, A4, A3, A2, A1, A0], WHERE X ARE DON’T CARE BITS.
5. REGISTER ADDRESS [A15:A8] AND REGISTER ADDRESS [A7:A0] ARE ALWAYS SEPARATED BY A LOW ACK BIT.
6. REGISTER DATA [D15:D8] AND REGISTER DATA [D7:D0] ARE ALWAYS SEPARATED BY A LOW ACK BIT.
6
X
6
Reg.
Addr.
Bit 6
ACK
27
D15
t
5
X
28
1
5
Reg.
Addr.
Bit 5
DEV
A6
REGISTER DATA[D15:D8]
D14
1
29
DEV
4
X
AD7142 DEVICE ADDRESS
A5
4
Reg.
Addr.
Bit 4
2
2
C Bus
DEV
A4
3
X
3
DEV
3
Reg.
Addr.
Bit 3
A3
t
2
D9
4
34
2
X
DEV
A2
D8
t
5
Figure 50. Example of I
4
35
2
Reg.
Addr.
Bit 2
DEV
A1
ACK
1
Register
Address
Bit 9
6
t
36
3
DEV
A0
D7
7
1
Reg.
Addr.
Bit 1
2
37
C bus is
R/W
REGISTER DATA[D7:D0]
D6
8
38
0
Register
Address
Bit 8
t
5
ACK
0
Reg.
Addr.
Bit 0
2
9
C Timing for Single Register Write Operation
LSB
LSB
Rev. A | Page 34 of 72
A15
10
REGISTER ADDRESS[A15:A8]
A14
D1
11
43
Any data written to the AD7142-1 after the address pointer has
reached its maximum value is discarded.
All registers on the AD7142-1 are 16-bit. Two consecutive 8-bit
data bytes are combined and written to the 16-bit registers. To
avoid errors, all writes to the device must contain an even
number of data bytes.
To finish the transaction, the master generates a stop condition
on SDO, or generates a repeat start condition if the master is to
maintain control of the bus.
Reading Data over the I
To read from the AD7142-1, the address pointer register must
first be set to the address of the required internal register. The
master performs a write transaction, and writes to the AD7142-1
to set the address pointer. The master then outputs a repeat start
condition to keep control of the bus, or if this is not possible, ends
the write transaction with a stop condition. A read transaction is
initiated, with the R/ W bit set to 1.
The AD7142-1 supplies the upper eight bits of data from the
addressed register in the first readback byte, followed by the
lower eight bits in the next byte. This is shown in Figure 51 and
Figure 52.
Because the address pointer automatically increases after each
read, the AD7142-1 continues to output readback data until the
master puts a no acknowledge and stop condition on the bus. If
the address pointer reaches its maximum value, and the master
continues to read from the part, the AD7142-1 repeatedly sends
data from the last register addressed.
D0
44
ACK
45
A9
16
46
STOP
t
6
A8
17
ACK
t
18
8
A7
START
19
t
2
REGISTER ADDRESS[A7:A0]
7
C Bus
A6
20
DEV
A6
AD7142 DEVICE ADDRESS
1
DEV
A5
A1
2
25
DEV
A4
A0
3
26

Related parts for AD7142