AD7151
Rev. 0 | Page 15 of 28
STATUS REGISTER
Address Pointer 0x00
8 Bits, Read-Only, Default Value 0x53 Before Conversion, 0x52 After Conversion
The status register indicates the status of the part. The register can be read via the 2-wire serial interface to query the status of the outputs,
check the CDC finished conversion, and check whether the CAPDAC has been changed by the autoCAPDAC function.
Table 6. Status Register Bit Map
Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Mnemonic PwrDown
DacStep
OUT –
RDY
Default 0 1 0 1 0 0 1 1
Table 7. Status Register Bit Descriptions
Bit Mnemonic Description
7 PwrDown
PwrDown = 1 indicates that the part is in a power-down mode or that the part V
DD
is below the power supply
monitor threshold voltage.
6 Bit not used, always reads 1.
5 Bit not used, always reads 0.
4
DacStep DacStep = 0 indicates that the CAPDAC value was changed during the last conversion as part of the AutoDac
function. The bit value is updated after each finished CDC conversion.
3 OUT
OUT = 1 indicates that the data (CIN capacitance) crossed the threshold, according to the selected comparator
mode of operation. The bit value is updated after each finished CDC conversion.
2 Bit not used, always reads 0.
1 Bit not used, always reads 1.
0
RDY RDY = 0 indicates a finished CDC conversion. The bit is reset back to 1 when the data register is read via the
serial interface or after the part reset or power-up.
AD7151
Rev. 0 | Page 16 of 28
DATA REGISTER
Address Pointer 0x01, 0x02
16 Bits, Read-Only, Default Value 0x0000
Data from the last complete capacitance-to-digital conversion
reflects the capacitance on the input. Only the 12 MSBs (most
significant bits) of the data register are used for the CDC result.
The 4 LSBs (least significant bits) are always 0, as shown in
Figure 34.
BIT 7 BIT 6 BIT 5 BIT 4 BIT 3 BIT 2
12-BIT CDC RESULT
BIT 1 BIT 0 BIT 7 BIT 6 BIT 5 BIT 4 BIT 3 BIT 2
DATA HIGHMSB DATA LOW LSB
BIT 1 BIT 0
0
07086-044
Figure 34. CDC Data Register
The nominal AD7151 CDC transfer function (an ideal transfer
function excluding offset and/or gain error) maps the input
capacitance between zero scale and full scale to output data
codes between 0x3000 and 0xCFF0 only (see
Table 8).
Table 8. AD7151 Capacitance-to-Data Mapping
Data Input Capacitance
0x0000 Not valid, underrange
0x3000 Zero-scale (0 pF)
0x8000 Mid-scale (+1 pF)
0xCFF0 Full-scale (+2 pF)
0xFFF0 Not valid, overrange
The input capacitance can be calculated from the output data
using the following equation:
RangeInput
Data
C _
40944
12288
)pF( ×
=
where Input_Range = 4 pF, 2 pF, 1 pF, or 0.5 pF.
The following is the same equation written with hexadecimal
numbers:
RangeInput
F
Data
C _
09x0
3000x0
)pF( ×
=
The data register is updated after a finished conversion, with
one exception: when the serial interface read operation from the
data register is in progress, the data register is not updated and
the new capacitance conversion result is lost.
The stop condition on the serial interface is considered to be the
end of the read operation. Therefore, to prevent incorrect data
reading through the serial interface, the two bytes of the data
register should be read sequentially using the register address
pointer auto-increment feature of the serial interface.
AVERAGE REGISTER
Address Pointer 0x05, 0x06
16 Bits, Read-Only, Default Value 0x0000
This register shows the average calculated from the previous
CDC data. The 12-bit CDC result corresponds to the 12 MSBs
of the average register.
The settling time of the average can be set by programming the
ThrSettling bits in the setup register. The average register is
overwritten directly with the CDC output data, that is, the
history is forgotten if the timeout is enabled and elapses.
FIXED THRESHOLD REGISTER
Address Pointer 0x09, 0x0A
16 Bits, Read/Write, Factory Preset 0x0886
A constant threshold for the output comparator in the fixed
threshold mode can be set using this register. The 12-bit CDC
result corresponds to the 12 MSBs of the threshold register. The
fixed threshold register shares the address pointer and location
on-chip with the sensitivity and timeout registers. The fixed
threshold register is not accessible in the adaptive threshold
mode.
SENSITIVITY REGISTER
Address Pointer 0x09
8 Bits, Read/Write, Factory Preset 0x08
The sensitivity register sets the distance of the positive
threshold above the data average, and the distance of the
negative threshold below the data average, in the adaptive
threshold mode.
NEGATIVE
THRESHOLD
POSITIVE
THRESHOLD
DATA AVERAGE
OUTPUT ACTIVE
TIME
SENSITIVITY
DAT
A
SENSITIVITY
0
7086-024
Figure 35. Threshold Sensitivity
The sensitivity is an 8-bit value and is mapped to the lower eight
bits of the 12-bit CDC data, that is, it corresponds to the 16-bit
data register as shown in
Figure 36.
BIT 7 BIT 6 BIT 5 BIT 4 BIT 3
SENSITIVIT
Y
BIT 2 BIT 1 BIT 0
BIT 7 BIT 6 BIT 5 BIT 4 BIT 3 BIT 2
12-BIT CDC RESULT
BIT 1 BIT 0 BIT 7 BIT 6 BIT 5 BIT 4 BIT 3 BIT 2
DATA HIGH DATA LOW
BIT 1 BIT 0
07086-025
Figure 36. Relation Between Sensitivity Register and CDC Data Register
AD7151
Rev. 0 | Page 17 of 28
TIMEOUT REGISTER
When either the approaching or receding timeout elapses (that
is, after the defined number of CDC conversions is counted),
the data average (and thus the thresholds) is forced to follow the
new CDC data value immediately.
Address Pointer 0x0A
8 Bits, Read/Write, Factory Preset 0x86
Table 9. Timeout Register Bit Map
Bit Bits [7:4]
When the timeout register equals 0, timeouts are disabled.
Bits [3:0]
Mnemonic TimeOutApr TimeOutRec
Default 0x08 0x06
DATA AVERAGE
+ SENSITIVITY
LARGE CHANGE IN DAT
A
TOWARDS THRESHOLD
DATA AVERAGE
THRESHOLD
TIME
TIMEOUT APPROACHING
07086-026
The register sets timeouts for the adaptive threshold mode.
The approaching timeout starts when the CDC data crosses the
data average ± sensitivity band toward the threshold, according
to the selected positive, negative, or window threshold mode. The
approaching timeout elapses after the number of conversion cycles
equals 2
TimeOutApr
, where TimeOutApr is the value of the four most
significant bits of the timeout register.
Figure 37. Threshold Timeout Approaching
After a Large Change in CDC Data Toward Threshold
The receding timeout starts when the CDC data crosses the
data average ± sensitivity band away from the threshold,
according to the selected positive or negative threshold mode.
The receding timeout is not used in the window threshold
mode. The receding timeout elapses after the number of
conversion cycles equals 2
TimeOutRec
, where TimeOutRec is the
value of the four least significant bits of the timeout register.
DATA AVERAGE
+ SENSITIVITY
LARGE CHANGE IN DATA
AWAY FROM THE THRESHOLD
DATA AVERAGE
THRESHOLD
TIME
TIMEOUT RECEDIN
G
07086-027
Figure 38. Threshold Timeout Receding
After a Large Change in CDC Data Away from Threshold

AD7151BRMZ-REEL

Mfr. #:
Manufacturer:
Analog Devices Inc.
Description:
Data Acquisition ADCs/DACs - Specialized 1-CH Cap Proximity Sensor Inter 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