您好,欢迎来到化拓教育网。
搜索
您的当前位置:首页AD7147资料

AD7147资料

来源:化拓教育网
元器件交易网www.cecb2b.com

CapTouch™ Programmable Controller for Single-Electrode Capacitance Sensors

FEATURES

Programmable capacitance-to-digital converter (CDC) Femtofarad resolution

13 capacitance sensor inputs

9 ms update rate, all 13 sensor inputs No external RC components required Automatic conversion sequencer On-chip automatic calibration logic

Automatic compensation for environmental changes Automatic adaptive threshold and sensitivity levels Register map is compatible with the AD7142 On-chip RAM to store calibration data

SPI-compatible (serial-peripheral-interface-compatible) serial interface (AD7147)

I2C-compatible serial interface (AD7147-1) Separate VDRIVE level for serial interface

Interrupt output and general-purpose input/output (GPIO) 24-lead, 4 mm × 4 mm LFCSP 2.6 V to 3.3 V supply voltage Low operating current Full power mode: 1 mA Low power mode: 21.5 μA

APPLICATIONS

Cell phones

Personal music and multimedia players Smart handheld devices

Television, A/V, and remote controls Gaming consoles Digital still cameras

GENERAL DESCRIPTION

The AD7147 is designed for use with capacitance sensors implementing functions such as buttons, scroll bars, and wheels. The sensors need only one PCB layer, enabling ultra thin applications.

The AD7147 is an integrated CDC with on-chip environmental calibration. The CDC has 13 inputs channeled through a switch matrix to a 16-bit, 250 kHz sigma-delta (∑-Δ) converter. The CDC is capable of sensing changes in the capacitance of the external sensors and uses this information to register a sensor activation. By programming the registers, the user has full control over the CDC setup.

High resolution sensors require minor software to run on the host processor.

Rev. 0

Information furnished by Analog Devices is believed to be accurate and reliable. However, no responsibility is assumed by Analog Devices for its use, nor for any infringements of patents or other rights of third parties that may result from its use. Specifications subject to change without notice. No license is granted by implication or otherwise under any patent or patent rights of Analog Devices. Trademarks and registered trademarks are the property of their respective owners.

AD7147

FUNCTIONAL BLOCK DIAGRAM

ACSHIELDVCCGNDBIAS811109CIN019RESET LOGICPOWER-ONCIN120CIN221EXCITATIONCIN322SOURCECIN423CIN524HXCICIN61TRAD7147CALIBRATIONRAMITWACIN72SMCIN8316-BITΣ-ΔCALIBRATIONCIN94CDCENGINECIN105CIN116CIN12REGISTERSAND DATACONTROL7VINTERRUPTDRIVE12AND CONTROL LOGICSERIAL INTERFACEAND GPIO18LOGICGPIO131415161710SDO/0-3SDAADD0SDI/SCLKADD1CS/INT6660

Figure 1. AD7147 Block Diagram

The AD7147 is designed for single-electrode capacitance

sensors (grounded sensors). There is an active shield output to minimize noise pickup in the sensor.

The AD7147 has on-chip calibration logic to compensate for changes in the ambient environment. The calibration sequence is performed automatically and at continuous intervals as long as the sensors are not touched. This ensures that there are no false or nonregistering touches on the external sensors due to a changing environment.

The AD7147 has an SPI-compatible serial interface, and the AD7147-1 has an I2C®-compatible serial interface. Both parts have an interrupt output, as well as a GPIO. There is a VDRIVE pin to set the voltage level for the serial interface independent of VCC. The AD7147 is available in a 24-lead, 4 mm × 4 mm LFCSP and operates from a 2.6 V to 3.6 V supply. The operating current con-sumption in low power mode is typically 26 μA for 13 sensors.

One Technology Way, P.O. Box 9106, Norwood, MA 02062-9106, U.S.A.Tel: 781.329.4700 www.analog.com Fax: 781.461.3113 ©2007 Analog Devices, Inc. All rights reserved.

元器件交易网www.cecb2b.com

AD7147

Capacitance Sensor Behavior Without Calibration...............23 Capacitance Sensor Behavior with Calibration......................24 Slow FIFO....................................................................................24 SLOW_FILTER_UPDATE_LVL..............................................24 Adaptive Threshold and Sensitivity.............................................25 Interrupt Output.............................................................................27 CDC Conversion-Complete Interrupt....................................27 Sensor-Touch Interrupt.............................................................27 GPIO INT Output Control.......................................................29 Outputs............................................................................................31 ACSHIELD Output..........................................................................31 GPIO............................................................................................31 Using the GPIO to Turn On/Off an LED................................31 Serial Interface................................................................................32 SPI Interface................................................................................32 I2C-Compatible Interface..........................................................34 VDRIVE Input.................................................................................36 PCB Design Guidelines.................................................................37 Capacitive Sensor Board Mechanical Specifications.............37 Chip Scale Packages...................................................................37 Power-Up Sequence.......................................................................38 Typical Application Circuits.........................................................39 Register Map...................................................................................40 Detailed Register Descriptions.....................................................41 Bank 1 Registers.........................................................................41 Bank 2 Registers.........................................................................51 Bank 3 Registers.........................................................................56 Outline Dimensions.......................................................................68 Ordering Guide..........................................................................68

TABLE OF CONTENTS

Features..............................................................................................1 Applications.......................................................................................1 General description..........................................................................1 Functional Block Diagram..............................................................1 Revision History...............................................................................2 Specifications.....................................................................................3 SPI Timing Specifications (AD7147).........................................5 I2C Timing Specifications (AD7147-1).....................................6 Absolute Maximum Ratings............................................................7 ESD Caution..................................................................................7 Pin Configurations and Function Descriptions...........................8 Typical Performance Characteristics.............................................9 Theory of Operation......................................................................11 Capacitance-Sensing Theory....................................................11 BIAS Pin.......................................................................................12 Operating Modes........................................................................12 Capacitiance-to-Digital Converter...............................................14 Oversampling the CDC Output...............................................14 Capacitance Sensor Offset Control..........................................14 Conversion Sequencer...............................................................14 CDC Conversion Sequence Time............................................16 CDC Conversion Results...........................................................16 Capacitance Sensor Input Configuration....................................17 CINx Input Multiplexer Setup..................................................17 Single-Ended Connections to the CDC..................................17 Noncontact Proximity Detection.................................................18 Recalibration...............................................................................18 Proximity Sensitivity..................................................................18 FF_SKIP_CNT............................................................................21

Environmental Calibration...........................................................23

REVISION HISTORY

09/07—Revision 0: Initial Version

Rev. 0 | Page 2 of 68

元器件交易网www.cecb2b.com

AD7147

SPECIFICATIONS

VCC = 2.6 V to 3.6 V, TA = −40oC to +85°C, unless otherwise noted. Table 1. Parameter Min Typ Max Unit Test Conditions/Comments CAPACITANCE-TO-DIGITAL CONVERTER Update Rate 8.73 9 9.27 ms 12 conversion stages, decimation = 17.46 18 18.54 ms 12 conversion stages, decimation = 128 34.9 36 37.1 ms 12 conversion stages, decimation = 256 Resolution 16 Bits CINx Input Range ±8 pF No Missing Codes 16 Bits Guaranteed by design, but not production tested CINx Input Leakage 25 nA Maximum Output Load 20 pF Capacitance load on CINx to ground Total Unadjusted Error ±20 % Output Noise (Peak-to-Peak) 12 Codes Decimation rate = 7 Codes Decimation rate = 128 3 Codes Decimation rate = 256 Output Noise (RMS) 1.1 Codes Decimation rate = 0.8 Codes Decimation rate = 128 0.5 Codes Decimation rate = 256 CSTRAY Offset Range 20 pF CSTRAY Offset Resolution 0.32 pF Low Power Mode Delay Accuracy 4 % Percentage of 200 ms, 400 ms, 600 ms, or 800 ms ACSHIELD Frequency 250 kHz Output Voltage 0 VCCV Oscillating Short-Circuit Source Current 10 mA Short-Circuit Sink Current 10 mA Maximum Output Load 150 pF Capacitance load on ACSHIELD to ground LOGIC INPUTS (SDI, SCLK, CS, SDA, GPI) VIH Input High Voltage 0.7 × VDRIVE V VIL Input Low Voltage 0.4 V IIH Input High Current −1 μA VIN = VDRIVEIIL Input Low Current 1 μA VIN = GND Hysteresis 150 mV OPEN-DRAIN OUTPUTS (SCLK, SDA, INT) VOL Output Low Voltage 0.4 V ISINK = −1 mA IOH Output High Leakage Current ±0.1 ±1 μA VOUT = VDRIVELOGIC OUTPUTS (SDO, GPO) VOL Output Low Voltage 0.4 V ISINK = 1 mA, VDRIVE = 1.65 V to 3.6 V VOH Output High Voltage VDRIVE − 0.6 V ISOURCE = 1 mA, VDRIVE = 1.65 V to 3.6 V ±1 μA GPO, SDO Floating State Leakage Pin three-state, leakage measured to Current GND and VCCPOWER VCC2.6 3.3 3.6 V VDRIVE1.65 3.6 V Serial interface operating voltage ICC 0.9 1 mA In full power mode, VCC + VDRIVE 15.5 21.5 μA Low power mode, converter idle, VCC + VDRIVE, decimation = 256 2.3 7.5 μA Full shutdown, VCC + VDRIVE

Rev. 0 | Page 3 of 68

元器件交易网www.cecb2b.com

AD7147

Decimation Rate 128 256 128 256 128 256 128 256

Current Values of Conversion Stages (μA)

1 2 3 4 5 6 7 8 9 10 11 12 20.83 24.18 27.52 30.82 34.11 37.37 40.6 43.81 46.99 50.16 53.3 56.41 25.3 31.92 38.45 44.87 51.21 57.45 63.6 69.66 75.63 81.52 87.33 93.05 34.11 46.99 59.51 71.66 83.47 94.94 106.1 116.96 127.52 137.81 147.82 157.58 18.17 19.86 21.55 23.23 24.9 26.57 28.23 29.88 31.53 33.17 34.81 36.44 20.43 23.79 27.12 30.43 33.72 36.98 40.22 43.43 46.62 49.78 52.93 56.05 24.9 31.53 38.06 44.5 50.83 57.08 63.23 69.3 75.28 81.17 86.98 92.71 17.28 18.41 19.54 20.67 21.79 22.91 24.03 25.14 26.25 27.36 28.47 29.57 18.79 21.04 23.28 25.51 27.73 29.94 32.13 34.32 36.49 38.65 40.81 42.95 21.79 26.25 30.67 35.04 39.37 43.66 47.9 52.11 56.27 60.39 .47 68.51 16.84 17.69 18.53 19.38 20.23 21.07 21.91 22.75 23.59 24.43 25.26 26.09 17.97 19.66 21.35 23.03 24.7 26.37 28.03 29.69 31.34 32.98 34.62 36.25 20.23 23.59 26.93 30.24 33.53 36.79 40.03 43.24 46.43 49.6 52.74 55.86

Table 2. Typical Average Current in Low Power Mode1

Low Power Mode Delay 200 ms

400 ms 600 ms 800 ms

1

VCC = 3.3 V, T = 25°C, load = 5 pF.

Table 3. Maximum Average Current in Low Power Mode1

Low Power Mode Delay 200 ms

400 ms 600 ms 800 ms

1

Decimation Rate 128 256 128 256 128 256 128 256

Current Values of Conversion Stages (μA)

1 2 3 4 5 6 7 8 9 10 11 12 27.71 31.65 35.56 39.44 43.28 47.1 50. 54. 58.37 62.07 65.74 69.38 32.96 40.72 48.37 55. 63.3 70.59 77.77 84.84 91.8 98.66 105.41 112.07 43.28 58.37 72.99 87.17 100.92 114.26 127.22 139.8 152.03 163.92 175.48 186.73 24.61 26.6 28.58 30.55 32.51 34.47 36.42 38.36 40.29 42.21 44.13 46.04 27.26 31.21 35.12 39 42.85 46.67 50.46 54.22 57.95 61.65 65.33 68.97 32.51 40.29 47.94 55.47 62.88 70.18 77.36 84.44 91.41 98.27 105.03 111.69 23.58 24.91 26.23 27.55 28.87 30.18 31.5 32.8 34.11 35.41 36.7 38 25.35 27.99 30.62 33.24 35.84 38.43 41 43.56 46.11 48. 51.16 53.66 28.87 34.11 39.29 44.41 49.48 54.5 59.46 .38 69.24 74.05 78.81 83.53 23.06 24.06 25.05 26.05 27.04 28.03 29.02 30 30.98 31.97 32.95 33.92 24.39 26.38 28.36 30.33 32.29 34.25 36.2 38.14 40.07 42 43.91 45.82 27.04 30.98 34.9 38.78 42. 46.46 50.25 54.01 57.74 61.45 65.12 68.77 VCC = 3.6 V, TA = −40oC to +85°C, load = 5 pF.

Rev. 0 | Page 4 of 68

元器件交易网www.cecb2b.com

AD7147

SPI TIMING SPECIFICATIONS (AD7147)

TA = −40°C to +85°C, VDRIVE = 1.65 V to 3.6 V, and VCC = 2.6 V to 3.6 V, unless otherwise noted. Sample tested at 25°C to ensure compliance. All input signals are specified with tR = tF = 5 ns (10% to 90% of VCC) and timed from a voltage level of 1.6 V. Table 4. SPI Timing Specifications Parameter fSCLKt1 t2 t3 t4 t5 t6t7 t8Limit Unit Description 5 MHz max SCLK frequency 5 ns min CS falling edge to first SCLK falling edge 20 ns min SCLK high pulse width 20 ns min SCLK low pulse width 15 ns min SDI setup time 15 ns min SDI hold time 20 ns max SDO access time after SCLK falling edge 16 ns max CS rising edge to SDO high impedance 15 ns min SCLK rising edge to CS high

CSt1t212t3315161215t816SCLKt4SDIt5MSBLSBt6SDOMSBLSBt706663-002

Figure 2. SPI Detailed Timing Diagram

Rev. 0 | Page 5 of 68

元器件交易网www.cecb2b.com

AD7147

I2C TIMING SPECIFICATIONS (AD7147-1)

TA = −40°C to +85°C, VDRIVE = 1.65 V to 3.6 V, and VCC = 2.6 V to 3.6 V, unless otherwise noted. Sample tested at 25°C to ensure compliance. All input signals timed from a voltage level of 1.6 V. Table 5. I2C Timing Specifications1

Parameter fSCLK t1t2t3t4t5t6t7t8tR tF

1

Limit 400 0.6 1.3 0.6 100 300 0.6 0.6 1.3 300 300 Unit kHz max μs min μs min μs min ns min ns min μs min μs min μs min ns max ns max Description

Start condition hold time, tHD; STA Clock low period, tLOW Clock high period, tHIGH Data setup time, tSU; DATData hold time, tHD; DAT

Stop condition setup time, tSU; STO Start condition setup time, tSU; STA

Bus-free time between stop and start conditions, tBUFClock/data rise time Clock/data fall time

Guaranteed by design, not production tested.

t2SCLKtRtFt1t1t5SDAt3t4t7t6STOPSTART2

STARTSTOP06663-003t8

Figure 3. IC Detailed Timing Diagram

Rev. 0 | Page 6 of 68

元器件交易网www.cecb2b.com

AD7147

Stresses above those listed under Absolute Maximum Ratings

ABSOLUTE MAXIMUM RATINGS

Table 6.

Parameter Rating may cause permanent damage to the device. This is a stress

VCC to GND −0.3 V to +3.6 V

rating only; functional operation of the device at these or any

Analog Input Voltage to GND −0.3 V to VCC + 0.3 V

other conditions above those indicated in the operational

Digital Input Voltage to GND −0.3 V to VDRIVE + 0.3 V

section of this specification is not implied. Exposure to absolute

Digital Output Voltage to GND −0.3 V to VDRIVE + 0.3 V

maximum rating conditions for extended periods may affect

Input Current to Any Pin Except Supplies110 mA

device reliability.

ESD Rating (Human Body Model) 2.5 kV Operating Temperature Range −40°C to +105°C 200µAIOLStorage Temperature Range −65°C to +150°C Junction Temperature 150°C

TO OUTPUT1.6VLFCSP PINCLPower Dissipation 450 mW 50pFθJA Thermal Impedance 135.7°C/W

200µAIOHIR Reflow Peak Temperature 260°C (±0.5°C)

Figure 4. Load Circuit for Digital Output Timing Specifications Lead Temperature (Soldering 10 sec) 300°C

1

Transient currents of up to 100 mA do not cause SCR latch-up.

ESD CAUTION

06663-004 Rev. 0 | Page 7 of 68

元器件交易网www.cecb2b.com

AD7147

CIN5CIN4CIN3CIN2CIN1CIN0CIN5CIN4CIN3CIN2CIN1CIN018GPIO17INT16CS15SCLKI14SDI13SDOCIN6CIN7CIN8CIN9CIN10CIN11123456PIN CONFIGURATIONS AND FUNCTION DESCRIPTIONS

242322212019CIN6CIN7CIN8CIN9CIN10CIN11123456PIN 1INDICATOR242322212019PIN 1INDICATORIAD7147I

AD7147-1TOP VIEW(Not to Scale)TOP VIEW(Not to Scale)181716151413GPIOINTADD1SCLKADD0SDA7101112CIN12ACSHIELDBIASGNDVCCVDRIVE06663-005

06663-006I

CIN12ACSHIELDBIASGNDVCCVDRIVE7101112I

Figure 5. AD7147 Pin Configuration Figure 6. AD7147-1 Pin Configuration

Table 7. Pin Function Descriptions Pin No. AD7147 AD7147-1 1 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 9 9 10 10 11 11 12 12 13 N/A N/A 13 14 N/A N/A 14 15 15 16 N/A N/A 16 17 17 18 18 19 19 20 20 21 21 22 22 23 23 24 24 Mnemonic Description CIN6 Capacitance Sensor Input. CIN7 Capacitance Sensor Input. CIN8 Capacitance Sensor Input. CIN9 Capacitance Sensor Input. CIN10 Capacitance Sensor Input. CIN11 Capacitance Sensor Input. CIN12 Capacitance Sensor Input. ACSHIELDCDC Active Shield Output. Connect to external shield or plane. BIAS Bias Node for Internal Circuitry. Requires 10 nF capacitor to ground. GND Ground Reference Point for All Circuitry. VCCSupply Voltage. VDRIVESerial Interface Operating Voltage Supply. SDO SPI Serial Data Output. SDA 2C Serial Data Input/Output. SDA requires pull-up resistor. SDI SPI Serial Data Input. ADD0 2C Address Bit 0. SCLK Clock Input for Serial Interface. SPI Chip Select Signal. CSADD1 2C Address Bit 1. General-Purpose Open-Drain Interrupt Output. Programmable polarity; requires pull-up resistor. INTGPO Programmable GPO. CIN0 Capacitance Sensor Input. CIN1 Capacitance Sensor Input. CIN2 Capacitance Sensor Input. CIN3 Capacitance Sensor Input. CIN4 Capacitance Sensor Input. CIN5 Capacitance Sensor Input.

Rev. 0 | Page 8 of 68

元器件交易网www.cecb2b.com

AD7147

9359155DECIMATION = 7060504030800ms8358157952.6201006663-007TYPICAL PERFORMANCE CHARACTERISTICS

200msICC (μA)ICC (µA)875DECIMATION = 128855DECIMATION = 2500ms600ms2.72.82.93.03.13.23.33.43.53.63.702.52.72.93.1VCC (V)3.33.53.706663-060VCC (V)

Figure 7. Supply Current vs. Supply Voltage

Figure 10. Low Power Supply Current vs. Supply Voltage,

Decimation Rate =

180160140120200ms2.52.0ICC (μA)400ms600ms800ms8060402002.5ICC (µA)06663-0611001.51.00.506663-0102.72.93.1VCC (V)3.33.53.702.72.82.93.03.13.23.33.43.53.6

VCC (V)

Figure 8. Low Power Supply Current vs. Supply Voltage,

Decimation Rate = 256

Figure 11. Shutdown Supply Current vs. Supply Voltage

0.1211500.10200ms11000.08ICC (mA)ICC (µA)10500.000ms600ms10000.04800ms0.0206663-00995006663-06202.59002.72.93.1VCC (V)3.33.53.70100200300400500

ACSHIELD CAPACITIVE LOAD (pF)

Figure 9. Low Power Supply Current vs. Supply Voltage,

Decimation Rate = 128

Figure 12. Supply Current vs. Capacitive Load on ACSHIELD

Rev. 0 | Page 9 of 68

元器件交易网www.cecb2b.com

AD7147

58000560005400052000CDC CODE (d)

160140120CDC NOISE p-p (LSB)25mV50mV75mV100mV125mV150mV175mV200mV1008060405000048000460004400006663-0634000025501002004008001600320000128002560051200102400204800409600819200ACSHIELD CAPACITIVE LOAD (pF)

SINE WAVE FREQUENCY (Hz)100001000006663-01606663-0650100200300400500006663-04200020

Figure 13. Output Code vs. Capacitive Load on ACSHIELD Figure 16. Power Supply Sine Wave Rejection, VCC = 3.6 V

9609403.6V92090012025mV50mV75mV100mV125mV150mV175mV200mV100CDC NOISE p-p (LSB)06663-0133.3V80ICC (µA)880860840820800780–602.6V60402025501002004008001600320000128002560051200102400204800409600TEMPERATURE (°C)

SQUARE WAVE FREQUENCY (Hz)819200–40–200204060801001200

Figure 14. Supply Current vs. Temperature

Figure 17. Power Supply Square Wave Rejection, VCC = 3.6 V

12353010INPUT CAPACITANCE (pF)06663-01482520151050ICC (µA)63.6V43.3V2.6V20–45–25–515355575951151350100002000030000400005000060000TEMPERATURE (°C)

CDC OUTPUT CODE

Figure 15. Shutdown Supply Current vs. Temperature

Figure 18. CDC Linearity, VCC = 3.3 V

Rev. 0 | Page 10 of 68

元器件交易网www.cecb2b.com

AD7147

require low power operation to provide the user with significant power savings and full functionality.

The AD7147 has an interrupt output, INT, to indicate when new data has been placed into the registers. INT is used to interrupt the host on sensor activation. The AD7147 operates from a 2.6 V to 3.6 V supply and is available in a 24-lead, 4 mm × 4 mm LFCSP.

THEORY OF OPERATION

The AD7147 and AD7147-1 are CDCs with on-chip

environmental compensation. They are intended for use in portable systems requiring high resolution user input. The internal circuitry consists of a 16-bit, ∑-Δ converter that can change a capacitive input signal into a digital value. There are 13 input pins, CIN0 to CIN12, on the AD7147 or AD7147-1. A switch matrix routes the input signals to the CDC. The result of each capacitance-to-digital conversion is stored in on-chip registers. The host subsequently reads the results over the serial interface. The AD7147 has an SPI interface, and the AD7147-1 has an I2C interface, ensuring that the parts are compatible with a wide range of host processors. AD7147 refers to both the AD7147 and AD7147-1, unless otherwise noted, from this point forward in this data sheet.

The AD7147 interfaces with up to 13 external capacitance sensors. These sensors can be arranged as buttons, scroll bars, or wheels, or as a combination of sensor types. The external sensors consist of an electrode on a single- or multiple-layer PCB that interfaces directly to the AD7147.

The AD7147 can be set up to implement any set of input

sensors by programming the on-chip registers. The registers can also be programmed to control features such as averaging, offsets, and gains for each of the external sensors. There is an on-chip sequencer that controls how each of the capacitance inputs is polled.

The AD7147 has on-chip digital logic and 528 words of RAM that are used for environmental compensation. The effects of humidity, temperature, and other environmental factors can affect the operation of capacitance sensors. Transparent to the user, the AD7147 performs continuous calibration to compen-sate for these effects, allowing the AD7147 to consistently provide error-free results.

The AD7147 requires a companion algorithm that runs on the host or another microcontroller to implement high resolution sensor functions, such as scroll bars or wheels. However, no companion algorithm is required to implement buttons. Button sensors are implemented on chip, entirely in digital logic. The AD7147 can be programmed to operate in either full power mode or low power automatic wake-up mode. The automatic wake-up mode is particularly suited for portable devices that

CAPACITANCE-SENSING THEORY

The AD7147 measures capacitance changes from single-electrode sensors. The sensor electrode on the PCB comprises one plate of a virtual capacitor. The other plate of the capacitor is the user’s finger, which is grounded with respect to the sensor input. The AD7147 first outputs an excitation signal to charge the plate of the capacitor. When the user comes close to the sensor, the virtual capacitor is formed, with the user acting as the second capacitor plate.

PLASTIC COVERSENSOR PCBMUXΣ-ΔADC16-BITDATAAD714706663-017EXCITATIONSIGNAL250kHz

Figure 19. Capacitance-Sensing Method

A square wave excitation signal is applied to CINx during the conversion, and the modulator continuously samples the charge going through CINx. The output of the modulator is processed via a digital filter, and the resulting digital data is stored in the CDC_RESULT_Sx registers for each conversion stage, at Address 0x00B to Address 0x016.

Rev. 0 | Page 11 of 68

元器件交易网www.cecb2b.com

AD7147

Complete Solution for Capacitance Sensing

Analog Devices, Inc., provides a complete solution for

capacitance sensing. The two main elements to the solution are the sensor PCB and the AD7147.

If the application requires high resolution sensors such as scroll bars or wheels, software is required that runs on the host processor. The memory requirements for the host depend on the sensor and are typically 10 kB of code and 600 bytes of data memory, depending on the sensor type.

SENSOR PCBRegistering a Sensor Activation

When a user approaches a sensor, the total capacitance associated with that sensor changes and is measured by the AD7147. If the change causes a set threshold to be exceeded, the AD7147 interprets this as a sensor activation.

On-chip threshold limits are used to determine when a sensor activation occurs. Figure 20 shows the change in CDC_RESULT_Sx when a user activates a sensor. The sensor is deemed to be active only when the value of CDC_RESULT_Sx is either greater than the value of STAGEx_HIGH_THRESHOLD or less than the value of STAGEx_LOW_THRESHOLD.

SENSOR ACTIVE (A)STAGEx_HIGH_THRESHOLDCDC_RESULT_SxAMBIENT ORNO-TOUCH VALUEAD7147SPI OR I2CCDC OUTPUT CODES06663-019HOST PROCESSOR1 MIPS10kB ROM600 BYTES RAM

Figure 21. Three-Part Capacitance-Sensing Solution

STAGEx_LOW_THRESHOLDSENSOR ACTIVE (B)06663-018

Analog Devices supplies the sensor PCB footprint design

libraries to the customer and supplies any necessary software on an open-source basis.

Figure 20. Sensor Activation Thresholds

BIAS PIN

This pin is connected internally to a bias node of the AD7147. To ensure correct operation of the AD7147 connect a 10 nF capacitor between the BIAS pin and ground. The voltage seen at the BIAS pin is VCC/2.

In Figure 20, two sensor activations are shown. Sensor Active A occurs when a sensor is connected to the positive input of the converter. In this case, when a user activates the sensor, there is an increase in CDC code, and the value of CDC_RESULT_Sx exceeds that of STAGEx_HIGH_THRESHOLD. Sensor Active B occurs when the sensor is connected to the negative input of the converter. In this case, when a user activates the sensor, there is a decrease in CDC code, and the value of CDC_RESULT_Sx becomes less than the value of STAGEx_LOW_THRESHOLD.

For each conversion stage, the STAGEx_HIGH_THRESHOLD and STAGEx_LOW_THRESHOLD registers are in Register Bank 3. The values in these registers are updated automatically by the AD7147 due to its environmental calibration and adaptive threshold logic.

At power-up, the values in the STAGEx_HIGH_THRESHOLD and STAGEx_LOW_THRESHOLD registers are the same as those in the STAGEx_OFFSET_HIGH and STAGEx_OFFSET_LOW registers in Bank 2. The user must program the STAGEx_OFFSET _HIGH and STAGEx_OFFSET_LOW registers on device power-up. See the Environmental Calibration section of the data sheet for more information.

OPERATING MODES

The AD7147 has three operating modes. Full power mode, where the device is always fully powered, is suited for applications where power is not a concern (for example, game consoles that have an ac power supply). Low power mode, where the part automatically powers down when no senosr is active, is tailored to provide significant power savings compared with full power mode and is suited for mobile applications, where power must be

conserved. In shutdown mode, the part shuts down completely. The POWER_MODE bits (Bit 0 and Bit 1) of the control register set the operating mode on the AD7147. The control register is at Address 0x000. Table 8 shows the POWER_MODE settings for each operating mode. To put the AD7147 into

shutdown mode, set the POWER_MODE bits to either 01 or 11. Table 8. POWER_MODE Settings

POWER_MODE Bits Operating Mode 00 Full power mode

01 Shutdown mode 10 Low power mode

11 Shutdown mode

The power-on default setting of the POWER_MODE bits is 00, full power mode.

Rev. 0 | Page 12 of 68

元器件交易网www.cecb2b.com

AD7147

When an external sensor is touched, the AD7147 begins a con-version sequence every 36 ms to read back data from the sensors. In low power mode, the total current consumption of the AD7147 is an average of the current used during a conversion and the current used while the AD7147 is waiting for the next conversion to begin. For example, when LP_CONV_DELAY l is 400 ms, the AD7147 typically uses 0.85 mA of current for 36 ms and 14 μA of current for 400 ms during the conversion interval. (Note that these conversion timings can be altered through the register settings. See the CDC Conversion Sequence Time section for more information.)

The time for the AD7147 to transition from a full power state to a reduced power state after the user stops touching the external sensors is configurable. The PWR_DOWN_TIMEOUT bits (in the Ambient Compensation Control 0 (AMB_COMP_CTRL0) Register at Address 0x002) control the time delay before the AD7147 transitions to the reduced power state after the user stops touching the sensors.

Full Power Mode

In full power mode, all sections of the AD7147 remain fully powered and converting at all times. While a sensor is being touched, the AD7147 processes the sensor data. If no sensor is touched, the AD7147 measures the ambient capacitance level and uses this data for the on-chip compensation routines. In full power mode, the AD7147 converts at a constant rate. See the CDC Conversion Sequence Time section for more information.

Low Power Mode

When AD7147 is in low power mode, the POWER_MODE bits are set to 10 upon device initialization. If the external sensors are not touched, the AD7147 reduces its conversion frequency, thereby greatly reducing its power consumption. The part remains in a reduced power state while the sensors are not touched. The AD7147 performs a conversion after a delay defined by the LP_CONV_DELAY bits, and it uses this data to update the compensation logic and check if the sensors are active. The LP_CONV_DELAY bits set the delay between conversions to 200 ms, 400 ms, 600 ms, or 800 ms.

AD7147 SETUPAND INITIALIZATIONPOWER_MODE = 10NOANYSENSORTOUCHED?YESCONVERSION SEQUENCEEVERY LP_CONV_DELAYUPDATE COMPENSATIONLOGIC DATA PATHCONVERSION SEQUENCEEVERY 36ms FORSENSOR READBACKYESANY SENSORTOUCHED?NO06663-020PROXIMITY TIMERCOUNTDOWNTIMEOUT

Figure 22. Low Power Mode Operation

Rev. 0 | Page 13 of 68

元器件交易网www.cecb2b.com

AD7147

The goal is to ensure that the CDC_RESULT_Sx is as close to midscale as possible. This process is only required once during the initial capacitance sensor characterization.

+DAC(20pF RANGE)6POS_AFE_OFFSETCAPACITIANCE-TO-DIGITAL CONVERTER

The capacitance-to-digital converter on the AD7147 has a Σ-Δ architecture with 16-bit resolution. There are 13 possible inputs to the CDC that are connected to the input of the converter through a switch matrix. The sampling frequency of the CDC is 250 kHz.

OVERSAMPLING THE CDC OUTPUT

The decimation rate, or oversampling ratio, is determined by Bits [9:8] of the power control (PWR_CONTROL) register (Address 0x000), as listed in Table 9. Table 9. CDC Decimation Rate

CDC Output Rate

DECIMATION Bits Decimation Rate Per Stage (ms) 00 256 3.072 01 128 1.536 10 0.768 11 0.768

CINxPOS_AFE_OFFSET_SWAP BIT+1616-BIT_CDCNEG_AFE_OFFSET_SWAP BIT–DAC(20pF RANGE)6NEG_AFE_OFFSET06663-021The decimation process on the AD7147 is an averaging process, where a number of samples are taken and the averaged result is output. Due to the architecture of the digital filter employed, the number of samples taken (per stage) is equal to 3× the decimation rate. So 3 × 256 or 3 × 128 samples are averaged to obtain each stage result.

The decimation process reduces the amount of noise present in the final CDC result. However, the higher the decimation rate, the lower the output rate per stage; therefore, there is a trade-off possible between the amount of noise in the signal and the speed of sampling.

CINx_CONNECTION_SETUP

Figure 23. Analog Front-End Offset Control

CONVERSION SEQUENCER

The AD7147 has an on-chip sequencer to implement conversion control for the input channels. Up to 12 conversion stages can be performed in one sequence. Each of the 12 conversions stages can measure the input from a different sensor. By using the Bank 2 registers, each stage can be uniquely configured to support multiple capacitance sensor interface requirements. For example, a slider sensor can be assigned to STAGE1 through STAGE8, with a button sensor assigned to STAGE0. For each conversion stage, the input mux that connects the CINx inputs to the converter can have a unique setting.

The AD7147 on-chip sequence controller provides conversion control, beginning with STAGE0. Figure 24 shows a block diagram of the CDC conversion stages and CINx inputs. A conversion sequence is defined as a sequence of CDC conversions starting at STAGE0 and ending at the stage determined by the value programmed in the SEQUENCE_STAGE_NUM bits. Depending on the number and type of capacitance sensors that are used, not all conversion stages are required. Use the SEQUENCE_STAGE_NUM bits to set the number of conversions in one sequence. This number will depend on the sensor interface requirements. For example, the register should be set to 5 if the CINx inputs are mapped to only six conversion stages. In addition, the STAGE_CAL_EN register should be set according to the number of stages that are used. The number of required conversion stages depends solely on the number of sensors attached to the AD7147. Figure 25 shows how many conversion stages are required for each sensor and how many inputs to the AD7147 each sensor requires.

CAPACITANCE SENSOR OFFSET CONTROL

There are two programmable DACs on board the AD7147 to null the effect of any stray capacitances on the CDC measurement. These offsets are due to stray capacitance to ground.

A simplified block diagram in Figure 23 shows how to apply the STAGEx_AFE_OFFSET registers to null the offsets. The 6-bit POS_AFE_OFFSET and NEG_AFE_OFFSET bits program the offset DAC to provide 0.32 pF resolution offset adjustment over a range of 20 pF.

The best practice is to ensure that the CDC output for any stage is approximately equal to midscale (~32,700) when all sensors are inactive. To correctly offset the stray capacitance to ground for each stage use the following procedure:

1. Read back the CDC value from the CDC_RESULT_Sx register. 2. If this value is not close to midscale, increase the value of

POS_AFE_OFFSET or NEG_AFE_OFFSET (depending on if the CINx input is connected to the positive or negative input of the converter) by 1. The CINx connections are determined by the STAGEx_CONNECTION registers. 3. If the CDC value in CDC_RESULT_Sx is now closer

to midscale, repeat Step 2. If the CDC value is further from midscale, decrease the POS_AFE_OFFSET or NEG_AFE_OFFSET value by 1.

Rev. 0 | Page 14 of 68

元器件交易网www.cecb2b.com

AD7147

A wheel sensor requires eight stages, whereas a slider requires two stages. The result from each stage is used by the host software to determine the user’s position on the slider or wheel. The algorithms that perform this process are available from Analog Devices and are free of charge, but require signing a software license.

A button sensor generally requires one sequencer stage; this is shown in Figure 25 as B1. However, it is possible to configure two button sensors to operate differentially for one conversion stage. Only one button can be activated at a time; pressing both buttons simultaneously results in neither button being activated. The configuration with two button sensors operating differentially requires one conversion stage and is shown in Figure 25, with B2 and B3 representing the differentially configured button sensors.

STAGE11STAGE10STAGE9STAGE8STAGE7STAGE6STAGE5STAGE4STAGE3STAGE2STAGE1STAGE0CIN0CIN1CIN2SWITCH MATRIXCIN4CIN5CIN6CIN7CIN8CIN9CIN10CIN11CIN12CONVERSION SEΣ-Δ16-BITADCQUENCECIN306663-022

Figure 24. CDC Conversion Stages

SEQUENCERSTAGE0+CDC–STAGE1+CDC–STAGE2+CDC–STAGE3+CDC–STAGE4+CDC–STAGE5+CDC–STAGE6+CDC–STAGE7+CDC–AD7147BUTTONSB1SEQUENCERSTAGE8+CDC–STAGE9+CDC–AD7147B2B3SCROLLWHEELSEQUENCERSTAGE10+CDC–STAGE11+CDC–06663-023AD7147SLIDER

Figure 25. Sequencer Setup for Sensors

Rev. 0 | Page 15 of 68

元器件交易网www.cecb2b.com

AD7147

CDC CONVERSION SEQUENCE TIME

Table 10. CDC Conversion Times for Full Power Mode

SEQUENCE_STAGE_NUM Decimation =

0 0.768 1 1.536 2 2.304 3 3.072 4 3.84 5 4.608 6 5.376 7 6.144 8 6.912 9 7.68 10 8.448 11 9.216 Conversion Time (ms) Decimation = 128

1.536 3.072 4.608 6.144 7.68 9.216 10.752 12.288 13.824 15.36 16.6 18.432

Decimation = 256

3.072 6.144 9.216 12.288 15.36 18.432 21.504 24.576 27.8 30.72 33.792 36.8

The time required for the CDC to complete the measurement of all 12 stages is defined as the CDC conversion sequence time. The SEQUENCE_STAGE_NUM and DECIMATION bits determine the conversion time, as listed in Table 10.

For example, if the device is operated with a decimation rate of 128 and the SEQUENCE_STAGE_NUM bit is set to 5 for the conversion of six stages in a sequence, the conversion sequence time is 9.216 ms.

AD7147 automatically wakes up, performing a conversion every 800 ms.

Table 11. LP_CONV_DELAY Settings

LP_CONV_DELAY Bits 00 01 10 11

Delay Between Conversions (ms) 200 400 600 800

Full Power Mode CDC Conversion Sequence Time

The full power mode CDC conversion sequence time for all 12 stages is set by configuring the SEQUENCE_STAGE_NUM and DECIMATION bits as outlined in Table 10.

Figure 26 shows a simplified timing diagram of the full power mode CDC conversion time. The full power mode CDC con-version time (tCONV_FP) is set using the values shown in Table 10.

tCONV_FPCDCCONVERSION06663-024Figure 27 shows a simplified timing example of the low power mode CDC conversion time. As shown, the low power mode CDC conversion time is set by tCONV_FP and the LP_CONV_DELAY bits.

tCONV_LPtCONV_FPCDCCONVERSIONCONVERSIONSEQUENCE NLP_CONV_DELAYCONVERSIONSEQUENCE N + 106663-025

CONVERSIONSEQUENCE NCONVERSIONCONVERSIONSEQUENCE N + 1SEQUENCE N + 2Figure 27. Low Power Mode CDC Conversion Sequence Time

Figure 26. Full Power Mode CDC Conversion Sequence Time

CDC CONVERSION RESULTS

Certain high resolution sensors require the host to read back the CDC conversion results for processing. The registers required for host processing are located in the Bank 3 registers. The host processes the data read back from these registers using a software algorithm in order to determine position information.

In addition to the results registers in the Bank 3 registers, the AD7147 provides the 16-bit CDC output data directly, starting at Address 0x00B of Bank 1. Reading back the CDC 16-bit

conversion data register allows for customer-specific application data processing.

Low Power Mode CDC Conversion Sequence Time with Delay

The frequency of each CDC conversion while operating in the low power automatic wake-up mode is controlled by using the LP_CONV_DELAY bits located at Address 0x000 [3:2] in

addition to the registers listed in Table 10. This feature provides some flexibility for optimizing the tradeoff between the conversion time needed to meet system requirements and the power consumption of the AD7147.

For example, maximum power savings is achieved when the LP_CONV_DELAY bits are set to 11. With a setting of 11, the

Rev. 0 | Page 16 of 68

元器件交易网www.cecb2b.com

AD7147

SINGLE-ENDED CONNECTIONS TO THE CDC

A single-ended connection to the CDC is defined as one CINx input connected to either the positive or negative CDC input for one conversion stage. A differential connection to the CDC is defined as one CINx input connected to the positive CDC input and a second CINx input connected to the negative input of the CDC for one conversion stage.

For any stage, if a single-ended connection to the CDC is made in that stage, the SE_CONNECTION_SETUP bits (Bits [13:12] in the STAGEx_CONNECTION [12:7] register) should be applied as follows: • •

SE_CONNECTION_SETUP = 00: do not use.

SE_CONNECTION_SETUP = 01: single-ended connection. For this stage, there is one CINx connected to the negative CDC input.

SE_CONNECTION_SETUP = 10: single-ended connection. For this stage, there is one CINx connected to the positive CDC input.

SE_CONNECTION_SETUP = 11: differential connection. For this stage, there is one CINx connected to the nega tive CDC input and one CINx connected to the positive CDC input.

CAPACITANCE SENSOR INPUT CONFIGURATION

Each input connection from the external capacitance sensors to the AD7147’s converter can be uniquely configured by using the registers in Bank 2 (see Table 38). These registers are used to configure the input pin connection setups, sensor offsets, sensor sensitivities, and sensor limits for each stage. Each sensor can be individually optimized. For example, a button sensor connected to STAGE0 can have different sensitivity and offset values than a button with another function that is connected to a different stage.

CINx INPUT MULTIPLEXER SETUP

Table 34 and Table 35 list the available options for the CINx_CONNECTION_SETUP bits when the sensor input pins are connected to the CDC.

The AD7147 has an on-chip multiplexer that routes the input signals from each CINx pin to the input of the converter. Each input pin can be tied to either the negative or positive input of the CDC, or it can be left floating. Each input can also be internally connected to the BIAS signal to help prevent cross coupling. If an input is not used, always connect it to the BIAS. Connecting a CINx input pin to the positive CDC input results in an increase in CDC output code when the corresponding sensor is activated. Connecting a CINx input pin to the negative CDC input results in a decrease in CDC output code when the corresponding sensor is activated.

The AD7147 performs a sequence of 12 conversions. The multi-plexer can have different settings for each of the 12 conversions. For example, CIN0 is connected to the negative CDC input for conversion STAGE1, left floating for conversion STAGE1, and so on, for all 12 conversion stages.

For each CINx input for each conversion stage, two bits control how the input is connected to the converter, as shown in Figure 28.

These bits ensure that during a single-ended connection to the CDC, the input paths to both CDC terminals are matched, which in turn improves the power-supply rejection of the converter measurement.

These bits should be applied in addition to setting the other bits in the STAGEx_CONNECTION registers, as outlined in the CINX Input Multiplexer Setup section.

If more than one CINx input is connected to either the positive or negative input of the converter for the same conversion, set SE_CONNECTION_SETUP to 11. For example, if CIN0 and CIN3 are connected to the positive input of the CDC, set SE_CONNECTION_SETUP to 11.

Examples

To connect CIN3 to the positive CDC input on Stage 0 use the following setting:

STAGE0_CONNECTION [6:0] = 0xFFBF STAGE0_CONNECTION [12:7] = 0x2FFF

To connect CIN0 to the positive CDC input and CIN12 to the negative CIN input on Stage 5 use the following settings: STAGE5_CONNECTION [6:0] = 0xFFFE STAGE5_CONNECTION [12:7] = 0x37FF

CIN CONNECTION SETUP BITSCIN0CIN1CIN2CIN3CIN4CIN5CIN6CIN7CIN8CIN9CIN10CIN11CIN1200011011CINSETTINGCINxFLOATINGCINx CONNECTED TONEGATIVE CDC INPUTCINx CONNECTED TOPOSITIVE CDC INPUTCINx CONNECTED TOBIAS+CDC–06663-026

Figure 28. Input Mux Configuration Options

Rev. 0 | Page 17 of 68

元器件交易网www.cecb2b.com

AD7147

by the PROXIMITY_RECAL_LVL bits for a set period of time known as the recalibration timeout. In full power mode, the

recalibration timeout is controlled by FP_PROXIMITY_RECAL; in low power mode, by LP_PROXMTY_RECAL.

The recalibration timeout in full power mode is the value of the FP_PROXIMITY_RECAL multiplied by the time for one con-version sequence in full power mode. The recalibration timeout in low power mode is the value of the LP_PROXIMITY_RECAL multiplied by the time for one conversion sequence in low power mode.

Figure 31 and Figure 32 show examples of how the

FP_PROXIMITY_RECAL and LP_PROXIMITY_RECAL register bits control the timeout period before a recalibration while operating in the full and low power modes. In these examples, a user approaches a sensor and then leaves, but the proximity detection remains active. The measured CDC value exceeds the stored ambient value by the amount set in the PROXIMITY_RECAL_LVL bits for the entire timeout period. The sensor is automatically recalibrated at the end of the timeout period.

NONCONTACT PROXIMITY DETECTION

The AD7147 internal signal processing continuously monitors all capacitance sensors for noncontact proximity detection. This feature provides the ability to detect when a user is approaching a sensor, at which time all internal calibration is immediately disabled while the AD7147 is automatically configured to detect a valid contact.

The proximity control register bits are described in Table 12. The FP_PROXIMITY_CNT and LP_PROXIMITY_CNT register bits control the length of the calibration disable period after the user stops touching the sensor and is not in close proximity to the sensor during full or low power mode. The calibration is disabled during this period and then enabled again. Figure 29 and Figure 30 show examples of how these registers are used to set the calibration disable periods for the full and low power modes. The calibration disable period in full power mode is the value of the FP_PROXIMITY_CNT multiplied by 16 multiplied by the time for one conversion sequence in full power mode. The calibration disable period in low power mode is the value of the LP_PROXIMITY_CNT multiplied by 4 multiplied by the time for one conversion sequence in low power mode.

RECALIBRATION

In certain situations, for example, when a user hovers over a sensor for a long time, the proximity flag can be set for a long period. The environmental calibration on the AD7147 is

suspended while proximity is detected, but changes may occur to the ambient capacitance level during the proximity event. This means that the ambient value stored on the AD7147 no longer represents the actual ambient value. In this case, even when the user is not in close proximity to the sensor, the proximity flag may still be set. This situation can occur if the user interaction creates some moisture on the sensor, causing the new sensor ambient value to be different from the expected value. In this situation, the AD7147 automatically forces a

recalibration internally. This ensures that the ambient values are recalibrated, regardless of how long the user hovers over the sensor. A recalibration ensures maximum AD7147 sensor performance.

The AD7147 recalibrates automatically when the measured CDC value exceeds the stored ambient value by an amount determined

PROXIMITY SENSITIVITY

The fast filter in Figure 33 is used to detect when someone is close to the sensor (proximity). Two conditions, detected by Comparator 1 and Comparator 2, set the internal proximity detection signal: Comparator 1 detects when a user is

approaching or leaving a sensor, and Comparator 2 detects when a user hovers over a sensor or approaches a sensor very slowly.

The sensitivity of Comparator 1 is controlled by the PROXIMITY_DETECTION_RATE bits. For example, if

PROXIMITY_DETECTION_RATE is set to 4, the Proximity 1 signal is set when the absolute difference between WORD1 and WORD3 exceeds (4 × 16) LSB codes.

The sensitivity of Comparator 2 is controlled by the

PROXIMITY_RECAL_LVL bits (Address 0x003). For example, if PROXIMITY_RECAL_LVL is set to 75, the Proximity 2 signal is set when the absolute difference between the fast filter average value and the ambient value exceeds (75 × 16) LSB codes.

Rev. 0 | Page 18 of 68

元器件交易网www.cecb2b.com

AD7147

Length (Bits) 4 4 8 6 8

Table 12. Proximity Control Registers (See Figure 33)

Bit Name

FP_PROXIMITY_CNT LP_PROXIMITY_CNT FP_PROXIMITY_RECAL LP_PROXIMITY_RECAL PROXIMITY_RECAL_LVL

Register Address 0x002 [7:4] 0x002 [11:8] 0x004 [9:0] 0x004 [15:10] 0x003 [7:0] 0x003 [13:8]

Description

Calibration disable time in full power mode. Calibration disable time in low power mode. Full power mode proximity recalibration time. Low power mode proximity recalibration time.

Proximity recalibration level. This value multiplied by 16 controls the sensitivity of Comparator 2 (see Figure 33).

Proximity detection rate. This value multiplied by 16 controls the sensitivity of Comparator 1 (see Figure 33).

PROXIMITY_DETECTION_RATE 6

USER APPROACHESSENSORCDC CONVERSIONSEQUENCE(INTERNAL)USER LEAVESSENSOR AREAtCONV_FP1234567101112131415161718192021222324tCALDISPROXIMITYDETECTION(INTERNAL) CALIBRATION(INTERNAL)CALIBRATION DISABLEDCALIBRATION ENABLED06663-02706663-028

Figure 29. Example of Full Power Mode Proximity Detection (FP_PROXIMITY_CNT = 1)

USER APPROACHESSENSORUSER LEAVESSENSOR AREAtCONV_LPCDC CONVERSIONSEQUENCE(INTERNAL)1234567101112131415161718192021222324tCALDISPROXIMITYDETECTION(INTERNAL) CALIBRATION(INTERNAL)CALIBRATION DISABLEDCALIBRATION ENABLEDNOTES1. SEQUENCE CONVERSION TIMEtCONV_LP =tCONV_FP + LP_CONV_DELAY.2. PROXIMITY IS SET WHEN USER APPROACHES THE SENSOR, AT WHICH TIME THE INTERNAL CALIBRATION IS DISABLED.3.tCALDIS= (tCONV_LP × LP_PROXIMITY_CNT × 4).

Figure 30. Example of Low Power Mode Proximity Detection (LP_PROXIMITY_CNT = 4)

Rev. 0 | Page 19 of 68

元器件交易网www.cecb2b.com

AD7147

USER APPROACHESSENSORUSER LEAVESSENSOR AREACDC CONVERSIONSEQUENCE(INTERNAL)16MEASURED CDC VALUE > STORED AMBIENTBY PROXIMITY_RECAL _LVL30

tRECALtCONV_FP70tCALDISPROXIMITYDETECTION(INTERNAL) CALIBRATION(INTERNAL)CALIBRATION DISABLEDRECALIBRATION TIMEOUTCALIBRATION ENABLED RECALIBRATIONCOUNTER(INTERNAL)NOTES1. SEQUENCE CONVERSION TIMEtCONV_FP (SEE TABLE 10).2.tCALDIS =tCONV_FP× FP_PROXIMITY_CNT × 16.3.tRECAL_TIMEOUT =tCONV_FP × FP_PROXIMITY_RECAL.4.tRECAL = 2 ×tCONV_FP.tRECAL_TIMEOUT06663-029

Figure 31. Example of Full Power Mode Proximity Detection with Forced Recalibration (FP_PROXIMITY_CNT = 1 and FP_PROXIMITY_RECAL = 40)

USER APPROACHESSENSORUSER LEAVESSENSOR AREACDC CONVERSIONSEQUENCE(INTERNAL)16MEASURED CDC VALUE > STORED AMBIENTBY PROXIMITY_RECAL _LVL30tRECALtCONV_LP70PROXIMITYDETECTION(INTERNAL)tCALDIS CALIBRATION(INTERNAL)CALIBRATION DISABLEDRECALIBRATION TIMEOUTCALIBRATION ENABLED RECALIBRATION(INTERNAL)tRECAL_TIMEOUT06663-030NOTES1. SEQUENCE CONVERSION TIMEtCONV_LP =tCONV_FP + LP_CONV_DELAY.2.tCALDIS =tCONV_LP × LP_PROXIMITY_CNT × 4.3.tRECAL_TIMEOUT =tCONV_LP × LP_PROXIMITY_RECAL.4.tRECAL = 2 ×tCONV_LP.

Figure 32. Example of Low Power Mode Proximity Detection with Forced Recalibration (LP_PROXIMITY_CNT = 4 and LP_PROXIMITY_RECAL = 40)

Rev. 0 | Page 20 of 68

元器件交易网www.cecb2b.com

AD7147

Determining the FF_SKIP_CNT value is required only once during the initial setup of the capacitance sensor interface. Table 13 shows how FF_SKIP_CNT controls the update rate of the fast FIFO. The recommended value for the setting when using all 12 conversion stages on the AD7147 is 0000, or no samples skipped.

FF_SKIP_CNT

The proximity detection fast FIFO is used by the on-chip logic to determine if proximity is detected. The fast FIFO expects to receive samples from the converter at a set rate. FF_SKIP_CNT is used to normalize the frequency of the samples going into the FIFO, regardless of how many conversion stages are in a sequence. In Register 0x002, Bits [3:0] are the fast filter skip control, FF_SKIP_CNT. This value determines which CDC samples are not used (skipped) by the proximity detection fast FIFO. Table 13. FF_SKIP_CNT Settings

FF_SKIP _CNT 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

Decimation =

0.768 × (SEQUENCE_STAGE_NUM + 1) ms 1.536 × (SEQUENCE_STAGE_NUM + 1) ms 2.3 × (SEQUENCE_STAGE_NUM + 1) ms 3.072 × (SEQUENCE_STAGE_NUM + 1) ms 3.84 × (SEQUENCE_STAGE_NUM + 1) ms 4.6 × (SEQUENCE_STAGE_NUM + 1) ms 5.376 × (SEQUENCE_STAGE_NUM + 1) ms 6.144 × (SEQUENCE_STAGE_NUM + 1) ms 6.912 × (SEQUENCE_STAGE_NUM + 1) ms 7.68 × (SEQUENCE_STAGE_NUM + 1) ms 8.448 × (SEQUENCE_STAGE_NUM + 1) ms 9.216 × (SEQUENCE_STAGE_NUM + 1) ms 9.984 × (SEQUENCE_STAGE_NUM + 1) ms 10.752 × (SEQUENCE_STAGE_NUM + 1) ms 11.52 × (SEQUENCE_STAGE_NUM + 1) ms 12.288 × (SEQUENCE_STAGE_NUM + 1) ms

FAST FIFO Update Rate

Decimation = 128

1.536 × (SEQUENCE_STAGE_NUM + 1) ms 3.072 × (SEQUENCE_STAGE_NUM + 1) ms 4.608 × (SEQUENCE_STAGE_NUM + 1) ms 6.144 × (SEQUENCE_STAGE_NUM + 1) ms 7.68 × (SEQUENCE_STAGE_NUM + 1) ms 9.216 × (SEQUENCE_STAGE_NUM + 1) ms 10.752 × (SEQUENCE_STAGE_NUM + 1) ms 12.288 × (SEQUENCE_STAGE_NUM + 1) ms 13.824 × (SEQUENCE_STAGE_NUM + 1) ms 15.36 × (SEQUENCE_STAGE_NUM + 1) ms 16.6 × (SEQUENCE_STAGE_NUM + 1) ms 18.432 × (SEQUENCE_STAGE_NUM + 1) ms 19.968 × (SEQUENCE_STAGE_NUM + 1) ms 21.504 × (SEQUENCE_STAGE_NUM + 1) ms 23.04 × (SEQUENCE_STAGE_NUM + 1) ms 24.576 × (SEQUENCE_STAGE_NUM + 1) ms

Decimation = 256

3.072 × (SEQUENCE_STAGE_NUM + 1) ms 6.144 × (SEQUENCE_STAGE_NUM + 1) ms 9.216 × (SEQUENCE_STAGE_NUM + 1) ms 12.288 × (SEQUENCE_STAGE_NUM + 1) ms 15.36 × (SEQUENCE_STAGE_NUM + 1) ms 18.432 × (SEQUENCE_STAGE_NUM + 1) ms 21.504 × (SEQUENCE_STAGE_NUM + 1) ms 24.576 × (SEQUENCE_STAGE_NUM + 1) ms 27.8 × (SEQUENCE_STAGE_NUM + 1) ms 30.72 × (SEQUENCE_STAGE_NUM + 1) ms 33.792 × (SEQUENCE_STAGE_NUM + 1) ms 36.8 × (SEQUENCE_STAGE_NUM + 1) ms 39.936 × (SEQUENCE_STAGE_NUM + 1) ms 43.008 × (SEQUENCE_STAGE_NUM + 1) ms 46.08 × (SEQUENCE_STAGE_NUM + 1) ms 49.152 × (SEQUENCE_STAGE_NUM + 1) ms

Rev. 0 | Page 21 of 68

元器件交易网www.cecb2b.com

AD7147

CDC16STAGEx_FF_WORD0STAGEx_FF_WORD1STAGEx_FF_WORD2STAGEx_FF_WORD3STAGEx_FF_WORD4STAGEx_FF_WORD5STAGEx_FF_WORD6STAGEx_FF_WORD7FP_PROXIMITY_CNTREGISTER 0x002LP_PROXIMITY_CNTREGISTER 0x002

COMPARATOR 1|WORD0 – WORD3|PROXIMITY 1PROXIMITYPROXIMITY TIMINGCONTROL LOGICPROXIMITY_DETECTION_RATEREGISTER 0x003FP_PROXIMITY_RECALREGISTER 0x004PROXIMITY 2LP_PROXIMITY_RECALREGISTER 0x004BANK 3 REGISTERS7WORD(N)ΣN = 08STAGEx_FF_AVGBANK 3 REGISTERSCOMPARATOR 2|AVERAGE – AMBIENT|PROXIMITYSLOW_FILTER_ENCOMPARATOR 3WORD0 – CDC VALUESW1STAGEx_SF_WORD0STAGEx_SF_WORD1STAGEx_SF_WORD2STAGEx_SF_WORD3STAGEx_SF_WORD4STAGEx_SF_WORD5STAGEx_SF_WORD6STAGEx_SF_WORD7CDC OUTPUT CODESTAGEx_FF_WORDxPROXIMITY_RECAL_LVLREGISTER 0x003STAGEx_SF_AMBIENTBANK 3 REGISTERSSTAGEx_SF_WORDxSENSORCONTACTAMBIENTVALUESLOW_FILTER_UPDATE_LVLREGISTER 0x003t06663-031BANK 3 REGISTERSNOTES1. SLOW_FILTER_EN, WHICH IS THE NAME OF THE OUTPUT OF COMPARATOR 3, IS SET AND SW1 IS CLOSED WHEN|STAGEx_SF_WORD0 – CDC VALUE| EXCEEDS THE VALUE PROGRAMMED IN THE SLOW_FILTER_UPDATE_LVL REGISTER PROVIDING PROXIMITY IS NOT SET.2. PROXIMITY 1 IS SET WHEN|STAGEx_FF_WORD0 – STAGEx_FF_WORD3| EXCEEDS THE VALUE PROGRAMMED IN THE PROXIMITY_DETECTION_RATE REGISTER.3. PROXIMITY 2 IS SET WHEN|AVERAGE – AMBIENT|EXCEEDS THE VALUE PROGRAMMED IN THE PROXIMITY_RECAL_LVL REGISTER.4. DESCRIPTION OF COMPARATOR FUNCTIONS: COMPARATOR 1: USED TO DETECT WHEN A USER IS APPROACHING OR LEAVING A SENSOR. COMPARATOR 2: USED TO DETECT WHEN A USER IS HOVERING OVER A SENSOR OR APPROACHING A SENSOR VERY SLOWLY. ALSO USED TO DETECT IF THE SENSOR AMBIENT LEVEL HAS CHANGED AS A RESULT OF THE USER INTERACTION. FOR EXAMPLE, HUMIDITY OR DIRT LEFT BEHIND ON SENSOR. COMPARATOR 3: USED TO ENABLE THE SLOW FILTER UPDATE RATE. THE SLOW FILTER IS UPDATED WHEN SLOW_FILTER_EN IS SET AND PROXIMITY IS NOT SET.

Figure 33. AD7147 Proximity-Detection Logic

Rev. 0 | Page 22 of 68

元器件交易网www.cecb2b.com

AD7147

SENSOR 1 INTASSERTEDSTAGEx_HIGH_THRESHOLDCDC OUTPUT CODESENVIRONMENTAL CALIBRATION

The AD7147 provides on-chip capacitance sensor calibration to automatically adjust for environmental conditions that have an effect on the ambient levels of the capacitance sensor. The output levels of the capacitance sensor are sensitive to temperature, humidity, and, in some cases, dirt.

The AD7147 achieves optimal and reliable sensor

performance by continuously monitoring the CDC ambient levels and compensating for any environmental changes by adjusting the values of the STAGEx_HIGH_THRESHOLD and STAGEx_LOW_THRESHOLD registers as described in Equation 1 and Equation 2. The CDC ambient level is defined as the output level of the capacitance sensor during periods when the user is not approaching or in contact with the sensor. After the AD7147 is configured, the compensation logic runs automatically with each conversion when the AD7147 is not being touched. This allows the AD7147 to compensate for rapidly changing environmental conditions.

The ambient compensation control registers provide the host with access to general setup and controls for the compensation algorithm. On-chip RAM stores the compensation data for each conversion stage, as well as setup information specific for each stage. Figure 34 shows an example of the ideal behavior of a capacitance sensor, where the CDC ambient level remains constant regardless of the environmental conditions. The CDC output shown is for a pair of differential button sensors, where one sensor caused an increase and the other caused a decrease in measured capacitance when activated. The positive and

negative sensor threshold levels are calculated as a percentage of the STAGEx_OFFSET_HIGH and STAGEx_OFFSET_LOW values and are based on the threshold sensitivity settings and the ambient value. These values are sufficient to detect a sensor contact and result in the AD7147 asserting the INT output when the threshold levels are exceeded.

CDC AMBIENT VALUESTAGEx_LOW_THRESHOLDSENSOR 2 INTASSERTEDtCHANGING ENVIRONMENTAL CONDITIONS06663-032

Figure 34. Ideal Sensor Behavior with a Constant Ambient Level

CAPACITANCE SENSOR BEHAVIOR WITHOUT CALIBRATION

Figure 35 shows the typical behavior of a capacitance sensor when calibration is not applied. This figure shows ambient

levels drifting over time as environmental conditions change. As a result of the initial threshold levels remaining constant while the ambient levels drift upward, Sensor 2 fails to detect a user contact in this example.

The Capacitance Sensor Behavior with Calibration section describes how the AD7147 adaptive calibration algorithm prevents such errors from occurring.

SENSOR 1 INTASSERTEDSTAGEx_HIGH_THRESHOLDCDC OUTPUT CODESCDC AMBIENTVALUE DRIFTINGSTAGEx_LOW_THRESHOLDSENSOR 2 INTNOT ASSERTEDtCHANGING ENVIRONMENTAL CONDITIONS06663-033

Figure 35. Typical Sensor Behavior Without Calibration

STAGEx_OFFSET_HIGH⎞⎞⎛⎛

⎜⎜STAGEx_OFFSET_HIGH−⎟⎟

STAGEx_OFFSET_HIGH⎞⎠⎟×⎝4⎛⎜STAGEx_HIGH_THRESHOLD=STAGEx_SF_AMBIENT+⎜POS_THRESHOLD_SENSITIVITY⎟+

⎟⎠⎜⎝416

⎜⎟⎝⎠

Equation 1. On-Chip Logic Stage High Threshold Calculation

STAGEx_OFFSET_LOW⎞⎞⎛⎛

⎜⎜STAGEx_OFFSET_LOW−⎟⎟

STAGEx_OFFSET_LOW⎞⎠⎟⎝4⎛⎜STAGEx_LOW_THRESHOLD=STAGEx_SF_AMBIENT+⎜×NEG_THRESHOLD_SENSITIVITY⎟+

⎟⎠⎜⎝416

⎜⎟⎝⎠

Equation 2. On-Chip Logic Stage Low Threshold Calculation

Rev. 0 | Page 23 of 68

元器件交易网www.cecb2b.com

AD7147

AVG_FP_SKIP and AVG_LP_SKIP

In Register 0x001, Bits [13:12] are the slow FIFO skip control for full power mode, AVG_FP_SKIP. Bits [15:14] in the same register are the slow FIFO skip control for low power mode, AVG_LP_SKIP, and determine which CDC samples are not used (skipped) in the slow FIFO. Changing the values of the AVG_FP_SKIP and AVG_LP_SKIP bits slows down or speeds up the rate at which the ambient capacitance value tracks the measured capacitance value read by the converter: •

Slow FIFO update rate in full power mode = AVG_FP_SKIP × [(3 × Decimation Rate) × (SEQUENCE_STAGE_NUM + 1) × (FF_SKIP_CNT + 1) × 4 × 10−7].

Slow FIFO update rate in low power mode = (AVG_LP_SKIP + 1) × [(3 × Decimation Rate) × (SEQUENCE_STAGE_NUM + 1) × (FF_SKIP_CNT + 1) × 4 x 10−7]/[(FF_SKIP_CNT + 1) + LP_CONV_DELAY].

CAPACITANCE SENSOR BEHAVIOR WITH CALIBRATION

The AD7147 on-chip adaptive calibration algorithm prevents sensor detection errors such as the one shown in Figure 35. This is achieved by monitoring the CDC ambient levels and readjusting the initial STAGEx_OFFSET_HIGH and STAGEx_OFFSET_LOW values according to the amount of ambient drift measured on each sensor. Based on the new stage offset values, the internal STAGEx_HIGH_THRESHOLD and STAGEx_LOW_THRESHOLD values described in Equation 1 and Equation 2 are automatically updated. This closed-loop routine ensures the reliability and repeatable operation of every sensor connected to the AD7147 when they are subjected to dynamic environmental conditions. Figure 36 shows a simplified example of how the AD7147 applies the adaptive calibration process, resulting in no interrupt errors even with changing CDC ambient levels due to dynamic environmental conditions.

SENSOR 1 INTASSERTED213STAGEx_HIGH_THRESHOLD(POSTCALIBRATEDREGISTER VALUE)•

CDC OUTPUT CODESThe slow FIFO is used by the on-chip logic to track the ambient capacitance value. The slow FIFO expects to receive samples from the converter at a rate between 33 ms and 40 ms. AVG_FP_SKIP and AVG_LP_SKIP are used to normalize the frequency of the samples going into the FIFO, regardless of how many conversion stages are in a sequence.

Determining the AVG_FP_SKIP and AVG_LP_SKIP values is required only once during the initial setup of the capacitance sensor interface. The recommended values for these settings when using all 12 conversion stages on the AD7147 are as follows: • •

AVG_FP_SKIP = 00 = skip three samples AVG_LP_SKIP = 00 = skip zero samples

CDC AMBIENTVALUE DRIFTING654SENSOR 2 INTASSERTEDCHANGING ENVIRONMENTAL CONDITIONStSTAGEx_LOW_THRESHOLD(POSTCALIBRATEDREGISTER VALUE)SLOW_FILTER_UPDATE_LVL

The SLOW_FILTER_UPDATE_LVL controls whether the most recent CDC measurement goes into the slow FIFO (slow filter). The slow filter is updated when the difference between the

current CDC value and the last value of the slow FIFO is greater than the value of SLOW_FILTER_UPDATE_LVL. This variable is in Ambient Control Register 1 (AMB_COMP_CTRL1) (Address 0x003).

Figure 36. Typical Sensor Behavior with Calibration Applied on the Data Path

SLOW FIFO

As shown in Figure 33, there are a number of FIFOs

implemented on the AD7147. These FIFOs are located in

Bank 3 of the on-chip memory. The slow FIFOs are used by the on-chip logic to monitor the ambient capacitance level from each sensor.

Rev. 0 | Page 24 of 68

06663-0341INITIAL STAGEx_OFFSET_HIGH REGISTER VALUE.2POSTCALIBRATED REGISTER STAGEx_HIGH_THRESHOLD.3POSTCALIBRATED REGISTER STAGEx_HIGH_THRESHOLD.4INITIAL STAGEx_LOW_THRESHOLD.5POSTCALIBRATED REGISTER STAGEx_LOW_THRESHOLD.6POSTCALIBRATED REGISTER STAGEx_LOW_THRESHOLD.元器件交易网www.cecb2b.com

AD7147

result in a large average maximum or minimum value, whereas a small finger will result in smaller values. When the average maximum or minimum value changes, the threshold levels are rescaled to ensure that the threshold levels are appropriate for the current user. Figure 38 shows how the minimum and maximum sensor responses are tracked by the on-chip logic. Reference A in Figure 37 shows a less sensitive threshold level for a user with small fingers and demonstrates the disadvantages of a fixed threshold level.

By enabling the adaptive threshold and sensitivity algorithm, the positive and negative threshold levels are determined by the POS_THRESHOLD_SENSITIVITY and NEG_THRESHOLD_ SENSITIVITY bit values and by the most recent average

maximum sensor output value. These bits can be used to select 16 different positive and negative sensitivity levels ranging between 25% and 95.32% of the most recent average maximum output level referenced from the ambient value. The smaller the

sensitivity percentage setting, the easier it is to trigger a sensor activation. Reference B shows that the positive adaptive threshold level is set at almost mid-sensitivity with a 62.51% threshold level by setting POS_THRESHOLD_ SENSITIVITY = 1000. Figure 37 also provides a similar example for the negative threshold level, with NEG_THRESHOLD_SENSITIVITY = 0011.

AVERAGE MAXIMUM VALUE 95.32%STAGEx_OFFSET_HIGHIS UPDATEDAVERAGE MAXIMUM VALUESTAGEx_OFFSET_HIGH95.32%STAGEx_OFFSET_HIGHIS UPDATED62.51% =POS_THRESHOLD_SENSITIVITYAMBIENT LEVEL25%NEG_THRESHOLD_SENSITIVITY = 39.08%STAGEx_OFFSET_LOW95.32%STAGEx_OFFSET_LOWIS UPDATED 25% 25%25%BAADAPTIVE THRESHOLD AND SENSITIVITY

The AD7147 provides an on-chip, self-adjusting adaptive threshold and sensitivity algorithm. This algorithm continu-ously monitors the output levels of each sensor and automatically rescales the threshold levels in proportion to the sensor area covered by the user. As a result, the AD7147 maintains optimal threshold and sensitivity levels for all users regardless of their finger sizes.

The threshold level is always referenced from the ambient level and is defined as the CDC converter output level that must be exceeded before a valid sensor contact can occur. The sensitivity level is defined as how sensitive the sensor must be before a valid contact can be registered.

Figure 37 provides an example of how the adaptive threshold and sensitivity algorithm works. The positive and negative sensor threshold levels are calculated as a percentage of the STAGEx_OFFSET_HIGH and STAGEx_OFFSET_LOW values and are based on the threshold sensitivity settings and the ambient value. After the AD7147 is configured, initial estimates are supplied for both STAGEx_OFFSET_HIGH and STAGEx_OFFSET_LOW, and then the calibration engine automatically adjusts the STAGEx_HIGH_THRESHOLD and STAGEx_LOW_THRESHOLD values for sensor response. The AD7147 tracks the average maximum and minimum values measured from each sensor. These values provide an indication of how the user is interacting with the sensor. A large finger will

CDC OUTPUT CODES 62.51% =POS_THRESHOLD_SENSITIVITYNEG_THRESHOLD_SENSITIVITY = 39.08%STAGEx_OFFSET_LOWIS UPDATED 95.32%SENSOR CONTACTEDBY SMALL FINGERSENSOR CONTACTEDBY LARGE FINGER06663-035

Figure 37. Example of Threshold Sensitivity (POS_THRESHOLD_SENSITIVITY = 1000, NEG_THRESHOLD_SENSITIVITY = 0011)

Rev. 0 | Page 25 of 68

元器件交易网www.cecb2b.com

AD7147

STAGEx_MAX_WORD0STAGEx_MAX_WORD1STAGEx_MAX_WORD2STAGEx_MAX_WORD3Σ-Δ16-BITCDC16MAXIMUMLEVELDETECTIONLOGICSTAGEx_MAX_AVGBANK 3 REGISTERSSTAGEx_MAX_TEMPBANK 3 REGISTERSSTAGEx_HIGH_THRESHOLDBANK 3 REGISTERSSTAGEx_MIN_WORD0STAGEx_MIN_WORD1STAGEx_MIN_WORD2STAGEx_MIN_WORD3MINIMUMLEVELDETECTIONLOGICSTAGEx_MIN_AVGBANK 3 REGISTERSSTAGEx_MIN_TEMPBANK 3 REGISTERSSTAGEx_LOW_THRESHOLDBANK 3 REGISTERS06663-036

BANK 3 REGISTERSBANK 3 REGISTERS

Figure 38. Tracking the Minimum and Maximum Average Sensor Values

Table 14. Additional Information About Environmental Calibration and Adaptive Threshold Registers

Register/Bit

NEG_THRESHOLD_SENSITIVITY NEG_PEAK_DETECT

Register Location Bank 2 Bank 2

Description

Used in Equation 2. This value is programmed once at startup. Used by internal adaptive threshold logic only.

The NEG_PEAK_DETECT is set to a percentage of the difference between the ambient CDC value and the minimum average CDC value. If the output of the CDC approaches the NEG_PEAK_DETECT percentage of the minimum average, the minimum average value is updated. Used in Equation 1. This value is programmed once at startup. Used by internal adaptive threshold logic only.

The POS_PEAK_DETECT is set to a percentage of the difference between the ambient CDC value and the maximum average CDC value. If the output of the CDC approaches the POS_PEAK_DETECT percentage of the maximum average, the maximum average value is updated. Used in Equation 2. An initial value (based on sensor characterization) is programmed into this register at startup. The AD7147 on-chip calibration algorithm automatically updates this register based on the amount of sensor drift due to changing ambient conditions. Set this register to 80% of the STAGEx_OFFSET_LOW_CLAMP value.

Used in Equation 1. An initial value (based on sensor characterization) is programmed into this register at startup. The AD7147 on-chip calibration algorithm automatically updates this register based on the amount of sensor drift due to changing ambient conditions. Set this register to 80% of the STAGEx_OFFSET_HIGH_CLAMP value.

Used by internal environmental calibration and adaptive threshold algorithms only.

An initial value (based on sensor characterization) is programmed into this register at startup. The value in this register prevents a user from causing a sensor’s output value to exceed the expected nominal value.

Set this register to the maximum expected sensor response or the maximum change in CDC output code.

Used by internal environmental calibration and adaptive threshold algorithms only.

An initial value (based on sensor characterization) is programmed into this register at startup. The value in this register prevents a user from causing a sensor’s output value to exceed the expected nominal value.

Set this register to the minimum expected sensor response or the minimum change in CDC output code.

Used in Equation 1 and Equation 2. This is the ambient sensor output when the sensor is not touched, as calculated using the slow FIFO. Equation 1 value. Equation 2 value.

POS_THRESHOLD_SENSITIVITY POS_PEAK_DETECT Bank 2 Bank 2

STAGEx_OFFSET_LOW Bank 2

STAGEx_OFFSET_HIGH Bank 2

STAGEx_OFFSET_HIGH_CLAMP Bank 2

STAGEx_OFFSET_LOW_CLAMP Bank 2

STAGEx_SF_AMBIENT STAGEx_HIGH_THRESHOLD STAGEx_LOW_THRESHOLD

Bank 3 Bank 3 Bank 3

Rev. 0 | Page 26 of 68

元器件交易网www.cecb2b.com

AD7147

Configuring the AD7147 into this mode results in the interrupt being asserted when the user makes contact with the sensor and again when the user stops touching the sensor. The second interrupt is required to alert the host processor that the user is no longer contacting the sensor.

The registers located at Address 0x005 and Address 0x006 are used to enable the interrupt output for each stage. The registers located at Address 0x008 and Address 0x009 are used to read back the interrupt status for each stage.

Figure 39 shows the interrupt output timing during contact with one of the sensors connected to STAGE0 while operating in the sensor-touch interrupt mode. For a low limit configuration, the interrupt output is asserted as soon as the sensor is contacted and again after the user has stopped contacting the sensor. (Note that the interrupt output remains low until the host processor reads back the interrupt status registers located at Address 0x008 and Address 0x009.)

The interrupt output is asserted when there is a change in the interrupt status bits. This can indicate that a user is touching the sensor(s) for the first time, the number of sensors being touched has changed, or the user is no longer touching the sensor(s). Reading the status bits in the interrupt status register shows the current sensor activations.

FINGER ON SENSORFINGER OFF SENSOR13INTERRUPT OUTPUT

The AD7147 has an interrupt output that triggers an interrupt service routine on the host processor. The INT signal is on Pin 17 and is an open-drain output. There are three types of interrupt events on the AD7147: a CDC conversion-complete interrupt, a sensor touch interrupt, and a GPIO interrupt. Each interrupt has enable and status registers. The conversion-complete and sensor-touch (sensor-activation) interrupts can be enabled on a per-conversion-stage basis. The status registers indicate what type of interrupt triggered the INT pin. Status registers are cleared, and the INT signal is reset high during a read operation. The signal returns high as soon as the read address has been set up.

CDC CONVERSION-COMPLETE INTERRUPT

The AD7147 interrupt signal asserts low to indicate the completion of a conversion stage and that new conversion result data is available in the registers.

The interrupt can be independently enabled for each conversion stage. Each conversion-stage-complete interrupt can be enabled via the STAGE_COMPLETE_INT_ENABLE register (Address 0x007). This register has a bit that corresponds to each conversion stage. Setting this bit to 1 enables the interrupt for that stage. Clearing this bit to 0 disables the conversion-complete interrupt for that stage. The AD7147 interrupt should be enabled only for the last stage in a conversion sequence. For example, if there are five

conversion stages, only the conversion-complete interrupt for STAGE4 is enabled. Therefore, INT only asserts when all five conversion stages are complete and the host can read new data from all five result registers. The interrupt is cleared by reading the STAGE_COMPLETE_INT_STATUS register located at Address 0x00A.

Register 0x00A is the conversion-complete interrupt status register. Each bit in this register corresponds to a conversion stage. If a bit is set, it means that the conversion-complete interrupt for the corresponding stage was triggered. This

register is cleared upon a read if the underlying condition that triggered the interrupt is not present.

CONVERSIONSTAGESTAGE0STAGE12SERIALREADBACK4INT OUTPUT1USER TOUCHING SENSOR.2ADDRESS 0x008 IS READ BACK TO CLEAR INTERRUPT.3USER STOPS TOUCHING SENSOR.4ADDRESS 0x008 IS READ BACK TO CLEAR INTERRUPT.06663-037

SENSOR-TOUCH INTERRUPT

The sensor-touch interrupt mode is implemented when the host processor requires an interrupt only when a sensor is contacted.

Figure 39. Example of Sensor-Touch Interrupt

Rev. 0 | Page 27 of 68

元器件交易网www.cecb2b.com

AD7147

CONVERSIONSSTAGE0STAGE1STAGE2STAGE3STAGE4STAGE5STAGE6STAGE7STAGE8STAGE9STAGE10STAGE11

INT1SERIALREADSNOTESTHIS IS AN EXAMPLE OF A CDC CONVERSION-COMPLETE INTERRUPT.23THIS TIMING EXAMPLE SHOWS THAT THE INTERRUPT OUTPUT HAS BEEN ENABLED TO BE ASSERTED AT THE END OF A CONVERSION CYCLE FORSTAGE0, STAGE5, AND STAGE9. THE INTERRUPTS FOR ALL OTHER STAGES HAVE BEEN DISABLED.STAGEx CONFIGURATION PROGRAMMING NOTES FOR STAGE0, STAGE5, AND STAGE9 (x = 0, 5, 9):STAGEx_LOW_INT_ENABLE (ADDRESS 0x005) = 0STAGEx_HIGH_INT_ENABLE (ADDRESS 0x006) = 0STAGEx_COMPLETE_INT_ENABLE (ADDRESS 0x007) = 1STAGEx CONFIGURATION PROGRAMMING NOTES FOR STAGE1 THROUGH STAGE8, STAGE10, AND STAGE11 (x = 1, 2, 3, 4, 5, 6, 7, 8, 10, 11):STAGEx_LOW_INT_ENABLE (ADDRESS 0x005) = 0STAGEx_HIGH_INT_ENABLE (ADDRESS 0x006) = 0STAGEx_COMPLETE_INT_ENABLE (ADDRESS 0x007) = 0SERIAL READBACK REQUIREMENTS FOR STAGE0, STAGE5, AND STAGE9 (THIS READBACK OPERATION IS REQUIRED TO CLEAR THE INTERRUPT OUTPUT.):1READ THE STAGE0_COMPLETE_INT_STATUS (ADDRESS 0x00A) BIT2READ THE STAGE5_COMPLETE_INT_STATUS (ADDRESS 0x00A) BIT3READ THE STAGE9_COMPLETE_INT_STATUS (ADDRESS 0x00A) BIT06663-03806663-039

Figure 40. Example of Configuring the Registers for Conversion-Complete Interrupt Setup

CONVERSIONSSTAGE0STAGE1STAGE2STAGE3STAGE4STAGE5STAGE6STAGE7STAGE8STAGE9STAGE10STAGE11INT1SERIALREADS42NOTESTHIS IS AN EXAMPLE OF A SENSOR-TOUCH INTERRUPT FOR A CASE WHERE THE LOW THRESHOLD LEVELS WERE EXCEEDED.FOR EXAMPLE, THE SENSOR CONNECTED TO STAGE0 AND STAGE9 WERE CONTACTED, AND THE LOW THRESHOLD LEVELS WERE EXCEEDED, RESULTINGIN THE INTERRUPT BEING ASSERTED. THE STAGE6 INTERRUPT WAS NOT ASSERTED BECAUSE THE USER DID NOT CONTACT THE SENSOR CONNECTED TOSTAGE6.STAGEx CONFIGURATION PROGRAMMING NOTES FOR STAGE0, STAGE6, AND STAGE9 (x = 0, 6, 9):STAGEx_LOW_INT_ENABLE (ADDRESS 0x005) = 1STAGEx_HIGH_INT_ENABLE (ADDRESS 0x006) = 0STAGEx_COMPLETE_INT_ENABLE (ADDRESS 0x007) = 0STAGEx CONFIGURATION PROGRAMMING NOTES FOR STAGE1 THROUGH STAGE7, STAGE8, STAGE10, AND STAGE11 (x = 1, 2, 3, 4, 5, 6, 7, 8, 10, 11):STAGEx_LOW_INT_ENABLE (ADDRESS 0x005) = 0STAGEx_HIGH_INT_ENABLE (ADDRESS 0x006) = 0STAGEx_COMPLETE_INT_ENABLE (ADDRESS 0x007) = 0SERIAL READBACK REQUIREMENTS FOR STAGE0 AND STAGE9 (THIS READBACK OPERATION IS REQUIRED TO CLEAR THE INTERRUPT OUTPUT.):1READ THE STAGE0_LOW_INT_STATUS (ADDRESS 0x008) BIT2READ THE STAGE5_LOW_INT_STATUS (ADDRESS 0x008) BIT

Figure 41. Example of Configuring the Registers for Sensor-Touch Interrupt Setup

Rev. 0 | Page 28 of 68

元器件交易网www.cecb2b.com

AD7147

interrupt. This bit is set to 1 when the GPIO has triggered INT. The bit is cleared upon reading the GPIO_INT_STATUS bit if the condition that caused the interrupt is no longer present. The GPIO interrupt can be set to trigger on a rising edge,

falling edge, high level, or low level at the GPIO input pin. Table 15 shows how the settings of the GPIO_INPUT_CONFIG bits in the interrupt enable (STAGE_LOW_INT_ENABLE) register affect the behavior of INT.

Figure 42 to Figure 45 show how the interrupt output is cleared upon a read from the GPIO_INT_STATUS bit.

1SERIALREADBACKGPIO INPUT HIGH WHEN REGISTER IS READ BACKGPIO INT OUTPUT CONTROL

The INT output signal can be controlled by the GPIO pin when the GPIO is configured as an input. The GPIO is configured as an input by setting the GPIO_SETUP bits in the interrupt configuration register to 01. See the GPIO section for more information on how to configure the GPIO.

Enable the GPIO interrupt by setting the GPIO_INT_ENABLE bit in Register 0x007 to 1, or disable the GPIO interrupt by clearing this bit to 0. The GPIO status bit in the conversion-complete interrupt status register reflects the status of the GPIO

1SERIALREADBACKGPIO INPUT HIGH WHEN REGISTER IS READ BACKGPIOINPUTGPIOINPUTINTOUTPUTINTOUTPUTGPIO INPUT LOW WHEN REGISTER IS READ BACKGPIOINPUTGPIO INPUT LOW WHEN REGISTER IS READ BACKGPIOINPUTINTOUTPUTINTOUTPUT06663-0401READ GPIO_INT_STATUS BIT TO RESET INT OUTPUT.

1READ GPIO_INT_STATUS BIT TO RESET INT OUTPUT.06663-041

Figure 42. Example of INT Output Controlled by the GPIO Input

(GP IO_SETUP = 01, GPIO_INPUT_CONFIG = 00) Figure 43. Example of INT Output Controlled by the GPIO Input

(GPIO_SETUP = 01, GPIO_INPUT_CONFIG = 01)

Rev. 0 | Page 29 of 68

元器件交易网www.cecb2b.com

AD7147

1SERIALREADBACKGPIO INPUT LOW WHEN REGISTER IS READ BACKGPIOINPUTSERIALREADBACKGPIO INPUT LOW WHEN REGISTER IS READ BACK1

GPIOINPUTINTOUTPUTINTOUTPUTGPIO INPUT HIGH WHEN REGISTER IS READ BACKGPIOINPUTGPIO INPUT HIGH WHEN REGISTER IS READ BACKGPIOINPUTINTOUTPUTINTOUTPUTNN1READ GPIO_INT_STATUS BIT TO RESET INT OUTPUT.N06663-042

NOTES1READ GPIO_INT_STATUS BIT TO RESET INT OUTPUT.06663-043

Figure 44. Example of INT Output Controlled by the GPIO Input

(GPIO_SETUP = 01, GPIO_INPUT_CONFIG = 10) Figure 45. Example of INT Output Controlled by the GPIO Input

(GPIO_SETUP = 01, GPIO_INPUT_CONFIG = 11)

Table 15. GPIO Interrupt Behavior INTGPIO_IPUT_COFIG GPIO Pin GPIO_IT_STATUS 00 = Negative Level Triggered 1 0 1 00 = Negative Level Triggered 0 1 0 01 = Positive Edge Triggered 1 1 0 01 = Positive Edge Triggered 0 0 1 10 = Negative Edge Triggered 1 0 1 10 = Negative Edge Triggered 0 1 0 11 = Positive Level Triggered 1 1 0 11 = Positive Level Triggered 0 0 1 INT Behavior Not triggered Asserted while signal on GPIO pin is low Pulses low at low-to-high GPIO transition Not triggered Pulses low at high-to-low GPIO transition Not triggered Asserted while signal on GPIO pin is high Not triggered Rev. 0 | Page 30 of 68

元器件交易网www.cecb2b.com

AD7147

When the GPIO is configured as an output, the voltage level on the pin is set to either a low level or a high level, as defined by the GPIO_SETUP bits (see Table 16).

The GPIO_INPUT_CONFIG bits in the interrupt enable register determine the response of the AD7147 to a signal on the GPIO pin when the GPIO is configured as an input. The GPIO can be configured as either active high or active low, as well as either edge triggered or level triggered (see Table 17). Table 17. GPIO_INPUT_CONFIG Bits

GPIO_IPUT_COFIG GPIO Configuration 00 Triggered on negative level (active low) 01 Triggered on positive edge (active high) 10 Triggered on negative edge (active low) 11 Triggered on positive level (active high)

OUTPUTS

ACSHIELD OUTPUT

The AD7147 measures capacitance between CINx and ground. Any capacitance to ground on the signal path between the CINx pins and the sensor is included in the AD7147 conversion result.

I

To eliminate stray capacitance to ground, the ACSHIELD signal should I

be used to shield the connection between the sensor and CINx, as shown in Figure 46. The plane around the sensors should also be connected to ACSHIELD.

CIN0CIN1CIN2CIN3AD7147SENSOR PCBACSHIELD06663-044

Figure 46. ACSHIELD

The ACSHIELD output is the same signal waveform as the excitation signal on CINx. Therefore, there is no ac current between CINx and ACSHIELD, and any capacitance between these pins does not affect the CINx charge transfer.

Using ACSHIELD eliminates capacitance-to-ground pickup, which means that the AD7147 can be placed up to 60 cm away from the sensors. This allows the AD7147 to be placed on a separate PCB than that of the sensors if the connections between the sensors and the CINx inputs are correctly shielded using ACSHIELD.

When GPIO is configured as an input, it triggers the interrupt output on the AD7147. Table 15 lists the interrupt output behavior for each of the GPIO configuration setups.

USING THE GPIO TO TURN ON/OFF AN LED

The GPIO on the AD7147 can be used to turn on and off an NN

LED by setting the GPIO as either output high or low. Setting the GPIO output high turns on the LED; setting the GPIO output low turns off the LED. The GPIO pin connects to a transistor that provides the drive current for the LED. Suitable transistors include the KTC3875 from Korea Electronics Co., Ltd. (KEC).

VKTC3875CCOR SIMILARGPIO

The AD7147 has one GPIO pin. It can be configured as an input or an output. The GPIO_SETUP Bits [13:12] in the interrupt enable register determine how the GPIO pin is configured. Table 16. GPIO_SETUP Bits

GPIO_SETUP GPIO Configuration 00 GPO disabled 01 nput 10 Output low 11 Output high

AD7147GPIO06663-045

Figure 47. Controlling an LED Using the GPIO

Rev. 0 | Page 31 of 68

元器件交易网www.cecb2b.com

AD7147

Bits [15:11] of the command word must be set to 11100 to successfully begin a bus transaction.

Bit 10 is the read/write bit; 1 indicates a read, and 0 indicates a write.

Bits [9:0] contain the target register address. When reading or writing to more than one register, this address indicates the address of the first register to be written to or read from.

SERIAL INTERFACE

The AD7147 is available with an SPI-compatible interface. The AD7147-1 is available with an I2C-compatible interface. Both parts are the same, with the exception of the serial interface.

SPI INTERFACE

The AD7147 has a 4-wire serial peripheral interface (SPI). The SPI has a data input pin (SDI) for inputting data to the device, a data output pin (SDO) for reading data back from the device, and a data clock pin (SCLK) for clocking data into and out of the device. A chip select pin (CS) enables or disables the serial interface. CS is required for correct operation of the SPI. Data is clocked out of the AD7147 on the negative edge of SCLK, and data is clocked into the device on the positive edge of SCLK.

Writing Data

Data is written to the AD7147 in 16-bit words. The first word written to the device is the command word, with the read/write bit set to 0. The master then supplies the 16-bit input data-word on the SDI line. The AD7147 clocks the data into the register addressed in the command word. If there is more than one word of data to be clocked in, the AD7147 automatically incre-ments the address pointer and clocks the subsequent data-word into the next register.

The AD7147 continues to clock in data on the SDI line until either the master finishes the write transition by pulling CS high or the address pointer reaches its maximum value. The AD7147 address pointer does not wrap around. When it reaches its maximum value, any data provided by the master on the SDI line is ignored by the AD7147.

SPI Command Word

All data transactions on the SPI bus begin with the master taking CS from high to low and sending out the command

word. This indicates to the AD7147 whether the transaction is a read or a write and provides the address of the register from which to begin the data transfer. The following bit map shows the SPI command word.

MSB LSB 15 14 13 12 11 10 9:0 1 1 1 0 0 R/WRegister address

16-BIT COMMAND WORDENABLE WORDSDICW15CW14CW13CW12CW11R/WCW10CW9CW8CW7REGISTER ADDRESSCW6CW5CW4CW3CW2CW1CW0D15D14D1316-BIT DATAD2D1D0t2SCLK12t3345t4678t5910111213141516171819303132t1CSt806663-046NOTES1. SDI BITS ARE LATCHED ON SCLK RISING EDGES. SCLK CAN IDLE HIGH OR LOW BETWEEN WRITE OPERATIONS.2. ALL 32 BITS MUST BE WRITTEN: 16 BITS FOR THE CONTROL WORD AND 16 BITS FOR THE DATA.3. 16-BIT COMMAND WORD SETTINGS FOR SERIAL WRITE OPERATION: CW [15:11] = 11100 (ENABLE WORD) CW [10] = 0 (R/W) CW [9:0] = [AD9, AD8, AD7, AD6, AD5, AD4, AD3, AD2, AD1, AD0] (10-BIT MSB-JUSTIFIED REGISTER ADDRESS)

Figure 48. Single Register Write SPI Timing

Rev. 0 | Page 32 of 68

元器件交易网www.cecb2b.com

16-BIT COMMAND WORDENABLE WORDSDICW15CW14CW13CW12CW11AD7147

R/WCW10CW9CW8STARTING REGISTER ADDRESSCW7CW6CW5CW4CW3CW2CW1CW0DATA FOR STARTINGREGISTER ADDRESSD15D14D1D0DATA FOR NEXTREGISTER ADDRESSD15D14D1D0D15SCLK123456710111213141516171831323334474849CSNOTES1. MULTIPLE SEQUENTIAL REGISTERS CAN BE LOADED CONTINUOUSLY.2. THE FIRST (LOWEST ADDRESS) REGISTER ADDRESS IS WRITTEN, FOLLOWED BY MULTIPLE 16-BIT DATA-WORDS.3. THE ADDRESS AUTOMATICALLY INCREMENTS WITH EACH 16-BIT DATA-WORD (ALL 16 BITS MUST BE WRITTEN).4. CS IS HELD LOW UNTIL THE LAST DESIRED REGISTER HAS BEEN LOADED.5. 16-BIT COMMAND WORD SETTINGS FOR SEQUENTIAL WRITE OPERATION: CW [15:11] = 11100 (ENABLE WORD) CW [10] = 0 (R/W) CW [9:0] = [AD9, AD8, AD7, AD6, AD5, AD4, AD3, AD2, AD1, AD0] (STARTING MSB-JUSTIFIED REGISTER ADDRESS)06663-047

Figure 49. Sequential Register Write SPI Timing

16-BIT COMMAND WORDENABLE WORDSDICW15CW14CW13CW12CW11R/WCW10CW9CW8CW7REGISTER ADDRESSCW6CW5CW4CW3CW2CW1CW0XXXXXXt2SCLK12345t4678t5910111213141516171819303132t1CSt3t8t6SDOXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXD15D14D13D2D1t7D0XXX16-BIT READBACK DATANOTES1. SDI BITS ARE LATCHED ON SCLK RISING EDGES. SCLK CAN IDLE HIGH OR LOW BETWEEN WRITE OPERATIONS.2. THE 16-BIT CONTROL WORD MUST BE WRITTEN ON SDI: 5 BITS FOR ENABLE WORD, 1 BIT FOR R/W, AND 10 BITS FOR REGISTER ADDRESS.3. THE REGISTER DATA IS READ BACK ON THE SDO PIN.4. X DENOTES DON’T CARE.5. XXX DENOTES HIGH IMPEDANCE THREE-STATE OUTPUT.6. CS IS HELD LOW UNTIL ALL REGISTER BITS HAVE BEEN READ BACK.7. 16-BIT COMMAND WORD SETTINGS FOR SINGLE READBACK OPERATION: CW [15:11] = 11100 (ENABLE WORD) CW [10] = 1 (R/W) CW [9:0] = [AD9, AD8, AD7, AD6, AD5, AD4, AD3, AD2, AD1, AD0] (10-BIT MSB-JUSTIFIED REGISTER ADDRESS)06663-048

Figure 50. Single Register Readback SPI Timing

Reading Data

A read transaction begins when the master writes the command word to the AD7147 with the read/write bit set to 1. The master then supplies 16 clock pulses per data-word to be read, and the AD7147 clocks out data from the addressed register on the SDO line. The first data-word is clocked out on the first falling edge of SCLK following the command word, as shown in Figure 50.

The AD7147 continues to clock out data on the SDO line if the master continues to supply the clock signal on SCLK. The read transaction finishes when the master takes CS high. If the AD7147 address pointer reaches its maximum value, the AD7147 repeatedly clocks out data from the addressed register. The address pointer does not wrap around.

Rev. 0 | Page 33 of 68

元器件交易网www.cecb2b.com

AD7147

16-BIT COMMAND WORDENABLE WORDSDICW15CW14CW13CW12CW11R/WCW10CW9CW8CW7REGISTER ADDRESSCW6CW5CW4CW3CW2CW1CW0XXXXXXXXX

SCLK123456710111213141516171831323334474849CSSDOXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXD15D14D1D0D15D14D1D0D15READBACK DATA FORSTARTING REGISTER ADDRESSREADBACK DATA FORNEXT REGISTER ADDRESS06663-049NOTES1. MULTIPLE REGISTERS CAN BE READ BACK CONTINUOUSLY.2. THE 16-BIT CONTROL WORD MUST BE WRITTEN ON SDI: 5 BITS FOR ENABLE WORD, 1 BIT FOR R/W, AND 10 BITS FOR REGISTER ADDRESS.3. THE ADDRESS AUTOMATICALLY INCREMENTS WITH EACH 16-BIT DATA-WORD BEING READ BACK ON THE SDO PIN.4. CS IS HELD LOW UNTIL ALL REGISTER BITS HAVE BEEN READ BACK.5. X DENOTES DON’T CARE.6. XXX DENOTES HIGH IMPEDANCE THREE-STATE OUTPUT.7. 16-BIT COMMAND WORD SETTINGS FOR SEQUENTIAL READBACK OPERATION: CW [15:11] = 11100 (ENABLE WORD) CW [10] = 1 (R/W) CW [9:0] = [AD9, AD8, AD7, AD6, AD5, AD4, AD3, AD2, AD1, AD0] (STARTING MSB-JUSTIFIED REGISTER ADDRESS)

Figure 51. Sequential Register Readback SPI Timing

I2C-COMPATIBLE INTERFACE

The AD7147-1 supports the industry standard 2-wire I2C serial interface protocol. The two wires associated with the I2C timing are the SCLK and SDA inputs. The SDA is an I/O pin that allows both register write and register readback operations. The AD7147-1 is always a slave device on the I2C serial interface bus.

It has a 7-bit device address, Address 0101 1XX. The lower two bits are set by tying the ADD0 and ADD1 pins high or low. The AD7147-1 responds when the master device sends its device address over the bus. The AD7147-1 cannot initiate data transfers on the bus.

Table 18. AD7147-1 I2C Device Address

ADD1 ADD0 I2C Address

0 0 0101 100 0 1 0101 101 1 0 0101 110 1 1 0101 111

All slave peripherals connected to the serial bus respond to the start condition and shift in the next eight bits, consisting of a 7-bit address (MSB first) plus an R/W bit that determines the direction of the data transfer. The peripheral whose address corresponds to 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 on the bus then remain idle while the selected device waits for data to be read from or written to it. If the R/W bit is 0, the master writes to the slave device. If the R/W bit is 1, the master reads from the slave device. Data is sent over the serial bus in a sequence of nine clock pulses—eight bits of data followed by an acknowledge bit from the slave device. 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 transition when the clock is high can be interpreted as a stop signal. The number of data bytes transmitted over the serial bus in a single read or write operation is limited only by what the master and slave devices can handle.

When all data bytes are read or written, a stop condition is established. A stop condition is defined by a low-to-high transition on SDA while SCLK remains high. If the AD7147 encounters a stop condition, it returns to its idle condition, and the address pointer register resets to Address 0x00.

Data Transfer

Data is transferred over the I2C serial interface in 8-bit bytes. The master initiates a data transfer by establishing a start con-dition, defined as a high-to-low transition on the serial data line, SDA, while the serial clock line, SCLK, remains high. This indicates that an address/data stream follows.

Rev. 0 | Page 34 of 68

元器件交易网www.cecb2b.com

STARTAD7147-1 DEVICE ADDRESSSDADEVA6DEVA5DEVA4DEVDEVDEVA2A1A3DEVA0R/WACKA15A14A9A8ACKA7A6A1A0REGISTER ADDRESS [A15:A8]REGISTER ADDRESS [A7:A0]AD7147

t1SCLK123456t37101116171819202526t2STOPREGISTER DATA [D15:D8]ACKD15D14D9D8ACKD7REGISTER DATA [D7:D0]D6D1D0ACKSTARTt8AD7147-1 DEVICE ADDRESSDEVA6DEVA5DEVA4t427282934353637t538434445t6t712306663-050NOTES1. 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 IS A DON’T CARE BIT.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 IS A DON’T CARE BIT.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.

Figure 52. Example of IC Timing for Single Register Write Operation

2

Writing Data over the I2C Bus

The process for writing to the AD7147-1 over the I2C bus is shown in Figure 52 and Figure 54. The device address is sent over the bus, followed by the R/W bit being set to 0 and then 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 6 5 4 3 2 1 X X X X X X Register Address Bit 9

LSB 0 Register Address Bit 8

address. Therefore, any data written to the AD7147-1 after the address pointer has reached its maximum value is discarded. All registers on the AD7147-1 are 16 bits. 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 I2C Bus

To read from the AD7147-1, the address pointer register must first be set to the address of the required internal register. The master performs a write transaction, and then writes to the AD7147-1 to set the address pointer. Next, the master outputs a

The following bit map shows the lower register address bytes. repeat start condition to keep control of the bus, or if this is not MSB LSB possible, ends the write transaction with a stop condition. A read

transaction is initiated, with the R/W bit set to 1. 7 6 5 4 3 2 1 0 Reg

Add Bit 7

Reg Add Bit 6

Reg Add Bit 5

Reg Add Bit 4

Reg Add Bit 3

Reg Add Bit 2

Reg Add Bit 1

Reg Add Bit 0

The AD7147-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 53 and Figure 54.

Because the address pointer automatically increments after each read, the AD7147-1 continues to output readback data until the master sends a no acknowledge and stop condition to the bus. If the address pointer reaches its maximum value and the master continues to read from the part, the AD7147-1 repeatedly sends data from the last register that was addressed.

The third data byte contains the eight MSBs of the data to be written to the internal register. The fourth data byte contains the eight LSBs of data to be written to the internal register. The AD7147-1 address pointer register automatically increments after each write. This allows the master to sequentially write to all registers on the AD7147-1 in the same write transaction. However, the address pointer register does not wrap around after the last

Rev. 0 | Page 35 of 68

元器件交易网www.cecb2b.com

AD7147

STARTAD7147-1 DEVICE ADDRESSSDADEVA6DEVA5DEVA4DEVDEVDEVA3A2A1DEVA0R/WACKREGISTER ADDRESS [A15:A8]A15A14A9A8ACKREGISTER ADDRESS [A7:A0]A7A6A1A0ACK

t1SCLK123456t3710111617181920252627t2PSRDEVA6USINGREPEATED START28293034AD7147-1 DEVICE ADDRESSDEVA5DEVA1DEVA0R/WACKD7REGISTER DATA [D7:D0]D6D1D0ACKt8AD7147-1 DEVICE ADDRESSDEVA6DEVA5DEVA4t435363738t539444546t6t7123PSDEVA6AD7147-1 DEVICE ADDRESSDEVA5DEVA1DEVA0R/WACKD7REGISTER DATA [D7:D0]D6D1D0ACKPSEPARATE READ ANDWRITE TRANSACTIONS28293034t435363738t53944454606663-051NOTES1. 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. THE MASTER GENERATES THE ACK AT THE END OF THE READBACK TO SIGNAL THAT IT DOES NOT WANT ADDITIONAL DATA.4. 7-BIT DEVICE ADDRESS [DEV A6:DEV A0] = [0 1 0 1 1 X X], WHERE THE TWO LSB Xs ARE DON'T CARE BITS.5. 16-BIT REGISTER ADDRESS [A15:A0] = [X, X, X, X, X, X, A9, A8, A7, A6, A5, A4, A3, A2, A1, A0], WHERE THE UPPER LSB Xs ARE DON’T CARE BITS.6. REGISTER ADDRESS [A15:A8] AND REGISTER ADDRESS [A7:A0] ARE ALWAYS SEPARATED BY LOW ACK BITS.7. REGISTER DATA [D15:D8] AND REGISTER DATA [D7:D0] ARE ALWAYS SEPARATED BY A LOW ACK BIT.8. THE R/W BIT IS SET TO A1 TO INDICATE A READBACK OPERATION.

Figure 53. Example of I2C Timing for Single Register Readback Operation

WRITEACKACKACKACKACKSACK6-BIT DEVICEWADDRESSREGISTER ADDR[15:8]REGISTER ADDR[7:0]WRITE DATAHIGH BYTE [15:8]WRITE DATALOW BYTE [7:0]WRITE DATAHIGH BYTE [15:8]WRITE DATALOW BYTE [7:0]PREAD (USING REPEATED START)ACKACKACKSRRACKACKS6-BIT DEVICEWADDRESSREGISTER ADDRHIGH BYTEREGISTER ADDRLOW BYTE6-BIT DEVICEADDRESSREAD DATAHIGH BYTE [15:8]READ DATALOW BYTE [7:0]READ DATAHIGH BYTE [15:8]ACKREAD DATALOW BYTE [7:0]ACKPREAD (WRITE TRANSACTION SETS UP REGISTER ADDRESS)ACKACKRACKACKSPACK6-BIT DEVICEADDRESSWREGISTER ADDRHIGH BYTEREGISTER ADDRLOW BYTEACKS6-BIT DEVICEADDRESSREAD DATAHIGH BYTE [15:8]READ DATALOW BYTE [7:0]READ DATAHIGH BYTE [15:8]READ DATALOW BYTE [7:0]ACKP06663-052OUTPUT FROM MASTEROUTPUT FROM AD7147-1S = START BITP = STOP BITSR = REPEATED START BITACK = ACKNOWLEDGE BITACK = NO ACKNOWLEDGE BIT

Figure 54. Example of Sequential I2C Write and Readback Operations

VDRIVE INPUT

The supply voltage for the pins (SDO, SDI, SCLK, SDA, CS, INT, and GPIO) associated with both the I2C and SPI serial

interfaces is supplied from the VDRIVE pin and is separate from the main VCC supply.

This allows the AD7147 to be connected directly to processors whose supply voltage is less than the minimum operating voltage of the AD7147 without the need for external level-shifters. The VDRIVE pin can be connected to voltage supplies as low as 1.65 V and as high as VCC.

Rev. 0 | Page 36 of 68

元器件交易网www.cecb2b.com

AD7147

PCB DESIGN GUIDELINES

CAPACITIVE SENSOR BOARD MECHANICAL SPECIFICATIONS

Table 19.

Parameter

Distance from Edge of Any Sensor to Edge of Grounded Metal Object Distance Between Sensor Edges1

Distance Between Bottom of Sensor Board and Controller Board or Grounded Metal Casing2

The distance is dependent on the application and the position of the switches relative to each other and with respect to the user’s finger position and handling. Adjacent sensors with no space between them are implemented differentially. 2

The 1.0 mm specification is intended to prevent direct sensor board contact with any conductive material. This specification, however, does not guarantee an absence of EMI coupling from the controller board to the sensors. To avoid potential EMI-coupling issues place a grounded metal shield between the capacitive sensor board and the main controller board, as shown in Figure 57.

1

Symbol D1

D2 = D3 = D4D5Min Typ Max Unit

0.1 mm 0 mm 1.0 mm

CAPACITIVE SENSOR BOARDMETAL OBJECTD5GROUNDED METAL SHIELD8-WAYSWITCHCONTROLLER PRINTED CIRCUIT BOARD OR METAL CASING06663-055CAPACITIVE SENSORPRINTED CIRCUIT

Figure 57. Capacitive Sensor Board with Grounded Shield

D4SLIDERCHIP SCALE PACKAGES

The lands on the chip scale package (CP-24-3) are rectangular. The printed circuit board pad for these should be 0.1 mm longer than the package land length and 0.05 mm wider than the package land width. Center the land on the pad to maximize the solder joint size.

The bottom of the chip scale package has a central thermal pad. The thermal pad on the printed circuit board should be at least as large as this exposed pad. To avoid shorting, provide a

clearance of at least 0.25 mm between the thermal pad and the inner edges of the land pattern on the printed circuit board. Thermal vias can be used on the printed circuit board thermal pad to improve the thermal performance of the package. If vias are used, they should be incorporated in the thermal pad at a 1.2 mm pitch grid. The via diameter should be between 0.3 mm and 0.33 mm, and the via barrel should be plated with 1 oz copper to plug the via.

Connect the printed circuit board thermal pad to GND.

BUTTONSD3D2D106663-053

Figure 55. Capacitive Sensor Board, Top View

CAPACITIVE SENSOR BOARDD5CONTROLLER PRINTED CIRCUIT BOARD OR METAL CASING06663-054

Figure 56. Capacitive Sensor Board, Side View

Rev. 0 | Page 37 of 68

元器件交易网www.cecb2b.com

AD7147

Address 0x004 = 832

Address 0x005 = interrupt enable register (depends on required interrupt behavior)

Address 0x006 = interrupt enable register (depends on required interrupt behavior)

Address 0x007 = interrupt enable register (depends on required interrupt behavior)

4. Write to the Bank 1 register, Address 0x001 = 0x0FFF

(depends on number of conversion stages used). 5. Read back the corresponding interrupt status register at

Address 0x008, Address 0x009, or Address 0x00A. This is determined by the interrupt output configuration, as explained in the Interrupt Output section.

Note that the specific registers required to be read back depend on each application. For buttons, the interrupt status registers are read back while other sensors read data back from the AD7147 according to the slider or wheel algorithm’s requirements. Analog Devices can provide this information after the user develops the sensor board. 6. Repeat Step 5 every time INT is asserted.

POWER-UP SEQUENCE

To power up the AD7147, use the following sequence when initially developing the AD7147 and μP serial interface: 1. Turn on the power supplies to the AD7147.

2. Write to the Bank 2 registers at Address 0x080 through

Address 0x0DF. These registers are contiguous; therefore, a sequential register write sequence can be applied.

Note that the Bank 2 register values are unique for each application. Register values come from characterization of the sensor in the application. The characterization process is outlined in the AN-929 Application Note, available from Analog Devices.

3. Write to the Bank 1 registers at Address 0x000 through

Address 0x007 as outlined below. These registers are

contiguous; therefore, a sequential register write sequence can be applied (see Figure 49 and Figure 54).

Caution: At this time, Address 0x001 must remain set to default value 0x0000 during this contiguous write operation. Register values:

Address 0x000 = 0x82B2 Address 0x001 = 0x000

Address 0x002 = 0x3230 (depends on number of

conversion stages used) Address 0x003 = 0x419

POWERHOSTSERIALINTERFACECONVERSIONSTAGECONVERSION STAGES DISABLED012345671011012910110129101101FIRST CONVERSION SEQUENCESECOND CONVERSIONSEQUENCETHIRD CONVERSIONSEQUENCE06663-056AD7147 INT

Figure 58. Recommended Start-Up Sequence

Rev. 0 | Page 38 of 68

元器件交易网www.cecb2b.com

AD7147

TYPICAL APPLICATION CIRCUITS

242322212019CIN5CIN4CIN3CIN2CIN1CIN0VDRIVEGPIOINT1817161514131CIN6CIN7CIN8CIN9CIN102.2kΩHOST WITH SPIINTERFACEINTSSSCKMOSIMISOVHOSTBUTTONSCROLLWHEELBUTTONBUTTON23456AD7147CSSCLKSDISENSOR PCB781011910nFPLANE AROUND SENSORS CONNECTED TO ACSHIELD0.1μF12VDRIVECIN12BUTTONCIN11ACSHIELDSDOBIASGNDVCCVCC 2.7V TO 3.6V1μF TO 10μF(OPTIONAL)06663-0571.8VFigure 59. Typical Application Circuit with SPI Interface

VDRIVEVDRIVE2423222120192.2kΩ2.2kΩGPIOINT181716151413VDRIVECIN5CIN4CIN3CIN2CIN1CIN0BUTTON12CIN6CIN7CIN8CIN9CIN10CIN112.2kΩHOST WITH I2CINTERFACEINTCONNECT PLANE AROUNDSENSORS TO ACSHIELDBUTTON34AD7147-1ADD1SCLKADD0SLIDERSCKBUTTON56ACSHIELD781011910nF0.1μF12VDRIVECIN12BIASGNDVCC2-WAYSWITCHSDASDOVCC 2.7V TO 3.6V1μF TO 10μF(OPTIONAL)06663-058Figure 60. Typical Application Circuit with I2C Interface

Rev. 0 | Page 39 of 68

元器件交易网www.cecb2b.com

AD7147

Bank 3 registers contain the results of each conversion stage. These registers automatically update at the end of each conversion sequence. Although these registers are primarily used by the AD7147 internal data processing, they are accessible by the host processor for additional external data processing, if desired. Default values are undefined for Bank 2 registers and Bank 3 registers until after power-up and configuration of the Bank 2 registers.

REGISTER MAP

The AD7147 address space is divided into three register banks, referred to as Bank 1, Bank 2, and Bank 3. Figure 61 illustrates the division of these banks.

Bank 1 registers contain control registers, CDC conversion control registers, interrupt enable registers, interrupt status registers, CDC 16-bit conversion data registers, device ID registers, and proximity status registers.

Bank 2 registers contain the configuration registers used to configure the individual CINx inputs for each conversion stage. Initialize the Bank 2 configuration registers immediately after power-up to obtain valid CDC conversion result data.

REGISTER BANK 1ADDR 0x000ADDR 0x001CALIBRATION AND SETUP(4 REGISTERS)ADDR 0x00526 REGISTERSREGISTER BANK 2ADDR 0x080ADDR 0x088ADDR 0x090ADDR 0x098STAGE0 CONFIGURATION(8 REGISTERS)STAGE1 CONFIGURATION(8 REGISTERS)STAGE2 CONFIGURATION(8 REGISTERS)STAGE3 CONFIGURATION(8 REGISTERS)432 REGISTERSREGISTER BANK 3ADDR 0x0E0ADDR 0x088ADDR 0x090ADDR 0x098ADDR 0x0A0ADDR 0x0A8ADDR 0x0B0ADDR 0x0B8ADDR 0x0C0ADDR 0x0C8ADDR 0x0D0ADDR 0x28FSTAGE0 RESULTS(36 REGISTERS)STAGE1 RESULTS(36 REGISTERS)STAGE2 RESULTS(36 REGISTERS)STAGE3 RESULTS(36 REGISTERS)STAGE4 RESULTS(36 REGISTERS)STAGE5 RESULTS(36 REGISTERS)STAGE6 RESULTS(36 REGISTERS)STAGE7 RESULTS(36 REGISTERS)STAGE8 RESULTS(36 REGISTERS)STAGE9 RESULTS(36 REGISTERS)STAGE10 RESULTS(36 REGISTERS)STAGE11 RESULTS(36 REGISTERS)SETUP CONTROL(1 REGISTER)INTERRUPT ENABLE(3 REGISTERS)ADDR 0x006 REGISTERSADDR 0x0A0ADDR 0x0A8ADDR 0x0B0ADDR 0x0B8ADDR 0x0C0ADDR 0x0C8ADDR 0x0D0ADDR 0x0D8INTERRUPT STATUS(3 REGISTERS)ADDR 0x00BCDC 16-BIT CONVERSION DATA(12 REGISTERS)ADDR 0x017DEVICE ID REGISTER(1 REGISTER)ADDR 0x018ADDR 0x042PROXIMITY STATUS REGISTER(1 REGISTER)ADDR 0x043INVALID DO NOT ACCESSSTAGE4 CONFIGURATION(8 REGISTERS)STAGE5 CONFIGURATION(8 REGISTERS)STAGE6 CONFIGURATION(8 REGISTERS)STAGE7 CONFIGURATION(8 REGISTERS)STAGE8 CONFIGURATION(8 REGISTERS)STAGE9 CONFIGURATION(8 REGISTERS)STAGE10 CONFIGURATION(8 REGISTERS)STAGE11 CONFIGURATION(8 REGISTERS)INVALID DO NOT ACCESSADDR 0x7F006663-059

Figure 61. Layout of Bank 1, Bank 2, and Bank 3 Registers

Rev. 0 | Page 40 of 68

元器件交易网www.cecb2b.com

AD7147

DETAILED REGISTER DESCRIPTIONS

BANK 1 REGISTERS

All addresses and default values are expressed in hexadecimal. Table 20. PWR_CONTROL Register

Address Data Bit 0x000 [1:0] [3:2] [7:4]

[9:8] [10] [11] [12] [13] [15:14]

Default Value 0

0 0

0 0 0 0 0 0

Description Operating modes

00 = full power mode (normal operation, CDC conversions approximately every 36 ms)

01 = full shutdown mode (no CDC conversions) 10 = low power mode (automatic wake-up operation) 11 = full shutdown mode (no CDC conversions) R/W LP_CONV_DELAY Low power mode conversion delay 00 = 200 ms 01 = 400 ms 10 = 600 ms 11 = 800 ms

R/W SEQUENCE_STAGE_NUM Number of stages in sequence (N + 1) 0000 = 1 conversion stage in sequence 0001 = 2 conversion stages in sequence …… Maximum value = 1011 = 12 conversion stages per

sequence

R/W DECIMATION ADC decimation factor 00 = decimate by 256 01 = decimate by 128 10 = decimate by 11 = decimate by R/W SW_RESET Software reset control (self-clearing) 1 = resets all registers to default values R/W INT_POL Interrupt polarity control 0 = active low 1 = active high R/W EXT_SOURCE Excitation source control 0 = enable excitation source to CINx pins 1 = disable excitation source to CINx pins Unused Set to 0 R/W CDC_BIAS CDC bias current control 00 = normal operation 01 = normal operation + 20% 10 = normal operation + 35% 11 = normal operation + 50% Type R/W

Name

POWER_MODE

Rev. 0 | Page 41 of 68

元器件交易网www.cecb2b.com

AD7147

Default Value 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Table 21. STAGE_CAL_EN Register

Address 0x001

Data Bit [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11]

[13:12]

[15:14]

Type R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W

Name

STAGE0_CAL_EN

STAGE1_CAL_EN

STAGE2_CAL_EN

STAGE3_CAL_EN

STAGE4_CAL_EN

STAGE5_CAL_EN

STAGE6_CAL_EN

STAGE7_CAL_EN

STAGE8_CAL_EN

STAGE9_CAL_EN

STAGE10_CAL_EN

STAGE11_CAL_EN

AVG_FP_SKIP

AVG_LP_SKIP

Description

STAGE0 calibration enable 0 = disable 1 = enable

STAGE1 calibration enable 0 = disable 1 = enable

STAGE2 calibration enable 0 = disable 1 = enable

STAGE3 calibration enable 0 = disable 1 = enable

STAGE4 calibration enable 0 = disable 1 = enable

STAGE5 calibration enable 0 = disable 1 = enable

STAGE6 calibration enable 0 = disable 1 = enable

STAGE7 calibration enable 0 = disable 1 = enable

STAGE8 calibration enable 0 = disable 1 = enable

STAGE9 calibration enable 0 = disable 1 = enable

STAGE10 calibration enable 0 = disable 1 = enable

STAGE11 calibration enable 0 = disable 1 = enable

Full power mode skip control 00 = skip 3 samples 01 = skip 7 samples 10 = skip 15 samples 11 = skip 31 samples

Low power mode skip control 00 = use all samples 01 = skip one sample 10 = skip two samples 11 = skip three samples

Rev. 0 | Page 42 of 68

元器件交易网www.cecb2b.com

AD7147

Default Value 0

Table 22. AMB_COMP_CTRL0 Register

Address 0x002

Description

Fast filter skip control (N + 1)

0000 = no sequence of results is skipped

0001 = one sequence of results is skipped for every one allowed into fast FIFO

0010 = two sequences of results are skipped for every

Ione allowed into fast FIFO

III 1011 = maximum value = 12 sequences of results are

skipped for every one allowed into fast FIFO II

[7:4] F R/W FP_PROXIMITY_CNT Calibration disable period in full power mode =

FP_PROXIMITY_CNT × 16 × time for one conversion sequence in full power mode

[11:8] F R/W LP_PROXMTY_CNT Calibration disable period in low power mode =

LP_PROXIMITY_CNT × 4 × time for one conversion sequence in low power mode

[13:12] 0 R/W PWR_DOWN_TIMEOUT Full power to low power mode timeout control 00 = 1.25 × (FP_PROXIMITY_CNT) 01 = 1.50 × (FP_PROXIMITY_CNT) 10 = 1.75 × (FP_PROXIMITY_CNT) 11 = 2.00 × (FP_PROXIMITY_CNT) [14] 0 R/W FORCED_CAL Forced calibration control 0 = normal operation II 1 = forces all conversion stages to recalibrate [15] 0 R/W CONV_RESET Conversion reset control (self-clearing) 0 = normal operation 1 = resets the conversion sequence to STAGE0

Data Bit

[3:0]

Type R/W

Name

FF_SKIP_CNT

Table 23. AMB_COMP_CTRL1 Register

Default

Address Data Bit Value 0x003 [7:0]

Description

Proximity recalibration level. Value is multiplied by 16 to determine actual recalibration level.

[13:8] 1 R/W PROXMTY_DETECTON_RATE Proximity detection rate. Value is multiplied by 16 to

determine actual detection rate.

[15:14] 0 R/W SLOW_FLTER_UPDATE_LVL Slow filter update level.

Type Name

R/W PROXMTY_RECAL_LVL

Table 24. AMB_COMP_CTRL2 Register

Address 0x004

Data Bit [9:0] [15:10]

Default Value 3FF 3F

Type R/W R/W

Name

FP_PROXIMITY_RECAL LP_PROXIMITY_RECAL

Description

Full power mode proximity recalibration time control Low power mode proximity recalibration time control

Rev. 0 | Page 43 of 68

元器件交易网www.cecb2b.com

AD7147

Default Value 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Table 25. STAGE_LOW_INT_ENABLE Register

Address 0x005 Data Bit [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [13:12] [15:14] Type R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W Name STAGE0_LOW_INT_ENABLE STAGE1_LOW_INT_ENABLE STAGE2_LOW_INT_ENABLE STAGE3_LOW_INT_ENABLE STAGE4_LOW_INT_ENABLE STAGE5_LOW_INT_ENABLE STAGE6_LOW_INT_ENABLE STAGE7_LOW_INT_ENABLE STAGE8_LOW_INT_ENABLE STAGE9_LOW_INT_ENABLE STAGE10_LOW_INT_ENABLE STAGE11_LOW_INT_ENABLE GPIO_SETUP GPIO_INPUT_CONFIG Description STAGE0 low interrupt enable 0 = interrupt source disabled 1 = INT asserted if STAGE0 low threshold is exceeded STAGE1 low interrupt enable 0 = interrupt source disabled 1 = INT asserted if STAGE1 low threshold is exceeded STAGE2 low interrupt enable 0 = interrupt source disabled 1 = INT asserted if STAGE2 low threshold is exceeded STAGE3 low interrupt enable 0 = interrupt source disabled 1 = INT asserted if STAGE3 low threshold is exceeded STAGE4 low interrupt enable 0 = interrupt source disabled 1 = INT asserted if STAGE4 low threshold is exceeded STAGE5 low interrupt enable 0 = interrupt source disabled 1 = INT asserted if STAGE5 low threshold is exceeded STAGE6 low interrupt enable 0 = interrupt source disabled 1 = INT asserted if STAGE6 low threshold is exceeded STAGE7 low interrupt enable 0 = interrupt source disabled 1 = INT asserted if STAGE7 low threshold is exceeded STAGE8 low interrupt enable 0 = interrupt source disabled 1 = INT asserted if STAGE8 low threshold is exceeded STAGE9 low interrupt enable 0 = interrupt source disabled 1 = INT asserted if STAGE9 low threshold is exceeded STAGE10 low interrupt enable 0 = interrupt source disabled 1 = INT asserted if STAGE10 low threshold is exceeded STAGE11 low interrupt enable 0 = interrupt source disabled 1 = INT asserted if STAGE11 low threshold is exceeded GPIO setup 00 = disable GPIO pin 01 = configure GPIO as an input 10 = configure GPIO as an active low output 11 = configure GPIO as an active high output GPIO input configuration 00 = triggered on negative level 01 = triggered on positive edge 10 = triggered on negative edge 11 = triggered on positive level

Rev. 0 | Page 44 of 68

元器件交易网www.cecb2b.com

AD7147

Table 26. STAGE_HIGH_INT_ENABLE Register Default Address Data Bit Type Name Description Value 0x006 [0] 0 R/W STAGE0_HIGH_INT_ENABLE STAGE0 high interrupt enable 0 = interrupt source disabled 1 = INT asserted if STAGE0 high threshold is exceeded [1] 0 R/W STAGE1_HIGH_INT_ENABLE STAGE1 high interrupt enable 0 = interrupt source disabled 1 = INT asserted if STAGE1 high threshold is exceeded [2] 0 R/W STAGE2_HIGH_INT_ENABLE STAGE2 high interrupt enable 0 = interrupt source disabled II 1 = INT asserted if STAGE2 high threshold is exceeded [3] 0 R/W STAGE3_HIGH_INT_ENABLE STAGE3 high interrupt enable 0 = interrupt source disabled 1 = INT asserted if STAGE3 high threshold is exceeded [4] 0 R/W STAGE4_HIGH_INT_ENABLE STAGE4 high interrupt enable 0 = interrupt source disabled 1 = INT asserted if STAGE4 high threshold is exceeded [5] 0 R/W STAGE5_HIGH_INT_ENABLE STAGE5 high interrupt enable 0 = interrupt source disabled 1 = INT asserted if STAGE5 high threshold is exceeded [6] 0 R/W STAGE6_HIGH_INT_ENABLE STAGE6 high interrupt enable 0 = interrupt source disabled 1 = INT asserted if STAGE6 high threshold is exceeded [7] 0 R/W STAGE7_HIGH_INT_ENABLE STAGE7 high interrupt enable 0 = interrupt source disabled 1 = INT asserted if STAGE7 high threshold is exceeded [8] 0 R/W STAGE8_HIGH_INT_ENABLE STAGE8 high interrupt enable 0 = interrupt source disabled 1 = INT asserted if STAGE8 high threshold is exceeded [9] 0 R/W STAGE9_HGH_NT_ENABLE STAGE9 sensor high interrupt enable 0 = interrupt source disabled 1 = INT asserted if STAGE9 high threshold is exceeded [10] 0 R/W STAGE10_HIGH_INT_ENABLE STAGE10 high interrupt enable 0 = interrupt source disabled 1 = INT asserted if STAGE10 high threshold is exceeded [11] 0 R/W STAGE11_HIGH_INT_ENABLE STAGE11 high interrupt enable 0 = interrupt source disabled 1 = INT asserted if STAGE11 high threshold is exceeded [15:12] Unused Set to 0

Rev. 0 | Page 45 of 68

元器件交易网www.cecb2b.com

AD7147

Table 27. STAGE_COMPLETE_INT_ENABLE Register Default Address Data Bit Value Type Name Description 0x007 [0] 0 R/W STAGE0_COMPLETE_INT_ENABLE STAGE0 conversion interrupt control 0 = interrupt source disabled 1 = INT asserted at completion of STAGE0 conversion [1] 0 R/W STAGE1_COMPLETE_INT_ENABLE STAGE1 conversion interrupt control 0 = interrupt source disabled 1 = INT asserted at completion of STAGE1 conversion [2] 0 R/W STAGE2_COMPLETE_INT_ENABLE STAGE2 conversion interrupt control 0 = interrupt source disabled 1 = INT asserted at completion of STAGE2 conversion [3] 0 R/W STAGE3_COMPLETE_INT_ENABLE STAGE3 conversion interrupt control I 0 = interrupt source disabled 1 = INT asserted at completion of STAGE3 conversion [4] 0 R/W STAGE4_COMPLETE_INT_ENABLE STAGE4 conversion interrupt control 0 = interrupt source disabled 1 = INT asserted at completion of STAGE4 conversion [5] 0 R/W STAGE5_COMPLETE_INT_ENABLE STAGE5 conversion interrupt control 0 = interrupt source disabled 1 = INT asserted at completion of STAGE5 conversion [6] 0 R/W STAGE6_COMPLETE_INT_ENABLE STAGE6 conversion interrupt control 0 = interrupt source disabled 1 = INT asserted at completion of STAGE6 conversion [7] 0 R/W STAGE7_COMPLETE_INT_ENABLE STAGE7 conversion interrupt control 0 = interrupt source disabled 1 = INT asserted at completion of STAGE7 conversion [8] 0 R/W STAGE8_COMPLETE_NT_ENABLE STAGE8 conversion complete interrupt control 0 = interrupt source disabled 1 = INT asserted at completion of STAGE8 conversion [9] 0 R/W STAGE9_COMPLETE_INT_ENABLE STAGE9 conversion interrupt control 0 = interrupt source disabled 1 = INT asserted at completion of STAGE9 conversion [10] 0 R/W STAGE10_COMPLETE_INT_ENABLE STAGE10 conversion interrupt control 0 = interrupt source disabled 1 = INT asserted at completion of STAGE10 conversion [11] 0 R/W STAGE11_COMPLETE_INT_ENABLE STAGE11 conversion interrupt control 0 = interrupt source disabled 1 = INT asserted at completion of STAGE11 conversion [12] 0 R/W GPIO_INT_ENABLE Interrupt control when GPIO input pin changes level 0 = disabled 1 = enabled [15:13] Unused Set to 0

Rev. 0 | Page 46 of 68

元器件交易网www.cecb2b.com

AD7147

Default Value 0 0 0 0 0 0 0 0 0 0 0 0

Table 28. STAGE_LOW_INT_STATUS Register1

Address 0x008

1

Data Bit [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [15:12]

Type R R R R R R R R R R R R

Name

STAGE0_LOW_INT_STATUS

STAGE1_LOW_INT_STATUS

STAGE2_LOW_INT_STATUS

STAGE3_LOW_INT_STATUS

STAGE4_LOW_INT_STATUS

STAGE5_LOW_INT_STATUS

STAGE6_LOW_INT_STATUS

STAGE7_LOW_INT_STATUS

STAGE8_LOW_INT_STATUS

STAGE9_LOW_INT_STATUS

STAGE10_LOW_INT_STATUS

STAGE11_LOW_INT_STATUS Unused Description

STAGE0 CDC conversion low limit interrupt result 1 = indicates STAGE0_LOW_THRESHOLD value was exceeded

STAGE1 CDC conversion low limit interrupt result 1 = indicates STAGE1_LOW_THRESHOLD value was exceeded

STAGE2 CDC conversion low limit interrupt result 1 = indicates STAGE2_LOW_THRESHOLD value was exceeded

STAGE3 CDC conversion low limit interrupt result 1 = indicates STAGE3_LOW_THRESHOLD value was exceeded

STAGE4 CDC conversion low limit interrupt result 1 = indicates STAGE4_LOW_THRESHOLD value was exceeded

STAGE5 CDC conversion low limit interrupt result 1 = indicates STAGE5_LOW_THRESHOLD value was exceeded

STAGE6 CDC conversion low limit interrupt result 1 = indicates STAGE6_LOW_THRESHOLD value was exceeded

STAGE7 CDC conversion low limit interrupt result 1 = indicates STAGE7_LOW_THRESHOLD value was exceeded

STAGE8 CDC conversion low limit interrupt result 1 = indicates STAGE8_LOW_THRESHOLD value was exceeded

STAGE9 CDC conversion low limit interrupt result 1 = indicates STAGE9_LOW_THRESHOLD value was exceeded

STAGE10 CDC Conversion Low Limit Interrupt result 1 = indicates STAGE10_LOW_THRESHOLD value was exceeded

STAGE11 CDC conversion low limit interrupt result 1 = indicates STAGE11_LOW_THRESHOLD value was exceeded Set to 0

Registers self-clear to 0 after readback if the limits are not exceeded.

Rev. 0 | Page 47 of 68

元器件交易网www.cecb2b.com

AD7147

Default Value 0 0 0 0 0 0 0 0 0 0 0 0

Table 29. STAGE_HIGH_INT_STATUS Register1

Address 0x009

1

Data Bit [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [15:12]

Type R R R R R R R R R R R R

Name

STAGE0_HIGH_INT_STATUS

STAGE1_HIGH_INT_STATUS

STAGE2_HIGH_INT_STATUS

STAGE3_HIGH_INT_STATUS

STAGE4_HIGH_INT_STATUS

STAGE5_HIGH_INT_STATUS

STAGE6_HIGH_INT_STATUS

STAGE7_HIGH_INT_STATUS

STAGE8_HIGH_INT_STATUS

STAGE9_HIGH_INT_STATUS

STAGE10_HIGH_INT_STATUS

STAGE11_HIGH_INT_STATUS Unused Description

STAGE0 CDC conversion high limit interrupt result 1 = indicates STAGE0_HIGH_THRESHOLD value was exceeded

STAGE1 CDC conversion high limit interrupt result 1 = indicates STAGE1_HIGH_THRESHOLD value was exceeded

Stage2 CDC conversion high limit interrupt result 1 = indicates STAGE2_HIGH_THRESHOLD value was exceeded

STAGE3 CDC conversion high limit interrupt result 1 = indicates STAGE3_HIGH_THRESHOLD value was exceeded

STAGE4 CDC conversion high limit interrupt result 1 = indicates STAGE4_HIGH_THRESHOLD value was exceeded

STAGE5 CDC conversion high limit interrupt result 1 = indicates STAGE5_HIGH_THRESHOLD value was exceeded

STAGE6 CDC conversion high limit interrupt result 1 = indicates STAGE6_HIGH_THRESHOLD value was exceeded

STAGE7 CDC conversion high limit interrupt result 1 = indicates STAGE7_HIGH_THRESHOLD value was exceeded

STAGE8 CDC conversion high limit interrupt result 1 = indicates STAGE8_HIGH_THRESHOLD value was exceeded

STAGE9 CDC conversion high limit interrupt result 1 = indicates STAGE9_HIGH_THRESHOLD value was exceeded

STAGE10 CDC conversion high limit interrupt result 1 = indicates STAGE10_HIGH_THRESHOLD value was exceeded

STAGE11 CDC conversion high limit interrupt result 1 = indicates STAGE11_HIGH_THRESHOLD value was exceeded Set to 0

Registers self-clear to 0 after readback if the limits are not exceeded.

Rev. 0 | Page 48 of 68

元器件交易网www.cecb2b.com

AD7147

Default Value Type 0 R 0 R 0 R 0 R 0 R 0 R 0 R 0 R 0 R 0 R 0 R 0 R 0 R

Table 30. STAGE_COMPLETE_INT_STATUS Register1

Address

0x00A

1

Data Bit [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12]

[15:13] Name

STAGE0_COMPLETE_INT_STATUS

STAGE1_COMPLETE_INT_STATUS

STAGE2_COMPLETE_INT_STATUS

STAGE3_COMPLETE_INT_STATUS

STAGE4_COMPLETE_INT_STATUS

STAGE5_COMPLETE_INT_STATUS

STAGE6_COMPLETE_INT_STATUS

STAGE7_COMPLETE_INT_STATUS

STAGE8_COMPLETE_INT_STATUS

STAGE9_COMPLETE_INT_STATUS

STAGE10_COMPLETE_INT_STATUS

STAGE11_COMPLETE_INT_STATUS

GPIO_INT_STATUS

Unused Description

STAGE0 conversion complete register interrupt status 1 = indicates STAGE0 conversion completed

STAGE1 conversion complete register interrupt status 1 = indicates STAGE1 conversion completed

STAGE2 conversion complete register interrupt status 1 = indicates STAGE2 conversion completed

STAGE3 conversion complete register interrupt status 1 = indicates STAGE3 conversion completed

STAGE4 conversion complete register interrupt status 1 = indicates STAGE4 conversion completed

STAGE5 conversion complete register interrupt status 1 = indicates STAGE5 conversion completed

STAGE6 conversion complete register interrupt status 1 = indicates STAGE6 conversion completed

STAGE7 conversion complete register interrupt status 1 = indicates STAGE7 conversion completed

STAGE8 conversion complete register interrupt status 1 = indicates STAGE8 conversion completed

STAGE9 conversion complete register interrupt status 1 = indicates STAGE9 conversion completed

STAGE10 conversion complete register interrupt status 1 = indicates STAGE10 conversion completed

STAGE11 conversion complete register interrupt status 1 = indicates STAGE11 conversion completed GPIO input pin status

1 = indicates level on GPIO pin has changed Set to 0

Registers self-clear to 0 after readback if the limits are not exceeded.

Table 31. CDC 16-Bit Conversion Data Registers

Address 0x00B 0x00C 0x00D 0x00E 0x00F 0x010 0x011 0x012 0x013 0x014 0x015 0x016

Data Bit [15:0] [15:0] [15:0] [15:0] [15:0] [15:0] [15:0] [15:0] [15:0] [15:0] [15:0] [15:0]

Default Value 0 0 0 0 0 0 0 0 0 0 0 0

Type R R R R R R R R R R R R

Name

CDC_RESULT_S0 CDC_RESULT_S1 CDC_RESULT_S2 CDC_RESULT_S3 CDC_RESULT_S4 CDC_RESULT_S5 CDC_RESULT_S6 CDC_RESULT_S7 CDC_RESULT_S8 CDC_RESULT_S9 CDC_RESULT_S10 CDC_RESULT_S11

Description

STAGE0 CDC 16-bit conversion data STAGE1 CDC 16-bit conversion data STAGE2 CDC 16-bit conversion data STAGE3 CDC 16-bit conversion data STAGE4 CDC 16-bit conversion data STAGE5 CDC 16-bit conversion data STAGE6 CDC 16-bit conversion data STAGE7 CDC 16-bit conversion data STAGE8 CDC 16-bit conversion data STAGE9 CDC 16-bit conversion data STAGE10 CDC 16-bit conversion data STAGE11 CDC 16-bit conversion data

Rev. 0 | Page 49 of 68

元器件交易网www.cecb2b.com

AD7147

Default Value 0 147

Table 32. Device ID Register

Address Data Bit 0x017 [3:0] [15:4]

Type

R R

Name

REVISION_CODE DEVID

Description Revision code

Device ID = 0001 0100 0111

Table 33. Proximity Status Register

Address 0x042

Data Bit [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11]

[15:12]

Default Value 0 0 0 0 0 0 0 0 0 0 0 0

Type R R R R R R R R R R R R

Name

STAGE0_PROXIMITY_STATUS

STAGE1_PROXIMITY_STATUS

STAGE2_PROXIMITY_STATUS

STAGE3_PROXIMITY_STATUS

STAGE4_PROXIMITY_STATUS

STAGE5_PROXIMITY_STATUS

STAGE6_PROXIMITY_STATUS

STAGE7_PROXIMITY_STATUS

STAGE8_PROXIMITY_STATUS

STAGE9_PROXIMITY_STATUS

STAGE10_PROXIMITY_STATUS

STAGE11_PROXIMITY_STATUS

Unused

Description

STAGE0 proximity status register

1 = indicates proximity has been detected on STAGE0 STAGE1 proximity status register

1 = indicates proximity has been detected on STAGE1 STAGE2 proximity status register

1 = indicates proximity has been detected on STAGE2 STAGE3 proximity status register

1 = indicates proximity has been detected on STAGE3 STAGE4 proximity status register

1 = indicates proximity has been detected on STAGE4 STAGE5 proximity status register

1 = indicates proximity has been detected on STAGE5 STAGE6 proximity status register

1 = indicates proximity has been detected on STAGE6 STAGE7 proximity status register

1 = indicates proximity has been detected on STAGE7 STAGE8 proximity status register

1 = indicates proximity has been detected on STAGE8 STAGE9 proximity status register

1 = indicates proximity has been detected on STAGE9 STAGE10 proximity status register

1 = indicates proximity has been detected on STAGE10 STAGE11 proximity status register

1 = indicates proximity has been detected on STAGE11 Set to 0

Rev. 0 | Page 50 of 68

元器件交易网www.cecb2b.com

AD7147

BANK 2 REGISTERS

All address values are expressed in hexadecimal.

Table 34. STAGEx_CONNECTION [6:0] Register Description (x = 0 to 11)

Data Bit [1:0]

[3:2]

[5:4]

[7:6]

[9:8]

[11:10]

[13:12]

[15:14]

Default Value X X X X X X X X

Type R/W R/W R/W R/W R/W R/W R/W

Name

CIN0_CONNECTION_SETUP

CIN1_CONNECTION_SETUP

CIN2_CONNECTION_SETUP

CIN3_CONNECTION_SETUP

CIN4_CONNECTION_SETUP

CIN5_CONNECTION_SETUP

CIN6_CONNECTION_SETUP

Unused

Description

CIN0 connection setup

00 = CIN0 not connected to CDC inputs 01 = CIN0 connected to CDC negative input 10 = CIN0 connected to CDC positive input

11 = CIN0 connected to BIAS (connect unused CINx inputs) CIN1 connection setup

00 = CIN1 not connected to CDC inputs 01 = CIN1 connected to CDC negative input 10 = CIN1 connected to CDC positive input

11 = CIN1 connected to BIAS (connect unused CINx inputs) CIN2 connection setup

00 = CIN2 not connected to CDC inputs 01 = CIN2 connected to CDC negative input 10 = CIN2 connected to CDC positive input

11 = CIN2 connected to BIAS (connect unused CINx inputs) CIN3 connection setup

00 = CIN3 not connected to CDC inputs 01 = CIN3 connected to CDC negative input 10 = CIN3 connected to CDC positive input

11 = CIN3 connected to BIAS (connect unused CINx inputs) CIN4 connection setup

00 = CIN4 not connected to CDC inputs 01 = CIN4 connected to CDC negative input 10 = CIN4 connected to CDC positive input

11 = CIN4 connected to BIAS (connect unused CINx inputs) CIN5 connection setup

00 = CIN5 not connected to CDC inputs 01 = CIN5 connected to CDC negative input 10 = CIN5 connected to CDC positive input

11 = CIN5 connected to BIAS (connect unused CINx inputs) CIN6 connection setup

00 = CIN6 not connected to CDC inputs 01 = CIN6 connected to CDC negative input 10 = CIN6 connected to CDC positive input

11 = CIN6 connected to BIAS (connect unused CINx inputs) Set to 0

Rev. 0 | Page 51 of 68

元器件交易网www.cecb2b.com

AD7147

Default Value X X X X X X X X X

Table 35. STAGEx_CONNECTION [12:7] Register Description (x = 0 to 11)

Data Bit [1:0]

[3:2]

[5:4]

[7:6]

[9:8]

[11:10]

[13:12] [14] [15]

Type R/W R/W R/W R/W R/W R/W R/W R/W R/W

Name

CIN7_CONNECTION_SETUP

CIN8_CONNECTION_SETUP

CIN9_CONNECTION_SETUP

CIN10_CONNECTION_SETUP

CIN11_CONNECTION_SETUP

CIN12_CONNECTION_SETUP

SE_CONNECTION_SETUP

NEG_AFE_OFFSET_DISABLE

POS_AFE_OFFSET_DISABLE

Description

CIN7 connection setup

00 = CIN7 not connected to CDC inputs 01 = CIN7 connected to CDC negative input 10 = CIN7 connected to CDC positive input

11 = CIN7 connected to BIAS (connect unused CINx inputs) CIN8 connection setup

00 = CIN8 not connected to CDC inputs 01 = CIN8 connected to CDC negative input 10 = CIN8 connected to CDC positive input

11 = CIN8 connected to BIAS (connect unused CINx inputs) CIN9 connection setup

00 = CIN9 not connected to CDC inputs 01 = CIN9 connected to CDC negative input 10 = CIN9 connected to CDC positive input

11 = CIN9 connected to BIAS (connect unused CINx inputs) CIN10 connection setup

00 = CIN10 not connected to CDC inputs 01 = CIN10 connected to CDC negative input 10 = CIN10 connected to CDC positive input

11 = CIN10 connected to BIAS (connect unused CINx inputs) CIN11 connection setup

00 = CIN11 not connected to CDC inputs 01 = CIN11 connected to CDC negative input 10 = CIN11 connected to CDC positive input

11 = CIN11 connected to BIAS (connect unused CINx inputs) CIN12 connection setup

00 = CIN12 not connected to CDC inputs 01 = CIN12 connected to CDC negative input 10 = CIN12 connected to CDC positive input

11 = CIN12 connected to BIAS (connect unused CINx inputs) Single-ended measurement connection setup. 00 =Do not use

01 = Use when one CINx connected to CDC positive input, single-ended measurements only

10 = Use when one CINx connected to CDC negative input, single-ended measurements only 11 = Differential connection to CDC Negative AFE offset enable control 0 = enable 1 = disable

Positive AFE offset enable control 0 = enable 1 = disable

Rev. 0 | Page 52 of 68

元器件交易网www.cecb2b.com

AD7147

Default Value X X X X X X

Table 36. STAGEx_AFE_OFFSET Register Description (x = 0 to 11)

Data Bit [5:0] [6] [7]

[13:8] [14] [15]

Type R/W R/W R/W R/W

Name

NEG_AFE_OFFSET

Unused

NEG_AFE_OFFSET_SWAP

POS_AFE_OFFSET

Unused

POS_AFE_OFFSET_SWAP

Description

Negative AFE offset setting (20 pF range) 1 LSB value = 0.32 pF of offset Set to 0

Negative AFE offset swap control

0 = NEG_AFE_OFFSET applied to CDC negative input 1 = NEG_AFE_OFFSET applied to CDC positive input Positive AFE offset setting (20 pF range) 1 LSB value = 0.32 pF of offset Set to 0

Positive AFE offset swap control

0 = POS_AFE_OFFSET applied to CDC positive input 1 = POS_AFE_OFFSET applied to CDC negative input

Table 37. STAGEx_SENSITIVITY Register Description (x = 0 to 11)

Data Bit [3:0]

[6:4] [7] [11:8]

[14:12] [15]

Default Value X X X X X X

Type R/W R/W R/W R/W R/W R/W

Name

NEG_THRESHOLD_SENSITIVITY

NEG_PEAK_DETECT

Unused

POS_THRESHOLD_SENSITIVITY

POS_PEAK_DETECT

Unused

Description

Negative threshold sensitivity control

0000 = 25%, 0001 = 29.73%, 0010 = 34.40%, 0011 = 39.08% 0100 = 43.79%, 0101 = 48.47%, 0110 = 53.15% 0111 = 57.83%, 1000 = 62.51%, 1001 = 67.22% 1010 = 71.90%, 1011 = 76.58%, 1100 = 81.28% 1101 = 85.96%, 1110 = 90.%, 1111 = 95.32% Negative peak detect setting

000 = 40% level, 001 = 50% level, 010 = 60% level 011 = 70% level, 100 = 80% level, 101 = 90% level Set to 0

Positive threshold sensitivity control

0000 = 25%, 0001 = 29.73%, 0010 = 34.40%, 0011 = 39.08% 0100 = 43.79%, 0101 = 48.47%, 0110 = 53.15% 0111 = 57.83%, 1000 = 62.51%, 1001 = 67.22% 1010 = 71.90%, 1011 = 76.58%, 1100 = 81.28% 1101 = 85.96%, 1110 = 90.%, 1111 = 95.32% Positive peak detect setting

000 = 40% level, 001 = 50% level, 010 = 60% level 011 = 70% level, 100 = 80% level, 101 = 90% level Set to 0

Rev. 0 | Page 53 of 68

元器件交易网www.cecb2b.com

AD7147

Type Name R/W STAGE0_CONNECTON [6:0] R/W STAGE0_CONNECTON [12:7] R/W STAGE0_AFE_OFFSET R/W STAGE0_SENSITIVITY R/W STAGE0_OFFSET_LOW R/W STAGE0_OFFSET_HIGH R/W STAGE0_OFFSET_HIGH_CLAMP R/W STAGE0_ OFFSET_LOW_CLAMP R/W STAGE1_CONNECTION [6:0] R/W STAGE1_CONNECTION [12:7] R/W STAGE1_AFE_OFFSET R/W STAGE1_SENSITIVITY R/W STAGE1_OFFSET_LOW R/W STAGE1_OFFSET_HIGH R/W STAGE1_OFFSET_HIGH_CLAMP R/W STAGE1_OFFSET_LOW_CLAMP R/W STAGE2_CONNECTION [6:0] R/W STAGE2_CONNECTION [12:7] R/W STAGE2_AFE_OFFSET R/W STAGE2_SENSITIVITY R/W STAGE2_OFFSET_LOW R/W STAGE2_OFFSET_HIGH R/W STAGE2_OFFSET_HIGH_CLAMP R/W STAGE2_OFFSET_LOW_CLAMP R/W STAGE3_CONNECTION [6:0] R/W STAGE3_CONNECTION [12:7] R/W STAGE3_AFE_OFFSET

I

R/W STAGE3_SENSITIVITY IR/W STAGE3_OFFSET_LOW R/W STAGE3_OFFSET_HIGH R/W STAGE3_OFFSET_HIGH_CLAMP R/W STAGE3_OFFSET_LOW_CLAMP R/W STAGE4_CONNECTION [6:0] R/W STAGE4_CONNECTION [12:7] R/W STAGE4_AFE_OFFSET R/W STAGE4_SENSITIVITY R/W STAGE4_OFFSET_LOW R/W STAGE4_OFFSET_HIGH R/W STAGE4_OFFSET_HIGH_CLAMP R/W STAGE4_OFFSET_LOW_CLAMP R/W STAGE5_CONNECTION [6:0] R/W STAGE5_CONNECTION [12:7] R/W STAGE5_AFE_OFFSET R/W STAGE5_SENSITIVITY R/W STAGE5_OFFSET_LOW R/W STAGE5_OFFSET_HIGH R/W STAGE5_OFFSET_HIGH_CLAMP R/W STAGE5_OFFSET_LOW_CLAMP

Description

STAGE0 CIN [6:0] connection setup (see Table 34) STAGE0 CIN [12:7] connection setup (see Table 35) STAGE0 AFE offset control (see Table 36) STAGE0 sensitivity control (see Table 37) STAGE0 initial offset low value STAGE0 initial offset high value STAGE0 offset high clamp value STAGE0 offset low clamp value

STAGE1 CIN [6:0] connection setup (see Table 34) STAGE1 CIN [12:7] connection setup (see Table 35) STAGE1 AFE offset control (see Table 36) STAGE1 sensitivity control (see Table 37) STAGE1 initial offset low value STAGE1 initial offset high value STAGE1 offset high clamp value STAGE1 offset low clamp value

STAGE2 CIN [6:0] connection setup (see Table 34) STAGE2 CIN [12:7] connection setup (see Table 35) STAGE2 AFE offset control (see Table 36) STAGE2 sensitivity control (see Table 37) STAGE2 initial offset low value STAGE2 initial offset high value STAGE2 offset high clamp value STAGE2 offset low clamp value

STAGE3 CIN [6:0] connection setup (see Table 34STAGE3 CIN [12:7] connection setup (see Table 35) STAGE3 AFE offset control (see Table 36) STAGE3 sensitivity control (see Table 37) STAGE3 initial offset low value STAGE3 initial offset high value STAGE3 offset high clamp value STAGE3 offset low clamp value

STAGE4 CIN [6:0] connection setup (see Table 34) STAGE4 CIN [12:7] connection setup (see Table 35) STAGE4 AFE offset control (see Table 36) STAGE4 sensitivity control (see Table 37) STAGE4 initial offset low value STAGE4 initial offset high value STAGE4 offset high clamp value STAGE4 offset low clamp value

STAGE5 CIN [6:0] connection setup (see Table 34) STAGE5 CIN [12:7] connection setup (see Table 35) STAGE5 AFE offset control (see Table 36) STAGE5 sensitivity control (see Table 37) STAGE5 initial offset low value STAGE5 initial offset high value STAGE5 offset high clamp value STAGE5 offset low clamp value

Table 38. STAGE0 to Stage12 Configuration Registers

Address Data Bit Default 0x080 [15:0] X 0x081 [15:0] X 0x082 [15:0] X 0x083 [15:0] X 0x084 [15:0] X 0x085 [15:0] X 0x086 [15:0] X 0x087 [15:0] X 0x088 [15:0] X 0x0 [15:0] X 0x08A [15:0] X 0x08B [15:0] X 0x08C [15:0] X 0x08D [15:0] X 0x08E [15:0] X 0x08F [15:0] X 0x090 [15:0] X 0x091 [15:0] X 0x092 [15:0] X 0x093 [15:0] X 0x094 [15:0] X 0x095 [15:0] X 0x096 [15:0] X 0x097 [15:0] X 0x098 [15:0] X 0x099 [15:0] X 0x09A [15:0] X 0x09B [15:0] X 0x09C [15:0] X 0x09D [15:0] X 0x09E [15:0] X 0x09F [15:0] X 0x0A0 [15:0] X 0x0A1 [15:0] X 0x0A2 [15:0] X 0x0A3 [15:0] X 0x0A4 [15:0] X 0x0A5 [15:0] X 0x0A6 [15:0] X 0x0A7 [15:0] X 0x0A8 [15:0] X 0x0A9 [15:0] X 0x0AA [15:0] X 0x0AB [15:0] X 0x0AC [15:0] X 0x0AD [15:0] X 0x0AE [15:0] X 0x0AF [15:0] X

Rev. 0 | Page 54 of 68

元器件交易网www.cecb2b.com

AD7147

Type Name R/W STAGE6_CONNECTION [6:0] R/W STAGE6_CONNECTION [12:7] R/W STAGE6_AFE_OFFSET IR/W STAGE6_SENSITIVITY R/W STAGE6_OFFSET_LOW R/W STAGE6_OFFSET_HIGH R/W STAGE6_OFFSET_HIGH_CLAMP R/W STAGE6_OFFSET_LOW_CLAMP R/W STAGE7_CONNECTION [6:0] R/W STAGE7_CONNECTON[12:7] R/W STAGE7_AFE_OFFSET R/W STAGE7_SENSITIVITY R/W STAGE7_OFFSET_LOW R/W STAGE7_OFFSET_HIGH R/W STAGE7_OFFSET_HIGH_CLAMP R/W STAGE7_OFFSET_LOW_CLAMP R/W STAGE8_CONNECTION [6:0] R/W STAGE8_CONNECTION [12:7] R/W STAGE8_AFE_OFFSET R/W STAGE8_SENSITIVITY R/W STAGE8_OFFSET_LOW R/W STAGE8_OFFSET_HIGH R/W STAGE8_OFFSET_HIGH_CLAMP R/W STAGE8_OFFSET_LOW_CLAMP

IR/W STAGE9_CONNECTION [6:0] R/W STAGE9_CONNECTION [12:7] R/W STAGE9_AFE_OFFSET R/W STAGE9_SENSITIVITY R/W STAGE9_OFFSET_LOW R/W STAGE9_OFFSET_HIGH R/W STAGE9_OFFSET_HIGH_CLAMP R/W STAGE9_OFFSET_LOW_CLAMP R/W STAGE10_CONNECTION [6:0] R/W STAGE10_CONNECTION [12:7] R/W STAGE10_AFE_OFFSET R/W STAGE10_SENSITIVITY R/W STAGE10_OFFSET_LOW R/W STAGE10_OFFSET_HIGH R/W STAGE10_OFFSET_HIGH_CLAMP R/W STAGE10_OFFSET_LOW_CLAMP R/W STAGE11_CONNECTION [6:0] R/W STAGE11_CONNECTON[12:7] R/W STAGE11_AFE_OFFSET R/W STAGE11_SENSITIVITY R/W STAGE11_OFFSET_LOW R/W STAGE11_OFFSET_HIGH R/W STAGE11_OFFSET_HIGH_CLAMP R/W STAGE11_OFFSET_LOW_CLAMP

Description

STAGE6 CIN [6:0] connection setup (see Table 34) STAGE6 CIN [12:7]connection setup (see Table 35) STAGE6 AFE offset control (see Table 36) STAGE6 sensitivity control (see Table 37) STAGE6 initial offset low value STAGE6 initial offset high value STAGE6 offset high clamp value STAGE6 offset low clamp value

STAGE7 CIN [6:0] connection setup (see Table 34) STAGE7 CIN [12:7] connection setup (see Table 35) STAGE7 AFE offset control (see Table 36) STAGE7 sensitivity control (see Table 37) STAGE7 initial offset low value STAGE7 initial offset high value STAGE7 offset high clamp value STAGE7 offset low clamp value

STAGE8 CIN [6:0] connection setup (see Table 34) STAGE8 CIN [12:7]connection setup (see Table 35) STAGE8 AFE offset control (see Table 36) STAGE8 sensitivity control (see Table 37) STAGE8 initial offset low value STAGE8 initial offset high value STAGE8 offset high clamp value STAGE8 offset low clamp value

STAGE9 CIN [6:0] connection setup (see Table 34) STAGE9 CIN [12:7]connection setup (see Table 35) STAGE9 AFE offset control (see Table 36) STAGE9 sensitivity control (see Table 37) STAGE9 initial offset low value STAGE9 initial offset high value STAGE9 offset high clamp value STAGE9 offset low clamp value

STAGE10 CIN [6:0] connection setup (see Table 34) STAGE10 CIN [12:7]connection setup (see Table 35) STAGE10 AFE offset control (see Table 36) STAGE10 sensitivity control (see Table 37) STAGE10 initial offset low value STAGE10 initial offset high value STAGE10 offset high clamp value STAGE10 offset low clamp value

STAGE11 CIN [6:0] connection setup (see Table 34) STAGE11 CIN [12:7] connection setup (see Table 35) STAGE11 AFE offset control (see Table 36) STAGE11 sensitivity control (see Table 37) STAGE11 initial offset low value STAGE11 initial offset high value STAGE11 offset high clamp value STAGE11 offset low clamp value

Address Data Bit Default 0x0B0 [15:0] X 0x0B1 [15:0] X 0x0B2 [15:0] X 0x0B3 [15:0] X 0x0B4 [15:0] X 0x0B5 [15:0] X 0x0B6 [15:0] X 0x0B7 [15:0] X 0x0B8 [15:0] X 0x0B9 [15:0] X 0x0BA [15:0] X 0x0BB [15:0] X 0x0BC [15:0] X 0x0BD [15:0] X 0x0BE [15:0] X 0x0BF [15:0] X 0x0C0 [15:0] X 0x0C1 [15:0] X 0x0C2 [15:0] X 0x0C3 [15:0] X 0x0C4 [15:0] X 0x0C5 [15:0] X 0x0C6 [15:0] X 0x0C7 [15:0] X 0x0C8 [15:0] X 0x0C9 [15:0] X 0x0CA [15:0] X 0x0CB [15:0] X 0x0CC [15:0] X 0x0CD [15:0] X 0x0CE [15:0] X 0x0CF [15:0] X 0x0D0 [15:0] X 0x0D1 [15:0] X 0x0D2 [15:0] X 0x0D3 [15:0] X 0x0D4 [15:0] X 0x0D5 [15:0] X 0x0D6 [15:0] X 0x0D7 [15:0] X 0x0D8 [15:0] X 0x0D9 [15:0] X 0x0DA [15:0] X 0x0DB [15:0] X 0x0DC [15:0] X 0x0DD [15:0] X 0x0DE [15:0] X 0x0DF [15:0] X

Rev. 0 | Page 55 of 68

元器件交易网www.cecb2b.com

AD7147

BANK 3 REGISTERS

All address values are expressed in hexadecimal. Table 39. STAGE0 Results Registers

Address Data Bit 0x0E0 [15:0] 0x0E1 [15:0] 0x0E2 [15:0] 0x0E3 [15:0] 0x0E4 [15:0] 0x0E5 [15:0] 0x0E6 [15:0] 0x0E7 [15:0] 0x0E8 [15:0] 0x0E9 [15:0] 0x0EA [15:0] 0x0EB [15:0] 0x0EC [15:0] 0x0ED [15:0] 0x0EE [15:0] 0x0EF [15:0] 0x0F0 [15:0] 0x0F1 [15:0] 0x0F2 [15:0] 0x0F3 [15:0] 0x0F4 [15:0] 0x0F5 [15:0] 0x0F6 [15:0] 0x0F7 [15:0] 0x0F8 [15:0] 0x0F9 [15:0] 0x0FA [15:0] 0x0FB [15:0] 0x0FC [15:0] 0x0FD [15:0] 0x0FE [15:0] 0x0FF [15:0] 0x100 [15:0] 0x101 [15:0] 0x102 [15:0] 0x103 [15:0]

Default

Value X X X X X X X X X X X X X X X X X X X

X X X X X X X X X X X X X X

X X X

Type R/W

Name

STAGE0_CONV_DATA

Description

STAGE0 CDC 16-bit conversion data (copy of CDC_RESULT_S0 register) STAGE0 fast FIFO WORD0 STAGE0 fast FIFO WORD1 STAGE0 fast FIFO WORD2 STAGE0 fast FIFO WORD3 STAGE0 fast FIFO WORD4 STAGE0 fast FIFO WORD5 STAGE0 fast FIFO WORD6 STAGE0 fast FIFO WORD7 STAGE0 slow FIFO WORD0 STAGE0 slow FIFO WORD1 STAGE0 slow FIFO WORD2 STAGE0 slow FIFO WORD3 STAGE0 slow FIFO WORD4 STAGE0 slow FIFO WORD5 STAGE0 slow FIFO WORD6 STAGE0 slow FIFO WORD7

STAGE0 slow FIFO ambient value STAGE0 fast FIFO average value STAGE0 peak FIFO WORD0 value STAGE0 peak FIFO WORD1 value

STAGE0 maximum value FIFO WORD0 STAGE0 maximum value FIFO WORD1 STAGE0 maximum value FIFO WORD2 STAGE0 maximum value FIFO WORD3 STAGE0 average maximum FIFO value STAGE0 high threshold value

STAGE0 temporary maximum value STAGE0 minimum value FIFO WORD0 STAGE0 minimum value FIFO WORD1 STAGE0 minimum value FIFO WORD2 STAGE0 minimum value FIFO WORD3 STAGE0 average minimum FIFO value STAGE0 low threshold value

STAGE0 temporary minimum value Set to 0

R/W STAGE0_FF_WORD0 R/W STAGE0_FF_WORD1 R/W STAGE0_FF_WORD2 R/W STAGE0_FF_WORD3 R/W STAGE0_FF_WORD4 R/W STAGE0_FF_WORD5 R/W STAGE0_FF_WORD6 R/W STAGE0_FF_WORD7 R/W STAGE0_SF_WORD0 R/W STAGE0_SF_WORD1 R/W STAGE0_SF_WORD2 R/W STAGE0_SF_WORD3 R/W STAGE0_SF_WORD4 R/W STAGE0_SF_WORD5 R/W STAGE0_SF_WORD6 R/W STAGE0_SF_WORD7 R/W STAGE0_SF_AMBIENT R/W STAGE0_FF_AVG

R/W STAGE0_PEAK_DETECT_WORD0 R/W STAGE0_PEAK_DETECT_WORD1 R/W STAGE0_MAX_WORD0 R/W STAGE0_MAX_WORD1 R/W STAGE0_MAX_WORD2 R/W STAGE0_MAX_WORD3 R/W STAGE0_MAX_AVG R/W STAGE0_HIGH_THRESHOLD R/W STAGE0_MAX_TEMP R/W STAGE0_MIN_WORD0 R/W STAGE0_MIN_WORD1 R/W STAGE0_MIN_WORD2 R/W STAGE0_MIN_WORD3 R/W STAGE0_MIN_AVG

R/W STAGE0_LOW_THRESHOLD R/W STAGE0_MIN_TEMP R/W Unused

Rev. 0 | Page 56 of 68

元器件交易网www.cecb2b.com

AD7147

Table 40. STAGE1 Results Registers

Default Value Address Data Bit

0x104 [15:0] X 0x105 [15:0] 0x106 [15:0] 0x107 [15:0] 0x108 [15:0] 0x109 [15:0] 0x10A [15:0] 0x10B [15:0] 0x10C [15:0] 0x10D [15:0] 0x10E [15:0] 0x10F [15:0] 0x110 [15:0] 0x111 [15:0] 0x112 [15:0] 0x113 [15:0] 0x114 [15:0] 0x115 [15:0] 0x116 [15:0] 0x117 [15:0] 0x118 [15:0] 0x119 [15:0] 0x11A [15:0] 0x11B [15:0] 0x11C [15:0] 0x11D [15:0] 0x11E [15:0] 0x11F [15:0] 0x120 [15:0] 0x121 [15:0] 0x122 [15:0] 0x123 [15:0] 0x124 [15:0] 0x125 [15:0] 0x126 [15:0] 0x127 [15:0]

X

X X X X X X X X X X X X X X X X X

X X X X X X X X X X X X X X

X X X

Type Name

R/W STAGE1_CONV_DATA R/W STAGE1_FF_WORD0 R/W STAGE1_FF_WORD1 R/W STAGE1_FF_WORD2 R/W STAGE1_FF_WORD3 R/W STAGE1_FF_WORD4 R/W STAGE1_FF_WORD5 R/W STAGE1_FF_WORD6 R/W STAGE1_FF_WORD7 R/W STAGE1_SF_WORD0 R/W STAGE1_SF_WORD1 R/W STAGE1_SF_WORD2 R/W STAGE1_SF_WORD3 R/W STAGE1_SF_WORD4 R/W STAGE1_SF_WORD5 R/W STAGE1_SF_WORD6 R/W STAGE1_SF_WORD7 R/W STAGE1_SF_AMBIENT R/W STAGE1_FF_AVG

R/W STAGE1_PEAK_DETECT_WORD0 R/W STAGE1_PEAK_DETECT_WORD1 R/W STAGE1_MAX_WORD0 R/W STAGE1_MAX_WORD1 R/W STAGE1_MAX_WORD2 R/W STAGE1_MAX_WORD3 R/W STAGE1_MAX_AVG R/W STAGE1_HIGH_THRESHOLD R/W STAGE1_MAX_TEMP R/W STAGE1_MIN_WORD0 R/W STAGE1_MIN_WORD1 R/W STAGE1_MIN_WORD2 R/W STAGE1_MIN_WORD3 R/W STAGE1_MIN_AVG

R/W STAGE1_LOW_THRESHOLD R/W STAGE1_MIN_TEMP R/W Unused

Description

STAGE1 CDC 16-bit conversion data (copy of CDC_RESULT_S1 register STAGE1 fast FIFO WORD0 STAGE1 fast FIFO WORD1 STAGE1 fast FIFO WORD2 STAGE1 fast FIFO WORD3 STAGE1 fast FIFO WORD4 STAGE1 fast FIFO WORD5 STAGE1 fast FIFO WORD6 STAGE1 fast FIFO WORD7 STAGE1 slow FIFO WORD0 STAGE1 slow FIFO WORD1 STAGE1 slow FIFO WORD2 STAGE1 slow FIFO WORD3 STAGE1 slow FIFO WORD4 STAGE1 slow FIFO WORD5 STAGE1 slow FIFO WORD6 STAGE1 slow FIFO WORD7

STAGE1 slow FIFO ambient value STAGE1 fast FIFO average value STAGE1 peak FIFO WORD0 value STAGE1 peak FIFO WORD1 value

STAGE1 maximum value FIFO WORD0 STAGE1 maximum value FIFO WORD1 STAGE1 maximum value FIFO WORD2 STAGE1 maximum value FIFO WORD3 STAGE1 average maximum FIFO value STAGE1 high threshold value

STAGE1 temporary maximum value STAGE1 minimum value FIFO WORD0 STAGE1 minimum value FIFO WORD1 STAGE1 minimum value FIFO WORD2 STAGE1 minimum value FIFO WORD3 STAGE1 average minimum FIFO value STAGE1 low threshold value

STAGE1 temporary minimum value Set to 0

Rev. 0 | Page 57 of 68

元器件交易网www.cecb2b.com

AD7147

Table 41. STAGE2 Results Registers

Default Value Address Data Bit

0x128 [15:0] X 0x129 [15:0] 0x12A [15:0] 0x12B [15:0] 0x12C [15:0] 0x12D [15:0] 0x12E [15:0] 0x12F [15:0] 0x130 [15:0] 0x131 [15:0] 0x132 [15:0] 0x133 [15:0] 0x134 [15:0] 0x135 [15:0] 0x136 [15:0] 0x137 [15:0] 0x138 [15:0] 0x139 [15:0] 0x13A [15:0] 0x13B [15:0] 0x13C [15:0] 0x13D [15:0] 0x13E [15:0] 0x13F [15:0] 0x140 [15:0] 0x141 [15:0] 0x142 [15:0] 0x143 [15:0] 0x144 [15:0] 0x145 [15:0] 0x146 [15:0] 0x147 [15:0] 0x148 [15:0] 0x149 [15:0] 0x14A [15:0] 0x14B [15:0]

X

X X X X X X X X X X X X X X X X X

X X X X X X X X X X X X X X

X X X

Type Name

R/W STAGE2_CONV_DATA R/W STAGE2_FF_WORD0 R/W STAGE2_FF_WORD1 R/W STAGE2_FF_WORD2 R/W STAGE2_FF_WORD3 R/W STAGE2_FF_WORD4 R/W STAGE2_FF_WORD5 R/W STAGE2_FF_WORD6 R/W STAGE2_FF_WORD7 R/W STAGE2_SF_WORD0 R/W STAGE2_SF_WORD1 R/W STAGE2_SF_WORD2 R/W STAGE2_SF_WORD3 R/W STAGE2_SF_WORD4 R/W STAGE2_SF_WORD5 R/W STAGE2_SF_WORD6 R/W STAGE2_SF_WORD7 R/W STAGE2_SF_AMBIENT R/W STAGE2_FF_AVG

R/W STAGE2_PEAK_DETECT_WORD0 R/W STAGE2_PEAK_DETECT_WORD1 R/W STAGE2_MAX_WORD0 R/W STAGE2_MAX_WORD1 R/W STAGE2_MAX_WORD2 R/W STAGE2_MAX_WORD3 R/W STAGE2_MAX_AVG R/W STAGE2_HIGH_THRESHOLD R/W STAGE2_MAX_TEMP R/W STAGE2_MIN_WORD0 R/W STAGE2_MIN_WORD1 R/W STAGE2_MIN_WORD2 R/W STAGE2_MIN_WORD3 R/W STAGE2_MIN_AVG

R/W STAGE2_LOW_THRESHOLD R/W STAGE2_MIN_TEMP R/W Unused

Description

STAGE2 CDC 16-bit conversion data (copy of CDC_RESULT_S2 register) STAGE2 fast FIFO WORD0 STAGE2 fast FIFO WORD1 STAGE2 fast FIFO WORD2 STAGE2 fast FIFO WORD3 STAGE2 fast FIFO WORD4 STAGE2 fast FIFO WORD5 STAGE2 fast FIFO WORD6 STAGE2 fast FIFO WORD7 STAGE2 slow FIFO WORD0 STAGE2 slow FIFO WORD1 STAGE2 slow FIFO WORD2 STAGE2 slow FIFO WORD3 STAGE2 slow FIFO WORD4 STAGE2 slow FIFO WORD5 STAGE2 slow FIFO WORD6 STAGE2 slow FIFO WORD7

STAGE2 slow FIFO ambient value STAGE2 fast FIFO average value STAGE2 peak FIFO WORD0 value STAGE2 peak FIFO WORD1 value

STAGE2 maximum value FIFO WORD0 STAGE2 maximum value FIFO WORD1 STAGE2 maximum value FIFO WORD2 STAGE2 maximum value FIFO WORD3 STAGE2 average maximum FIFO value STAGE2 high threshold value

STAGE2 temporary maximum value STAGE2 minimum value FIFO WORD0 STAGE2 minimum value FIFO WORD1 STAGE2 minimum value FIFO WORD2 STAGE2 minimum value FIFO WORD3 STAGE2 average minimum FIFO value STAGE2 low threshold value

STAGE2 temporary minimum value Set to 0

Rev. 0 | Page 58 of 68

元器件交易网www.cecb2b.com

AD7147

Table 42. STAGE3 Results Registers

Default Value Address Data Bit

0x14C [15:0] X 0x14D [15:0] 0x14E [15:0] 0x14F [15:0] 0x150 [15:0] 0x151 [15:0] 0x152 [15:0] 0x153 [15:0] 0x154 [15:0] 0x155 [15:0] 0x156 [15:0] 0x157 [15:0] 0x158 [15:0] 0x159 [15:0] 0x15A [15:0] 0x15B [15:0] 0x15C [15:0] 0x15D [15:0] 0x15E [15:0] 0x15F [15:0] 0x160 [15:0] 0x161 [15:0] 0x162 [15:0] 0x163 [15:0] 0x1 [15:0] 0x165 [15:0] 0x166 [15:0] 0x167 [15:0] 0x168 [15:0] 0x169 [15:0] 0x16A [15:0] 0x16B [15:0] 0x16C [15:0] 0x16D [15:0] 0x16E [15:0] 0x16F [15:0]

X

X X X X X X X X X X X X X X X X X

X X X X X X X X X X X X X X

X X X

Type Name

R/W STAGE3_CONV_DATA R/W STAGE3_FF_WORD0 R/W STAGE3_FF_WORD1 R/W STAGE3_FF_WORD2 R/W STAGE3_FF_WORD3 R/W STAGE3_FF_WORD4 R/W STAGE3_FF_WORD5 R/W STAGE3_FF_WORD6 R/W STAGE3_FF_WORD7 R/W STAGE3_SF_WORD0 R/W STAGE3_SF_WORD1 R/W STAGE3_SF_WORD2 R/W STAGE3_SF_WORD3 R/W STAGE3_SF_WORD4 R/W STAGE3_SF_WORD5 R/W STAGE3_SF_WORD6 R/W STAGE3_SF_WORD7 R/W STAGE3_SF_AMBIENT R/W STAGE3_FF_AVG

R/W STAGE3_PEAK_DETECT_WORD0 R/W STAGE3_PEAK_DETECT_WORD1 R/W STAGE3_MAX_WORD0 R/W STAGE3_MAX_WORD1 R/W STAGE3_MAX_WORD2 R/W STAGE3_MAX_WORD3 R/W STAGE3_MAX_AVG R/W STAGE3_HIGH_THRESHOLD R/W STAGE3_MAX_TEMP R/W STAGE3_MIN_WORD0 R/W STAGE3_MIN_WORD1 R/W STAGE3_MIN_WORD2 R/W STAGE3_MIN_WORD3 R/W STAGE3_MIN_AVG

R/W STAGE3_LOW_THRESHOLD R/W STAGE3_MIN_TEMP R/W Unused

Description

STAGE3 CDC 16-bit conversion data (copy of CDC_RESULT_S3 register) STAGE3 fast FIFO WORD0 STAGE3 fast FIFO WORD1 STAGE3 fast FIFO WORD2 STAGE3 fast FIFO WORD3 STAGE3 fast FIFO WORD4 STAGE3 fast FIFO WORD5 STAGE3 fast FIFO WORD6 STAGE3 fast FIFO WORD7 STAGE3 slow FIFO WORD0 STAGE3 slow FIFO WORD1 STAGE3 slow FIFO WORD2 STAGE3 slow FIFO WORD3 STAGE3 slow FIFO WORD4 STAGE3 slow FIFO WORD5 STAGE3 slow FIFO WORD6 STAGE3 slow FIFO WORD7

STAGE3 slow FIFO ambient value STAGE3 fast FIFO average value STAGE3 peak FIFO WORD0 value STAGE3 peak FIFO WORD1 value

STAGE3 maximum value FIFO WORD0 STAGE3 maximum value FIFO WORD1 STAGE3 maximum value FIFO WORD2 STAGE3 maximum value FIFO WORD3 STAGE3 average maximum FIFO value STAGE3 high threshold value

STAGE3 temporary maximum value STAGE3 minimum value FIFO WORD0 STAGE3 minimum value FIFO WORD1 STAGE3 minimum value FIFO WORD2 STAGE3 minimum value FIFO WORD3 STAGE3 average minimum FIFO value STAGE3 low threshold value

STAGE3 temporary minimum value Set to 0

Rev. 0 | Page 59 of 68

元器件交易网www.cecb2b.com

AD7147

Table 43. STAGE4 Results Registers

Default Value Address Data Bit

0x170 [15:0] X 0x171 [15:0] 0x172 [15:0] 0x173 [15:0] 0x174 [15:0] 0x175 [15:0] 0x176 [15:0] 0x177 [15:0] 0x178 [15:0] 0x179 [15:0] 0x17A [15:0] 0x17B [15:0] 0x17C [15:0] 0x17D [15:0] 0x17E [15:0] 0x17F [15:0] 0x180 [15:0] 0x181 [15:0] 0x182 [15:0] 0x183 [15:0] 0x184 [15:0] 0x185 [15:0] 0x186 [15:0] 0x187 [15:0] 0x188 [15:0] 0x1 [15:0] 0x18A [15:0] 0x18B [15:0] 0x18C [15:0] 0x18D [15:0] 0x18E [15:0] 0x18F [15:0] 0x190 [15:0] 0x191 [15:0] 0x192 [15:0] 0x193 [15:0]

X

X X X X X X X X X X X X X X X X X

X X X X X X X X X X X X X X

X X X

Type Name

R/W STAGE4_CONV_DATA R/W STAGE4_FF_WORD0 R/W STAGE4_FF_WORD1 R/W STAGE4_FF_WORD2 R/W STAGE4_FF_WORD3 R/W STAGE4_FF_WORD4 R/W STAGE4_FF_WORD5 R/W STAGE4_FF_WORD6 R/W STAGE4_FF_WORD7 R/W STAGE4_SF_WORD0 R/W STAGE4_SF_WORD1 R/W STAGE4_SF_WORD2 R/W STAGE4_SF_WORD3 R/W STAGE4_SF_WORD4 R/W STAGE4_SF_WORD5 R/W STAGE4_SF_WORD6 R/W STAGE4_SF_WORD7 R/W STAGE4_SF_AMBIENT R/W STAGE4_FF_AVG

R/W STAGE4_PEAK_DETECT_WORD0 R/W STAGE4_PEAK_DETECT_WORD1 R/W STAGE4_MAX_WORD0 R/W STAGE4_MAX_WORD1 R/W STAGE4_MAX_WORD2 R/W STAGE4_MAX_WORD3 R/W STAGE4_MAX_AVG R/W STAGE4_HIGH_THRESHOLD R/W STAGE4_MAX_TEMP R/W STAGE4_MIN_WORD0 R/W STAGE4_MIN_WORD1 R/W STAGE4_MIN_WORD2 R/W STAGE4_MIN_WORD3 R/W STAGE4_MIN_AVG

R/W STAGE4_LOW_THRESHOLD R/W STAGE4_MIN_TEMP R/W Unused

Description

STAGE4 CDC 16-bit conversion data (copy of CDC_RESULT_S4 register) STAGE4 fast FIFO WORD0 STAGE4 fast FIFO WORD1 STAGE4 fast FIFO WORD2 STAGE4 fast FIFO WORD3 STAGE4 fast FIFO WORD4 STAGE4 fast FIFO WORD5 STAGE4 fast FIFO WORD6 STAGE4 fast FIFO WORD7 STAGE4 slow FIFO WORD0 STAGE4 slow FIFO WORD1 STAGE4 slow FIFO WORD2 STAGE4 slow FIFO WORD3 STAGE4 slow FIFO WORD4 STAGE4 slow FIFO WORD5 STAGE4 slow FIFO WORD6 STAGE4 slow FIFO WORD7

STAGE4 slow FIFO ambient value STAGE4 fast FIFO average value STAGE4 peak FIFO WORD0 value STAGE4 peak FIFO WORD1 value

STAGE4 maximum value FIFO WORD0 STAGE4 maximum value FIFO WORD1 STAGE4 maximum value FIFO WORD2 STAGE4 maximum value FIFO WORD3 STAGE4 average maximum FIFO value STAGE4 high threshold value

STAGE4 temporary maximum value STAGE4 minimum value FIFO WORD0 STAGE4 minimum value FIFO WORD1 STAGE4 minimum value FIFO WORD2 STAGE4 minimum value FIFO WORD3 STAGE4 average minimum FIFO value STAGE4 low threshold value

STAGE4 temporary minimum value Set to 0

Rev. 0 | Page 60 of 68

元器件交易网www.cecb2b.com

AD7147

Table 44. STAGE5 Results Registers

Default Value Address Data Bit

0x194 [15:0] X 0x195 [15:0] 0x196 [15:0] 0x197 [15:0] 0x198 [15:0] 0x199 [15:0] 0x19A [15:0] 0x19B [15:0] 0x19C [15:0] 0x19D [15:0] 0x19E [15:0] 0x19F [15:0] 0x1A0 [15:0] 0x1A1 [15:0] 0x1A2 [15:0] 0x1A3 [15:0] 0x1A4 [15:0] 0x1A5 [15:0] 0x1A6 [15:0] 0x1A7 [15:0] 0x1A8 [15:0] 0x1A9 [15:0] 0x1AA [15:0] 0x1AB [15:0] 0x1AC [15:0] 0x1AD [15:0] 0x1AE [15:0] 0x1AF [15:0] 0x1B0 [15:0] 0x1B1 [15:0] 0x1B2 [15:0] 0x1B3 [15:0] 0x1B4 [15:0] 0x1B5 [15:0] 0x1B6 [15:0] 0x1B7 [15:0]

X

X X X X X X X X X X X X X X X X X

X X X X X X X

X X X X X X X

X X X

Type Name

R/W STAGE5_CONV_DATA R/W STAGE5_FF_WORD0 R/W STAGE5_FF_WORD1 R/W STAGE5_FF_WORD2 R/W STAGE5_FF_WORD3 R/W STAGE5_FF_WORD4 R/W STAGE5_FF_WORD5 R/W STAGE5_FF_WORD6 IR/W STAGE5_FF_WORD7 R/W STAGE5_SF_WORD0 R/W STAGE5_SF_WORD1 R/W STAGE5_SF_WORD2 R/W STAGE5_SF_WORD3 R/W STAGE5_SF_WORD4 R/W STAGE5_SF_WORD5 R/W STAGE5_SF_WORD6 R/W STAGE5_SF_WORD7 R/W STAGE5_SF_AMBIENT R/W STAGE5_FF_AVG

R/W STAGE5_PEAK_DETECT_WORD0 R/W STAGE5_PEAK_DETECT_WORD1 R/W STAGE5_MAX_WORD0 R/W STAGE5_MAX_WORD1 R/W STAGE5_MAX_WORD2 R/W STAGE5_MAX_WORD3 R/W STAGE5_MAX_AVG

R/W STAGE5_HGH_THRESHOLD R/W STAGE5_MAX_TEMP R/W STAGE5_MIN_WORD0 R/W STAGE5_MIN_WORD1 R/W STAGE5_MIN_WORD2 R/W STAGE5_MIN_WORD3 R/W STAGE5_MIN_AVG

R/W STAGE5_LOW_THRESHOLD R/W STAGE5_MIN_TEMP R/W Unused

Description

STAGE5 CDC 16-bit conversion data (copy of CDC_RESULT_S5 register) STAGE5 fast FIFO WORD0 STAGE5 fast FIFO WORD1 STAGE5 fast FIFO WORD2 STAGE5 fast FIFO WORD3 STAGE5 fast FIFO WORD4 STAGE5 fast FIFO WORD5 STAGE5 fast FIFO WORD6 STAGE5 fast FIFO WORD7 STAGE5 slow FIFO WORD0 STAGE5 slow FIFO WORD1 STAGE5 slow FIFO WORD2 STAGE5 slow FIFO WORD3 STAGE5 slow FIFO WORD4 STAGE5 slow FIFO WORD5 STAGE5 slow FIFO WORD6 STAGE5 slow FIFO WORD7

STAGE5 slow FIFO ambient value STAGE5 fast FIFO average value STAGE5 peak FIFO WORD0 value STAGE5 peak FIFO WORD1 value

STAGE5 maximum value FIFO WORD0 STAGE5 maximum value FIFO WORD1 STAGE5 maximum value FIFO WORD2 STAGE5 maximum value FIFO WORD3 STAGE5 average maximum FIFO value STAGE5 high threshold value

STAGE5 temporary maximum value STAGE5 minimum value FIFO WORD0 STAGE5 minimum value FIFO WORD1 STAGE5 minimum value FIFO WORD2 STAGE5 minimum value FIFO WORD3 STAGE5 average minimum FIFO value STAGE5 low threshold value

STAGE5 temporary minimum value Set to 0

Rev. 0 | Page 61 of 68

元器件交易网www.cecb2b.com

AD7147

Table 45. STAGE6 Results Registers

Default Value Address Data Bit

0x1B8 [15:0] X 0x1B9 [15:0] 0x1BA [15:0] 0x1BB [15:0] 0x1BC [15:0] 0x1BD [15:0] 0x1BE [15:0] 0x1BF [15:0] 0x1C0 [15:0] 0x1C1 [15:0] 0x1C2 [15:0] 0x1C3 [15:0] 0x1C4 [15:0] 0x1C5 [15:0] 0x1C6 [15:0] 0x1C7 [15:0] 0x1C8 [15:0] 0x1C9 [15:0] 0x1CA [15:0] 0x1CB [15:0] 0x1CC [15:0] 0x1CD [15:0] 0x1CE [15:0] 0x1CF [15:0] 0x1D0 [15:0] 0x1D1 [15:0] 0x1D2 [15:0] 0x1D3 [15:0] 0x1D4 [15:0] 0x1D5 [15:0] 0x1D6 [15:0] 0x1D7 [15:0] 0x1D8 [15:0] 0x1D9 [15:0] 0x1DA [15:0] 0x1DB [15:0]

X

X X X X X X X X X X X X X X X X X

X X X X X X X X X X X X X X

X X X

Type Name

R/W STAGE6_CONV_DATA R/W STAGE6_FF_WORD0 R/W STAGE6_FF_WORD1 R/W STAGE6_FF_WORD2 R/W STAGE6_FF_WORD3 R/W STAGE6_FF_WORD4 R/W STAGE6_FF_WORD5 R/W STAGE6_FF_WORD6 R/W STAGE6_FF_WORD7 R/W STAGE6_SF_WORD0 R/W STAGE6_SF_WORD1 R/W STAGE6_SF_WORD2 R/W STAGE6_SF_WORD3 R/W STAGE6_SF_WORD4 R/W STAGE6_SF_WORD5 R/W STAGE6_SF_WORD6 R/W STAGE6_SF_WORD7 R/W STAGE6_SF_AMBIENT R/W STAGE6_FF_AVG

R/W STAGE6_PEAK_DETECT_WORD0 R/W STAGE6_PEAK_DETECT_WORD1 R/W STAGE6_MAX_WORD0 R/W STAGE6_MAX_WORD1 R/W STAGE6_MAX_WORD2 R/W STAGE6_MAX_WORD3 R/W STAGE6_MAX_AVG R/W STAGE6_HIGH_THRESHOLD R/W STAGE6_MAX_TEMP R/W STAGE6_MIN_WORD0 R/W STAGE6_MIN_WORD1 R/W STAGE6_MIN_WORD2 R/W STAGE6_MIN_WORD3 R/W STAGE6_MIN_AVG

R/W STAGE6_LOW_THRESHOLD R/W STAGE6_MIN_TEMP R/W Unused

Description

STAGE6 CDC 16-bit conversion data (copy of CDC_RESULT_S6 register) STAGE6 fast FIFO WORD0 STAGE6 fast FIFO WORD1 STAGE6 fast FIFO WORD2 STAGE6 fast FIFO WORD3 STAGE6 fast FIFO WORD4 STAGE6 fast FIFO WORD5 STAGE6 fast FIFO WORD6 STAGE6 fast FIFO WORD7 STAGE6 slow FIFO WORD0 STAGE6 slow FIFO WORD1 STAGE6 slow FIFO WORD2 STAGE6 slow FIFO WORD3 STAGE6 slow FIFO WORD4 STAGE6 slow FIFO WORD5 STAGE6 slow FIFO WORD6 STAGE6 slow FIFO WORD7

STAGE6 slow FIFO ambient value STAGE6 fast FIFO average value STAGE6 peak FIFO WORD0 value STAGE6 peak FIFO WORD1 value

STAGE6 maximum value FIFO WORD0 STAGE6 maximum value FIFO WORD1 STAGE6 maximum value FIFO WORD2 STAGE6 maximum value FIFO WORD3 STAGE6 average maximum FIFO value STAGE6 high threshold value

STAGE6 temporary maximum value STAGE6 minimum value FIFO WORD0 STAGE6 minimum value FIFO WORD1 STAGE6 minimum value FIFO WORD2 STAGE6 minimum value FIFO WORD3 STAGE6 average minimum FIFO value STAGE6 low threshold value

STAGE6 temporary minimum value Set to 0

Rev. 0 | Page 62 of 68

元器件交易网www.cecb2b.com

AD7147

Default Value X X X X X X X X X X X X X X X X X X X

X X X X X X X X X X X X X X

X X X

Table 46. STAGE7 Results Registers

Address Data Bit 0x1DC [15:0] 0x1DD [15:0] 0x1DE [15:0] 0x1DF [15:0] 0x1E0 [15:0] 0x1E1 [15:0] 0x1E2 [15:0] 0x1E3 [15:0] 0x1E4 [15:0] 0x1E5 [15:0] 0x1E6 [15:0] 0x1E7 [15:0] 0x1E8 [15:0] 0x1E9 [15:0] 0x1EA [15:0] 0x1EB [15:0] 0x1EC [15:0] 0x1ED [15:0] 0x1EE [15:0] 0x1EF [15:0] 0x1F0 [15:0] 0x1F1 [15:0] 0x1F2 [15:0] 0x1F3 [15:0] 0x1F4 [15:0] 0x1F5 [15:0] 0x1F6 [15:0] 0x1F7 [15:0] 0x1F8 [15:0] 0x1F9 [15:0] 0x1FA [15:0] 0x1FB [15:0] 0x1FC [15:0] 0x1FD [15:0] 0x1FE [15:0] 0x1FF [15:0]

Type Name

R/W STAGE7_CONV_DATA R/W STAGE7_FF_WORD0 R/W STAGE7_FF_WORD1 R/W STAGE7_FF_WORD2 R/W STAGE7_FF_WORD3 R/W STAGE7_FF_WORD4 R/W STAGE7_FF_WORD5 R/W STAGE7_FF_WORD6 R/W STAGE7_FF_WORD7 R/W STAGE7_SF_WORD0 R/W STAGE7_SF_WORD1 R/W STAGE7_SF_WORD2 R/W STAGE7_SF_WORD3 R/W STAGE7_SF_WORD4 R/W STAGE7_SF_WORD5 R/W STAGE7_SF_WORD6 R/W STAGE7_SF_WORD7 R/W STAGE7_SF_AMBIENT R/W STAGE7_FF_AVG

R/W STAGE7_PEAK_DETECT_WORD0 R/W STAGE7_PEAK_DETECT_WORD1 R/W STAGE7_MAX_WORD0 R/W STAGE7_MAX_WORD1 R/W STAGE7_MAX_WORD2 R/W STAGE7_MAX_WORD3 R/W STAGE7_MAX_AVG R/W STAGE7_HIGH_THRESHOLD R/W STAGE7_MAX_TEMP R/W STAGE7_MIN_WORD0 R/W STAGE7_MIN_WORD1 R/W STAGE7_MIN_WORD2 R/W STAGE7_MIN_WORD3 R/W STAGE7_MIN_AVG

R/W STAGE7_LOW_THRESHOLD R/W STAGE7_MIN_TEMP R/W Unused

Description

STAGE7 CDC 16-bit conversion data (copy of CDC_RESULT_S7 register) STAGE7 fast FIFO WORD0 STAGE7 fast FIFO WORD1 STAGE7 fast FIFO WORD2 STAGE7 fast FIFO WORD3 STAGE7 fast FIFO WORD4 STAGE7 fast FIFO WORD5 STAGE7 fast FIFO WORD6 STAGE7 fast FIFO WORD7 STAGE7 slow FIFO WORD0 STAGE7 slow FIFO WORD1 STAGE7 slow FIFO WORD2 STAGE7 slow FIFO WORD3 STAGE7 slow FIFO WORD4 STAGE7 slow FIFO WORD5 STAGE7 slow FIFO WORD6 STAGE7 slow FIFO WORD7

STAGE7 slow FIFO ambient value STAGE7 fast FIFO average value STAGE7 peak FIFO WORD0 value STAGE7 peak FIFO WORD1 value

STAGE7 maximum value FIFO WORD0 STAGE7 maximum value FIFO WORD1 STAGE7 maximum value FIFO WORD2 STAGE7 maximum value FIFO WORD3 STAGE7 average maximum FIFO value STAGE7 high threshold value

STAGE7 temporary maximum value STAGE7 minimum value FIFO WORD0 STAGE7 minimum value FIFO WORD1 STAGE7 minimum value FIFO WORD2 STAGE7 minimum value FIFO WORD3 STAGE7 average minimum FIFO value STAGE7 low threshold value

STAGE7 temporary minimum value Set to 0

Rev. 0 | Page 63 of 68

元器件交易网www.cecb2b.com

AD7147

Table 47. STAGE8 Results Registers

Default Value Address Data Bit

0x200 [15:0] X 0x201 [15:0] 0x202 [15:0] 0x203 [15:0] 0x204 [15:0] 0x205 [15:0] 0x206 [15:0] 0x207 [15:0] 0x208 [15:0] 0x209 [15:0] 0x20A [15:0] 0x20B [15:0] 0x20C [15:0] 0x20D [15:0] 0x20E [15:0] 0x20F [15:0] 0x210 [15:0] 0x211 [15:0] 0x212 [15:0] 0x213 [15:0] 0x214 [15:0] 0x215 [15:0] 0x216 [15:0] 0x217 [15:0] 0x218 [15:0] 0x219 [15:0] 0x21A [15:0] 0x21B [15:0] 0x21C [15:0] 0x21D [15:0] 0x21E [15:0] 0x21F [15:0] 0x220 [15:0] 0x221 [15:0] 0x222 [15:0] 0x223 [15:0]

X

X X X X X X X X X X X X X X X X X

X X X X X X X X X X X X X X

X X X

Type Name

R/W STAGE8_CONV_DATA R/W STAGE8_FF_WORD0 R/W STAGE8_FF_WORD1 R/W STAGE8_FF_WORD2 R/W STAGE8_FF_WORD3 R/W STAGE8_FF_WORD4 R/W STAGE8_FF_WORD5 R/W STAGE8_FF_WORD6 R/W STAGE8_FF_WORD7 R/W STAGE8_SF_WORD0 R/W STAGE8_SF_WORD1 R/W STAGE8_SF_WORD2 R/W STAGE8_SF_WORD3 R/W STAGE8_SF_WORD4 R/W STAGE8_SF_WORD5 R/W STAGE8_SF_WORD6 R/W STAGE8_SF_WORD7 R/W STAGE8_SF_AMBIENT R/W STAGE8_FF_AVG

R/W STAGE8_PEAK_DETECT_WORD0 R/W STAGE8_PEAK_DETECT_WORD1 R/W STAGE8_MAX_WORD0 R/W STAGE8_MAX_WORD1 R/W STAGE8_MAX_WORD2 R/W STAGE8_MAX_WORD3 R/W STAGE8_MAX_AVG R/W STAGE8_HIGH_THRESHOLD R/W STAGE8_MAX_TEMP R/W STAGE8_MIN_WORD0 R/W STAGE8_MIN_WORD1 R/W STAGE8_MIN_WORD2 R/W STAGE8_MIN_WORD3 R/W STAGE8_MIN_AVG

R/W STAGE8_LOW_THRESHOLD R/W STAGE8_MIN_TEMP R/W Unused

Description

STAGE8 CDC 16-bit conversion data (copy of CDC_RESULT_S8 register) STAGE8 fast FIFO WORD0 STAGE8 fast FIFO WORD1 STAGE8 fast FIFO WORD2 STAGE8 fast FIFO WORD3 STAGE8 fast FIFO WORD4 STAGE8 fast FIFO WORD5 STAGE8 fast FIFO WORD6 STAGE8 fast FIFO WORD7 STAGE8 slow FIFO WORD0 STAGE8 slow FIFO WORD1 STAGE8 slow FIFO WORD2 STAGE8 slow FIFO WORD3 STAGE8 slow FIFO WORD4 STAGE8 slow FIFO WORD5 STAGE8 slow FIFO WORD6 STAGE8 slow FIFO WORD7

STAGE8 slow FIFO ambient value STAGE8 fast FIFO average value STAGE8 peak FIFO WORD0 value STAGE8 peak FIFO WORD1 value

STAGE8 maximum value FIFO WORD0 STAGE8 maximum value FIFO WORD1 STAGE8 maximum value FIFO WORD2 STAGE8 maximum value FIFO WORD3 STAGE8 average maximum FIFO value STAGE8 high threshold value

STAGE8 temporary maximum value STAGE8 minimum value FIFO WORD0 STAGE8 minimum value FIFO WORD1 STAGE8 minimum value FIFO WORD2 STAGE8 minimum value FIFO WORD3 STAGE8 average minimum FIFO value STAGE8 low threshold value

STAGE7 temporary minimum value Set to 0

Rev. 0 | Page of 68

元器件交易网www.cecb2b.com

AD7147

Table 48. STAGE9 Results Registers

Default Value Address Data Bit

0x224 [15:0] X 0x225 [15:0] 0x226 [15:0] 0x227 [15:0] 0x228 [15:0] 0x229 [15:0] 0x22A [15:0] 0x22B [15:0] 0x22C [15:0] 0x22D [15:0] 0x22E [15:0] 0x22F [15:0] 0x230 [15:0] 0x231 [15:0] 0x232 [15:0] 0x233 [15:0] 0x234 [15:0] 0x235 [15:0] 0x236 [15:0] 0x237 [15:0] 0x238 [15:0] 0x239 [15:0] 0x23A [15:0] 0x23B [15:0] 0x23C [15:0] 0x23D [15:0] 0x23E [15:0] 0x23F [15:0] 0x240 [15:0] 0x241 [15:0] 0x242 [15:0] 0x243 [15:0] 0x244 [15:0] 0x245 [15:0] 0x246 [15:0] 0x247 [15:0]

X

X X X X X X X X X X X X X X X X X

X X X X X X X X X X X X X X

X X X

Type Name

R/W STAGE9_CONV_DATA R/W STAGE9_FF_WORD0 R/W STAGE9_FF_WORD1 R/W STAGE9_FF_WORD2 R/W STAGE9_FF_WORD3 R/W STAGE9_FF_WORD4 R/W STAGE9_FF_WORD5 R/W STAGE9_FF_WORD6 R/W STAGE9_FF_WORD7 R/W STAGE9_SF_WORD0 R/W STAGE9_SF_WORD1 R/W STAGE9_SF_WORD2 R/W STAGE9_SF_WORD3 R/W STAGE9_SF_WORD4 R/W STAGE9_SF_WORD5 R/W STAGE9_SF_WORD6 R/W STAGE9_SF_WORD7 R/W STAGE9_SF_AMBIENT R/W STAGE9_FF_AVG

R/W STAGE9_PEAK_DETECT_WORD0 R/W STAGE9_PEAK_DETECT_WORD1 R/W STAGE9_MAX_WORD0 R/W STAGE9_MAX_WORD1 R/W STAGE9_MAX_WORD2 R/W STAGE9_MAX_WORD3 R/W STAGE9_MAX_AVG R/W STAGE9_HIGH_THRESHOLD R/W STAGE9_MAX_TEMP R/W STAGE9_MIN_WORD0 R/W STAGE9_MIN_WORD1 R/W STAGE9_MIN_WORD2 R/W STAGE9_MIN_WORD3 R/W STAGE9_MIN_AVG

R/W STAGE9_LOW_THRESHOLD R/W STAGE9_MIN_TEMP R/W Unused

Description

STAGE9 CDC 16-bit conversion data (copy of CDC_RESULT_S9 register) STAGE9 fast FIFO WORD0 STAGE9 fast FIFO WORD1 STAGE9 fast FIFO WORD2 STAGE9 fast FIFO WORD3 STAGE9 fast FIFO WORD4 STAGE9 fast FIFO WORD5 STAGE9 fast FIFO WORD6 STAGE9 fast FIFO WORD7 STAGE9 slow FIFO WORD0 STAGE9 slow FIFO WORD1 STAGE9 slow FIFO WORD2 STAGE9 slow FIFO WORD3 STAGE9 slow FIFO WORD4 STAGE9 slow FIFO WORD5 STAGE9 slow FIFO WORD6 STAGE9 slow FIFO WORD7

STAGE9 slow FIFO ambient value STAGE9 fast FIFO average value STAGE9 peak FIFO WORD0 value STAGE9 peak FIFO WORD1 value

STAGE9 maximum value FIFO WORD0 STAGE9 maximum value FIFO WORD1 STAGE9 maximum value FIFO WORD2 STAGE9 maximum value FIFO WORD3 STAGE9 average maximum FIFO value STAGE9 high threshold value

STAGE9 temporary maximum value STAGE9 minimum value FIFO WORD0 STAGE9 minimum value FIFO WORD1 STAGE9 minimum value FIFO WORD2 STAGE9 minimum value FIFO WORD3 STAGE9 average minimum FIFO value STAGE9 low threshold value

STAGE9 temporary minimum value Set to 0

Rev. 0 | Page 65 of 68

元器件交易网www.cecb2b.com

AD7147

Table 49. STAGE10 Results Registers

Default Value Address Data Bit

0x248 [15:0] X 0x249 [15:0] 0x24A [15:0] 0x24B [15:0] 0x24C [15:0] 0x24D [15:0] 0x24E [15:0] 0x24F [15:0] 0x250 [15:0] 0x251 [15:0] 0x252 [15:0] 0x253 [15:0] 0x254 [15:0] 0x255 [15:0] 0x256 [15:0] 0x257 [15:0] 0x258 [15:0] 0x259 [15:0] 0x25A [15:0] 0x25B [15:0] 0x25C [15:0] 0x25D [15:0] 0x25E [15:0] 0x25F [15:0] 0x260 [15:0] 0x261 [15:0] 0x262 [15:0] 0x263 [15:0] 0x2 [15:0] 0x265 [15:0] 0x266 [15:0] 0x267 [15:0] 0x268 [15:0] 0x269 [15:0] 0x26A [15:0] 0x26B [15:0]

X

X X X X X X X X X X X X X X X X X

X X X X

X X X

X X X X X X X X X X

Type Name

R/W STAGE10_CONV_DATA R/W STAGE10_FF_WORD0 R/W STAGE10_FF_WORD1 R/W STAGE10_FF_WORD2 R/W STAGE10_FF_WORD3 R/W STAGE10_FF_WORD4 R/W STAGE10_FF_WORD5 R/W STAGE10_FF_WORD6 IR/W STAGE10_FF_WORD7 R/W STAGE10_SF_WORD0 R/W STAGE10_SF_WORD1 R/W STAGE10_SF_WORD2 R/W STAGE10_SF_WORD3 R/W STAGE10_SF_WORD4 R/W STAGE10_SF_WORD5 R/W STAGE10_SF_WORD6 R/W STAGE10_SF_WORD7 R/W STAGE10_SF_AMBIENT R/W STAGE10_FF_AVG

R/W STAGE10_PEAK_DETECT_WORD0 R/W STAGE10_PEAK_DETECT_WORD1 R/W STAGE10_MAX_WORD0 R/W STAGE10_MAX_WORD1 R/W STAGE10_MAX_WORD2 R/W STAGE10_MAX_WORD3 R/W STAGE10_MAX_AVG

R/W STAGE10_HGH_THRESHOLD R/W STAGE10_MAX_TEMP R/W STAGE10_MIN_WORD0 R/W STAGE10_MIN_WORD1 R/W STAGE10_MIN_WORD2 R/W STAGE10_MIN_WORD3 R/W STAGE10_MIN_AVG R/W STAGE10_LOW_THRESHOLD R/W STAGE10_MIN_TEMP R/W Unused

Description

STAGE10 CDC 16-bit conversion data (copy of CDC_RESULT_S10 register) STAGE10 fast FIFO WORD0 STAGE10 fast FIFO WORD1 STAGE10 fast FIFO WORD2 STAGE10 fast FIFO WORD3 STAGE10 fast FIFO WORD4 STAGE10 fast FIFO WORD5 STAGE10 fast FIFO WORD6 STAGE10 fast FIFO WORD7 STAGE10 slow FIFO WORD0 STAGE10 slow FIFO WORD1 STAGE10 slow FIFO WORD2 STAGE10 slow FIFO WORD3 STAGE10 slow FIFO WORD4 STAGE10 slow FIFO WORD5 STAGE10 slow FIFO WORD6 STAGE10 slow FIFO WORD7

STAGE10 slow FIFO ambient value STAGE10 fast FIFO average value STAGE10 peak FIFO WORD0 value STAGE10 peak FIFO WORD1 value

STAGE10 maximum value FIFO WORD0 STAGE10 maximum value FIFO WORD1 STAGE10 maximum value FIFO WORD2 STAGE10 maximum value FIFO WORD3 STAGE10 average maximum FIFO value STAGE10 high threshold value

STAGE10 temporary maximum value STAGE10 minimum value FIFO WORD0 STAGE10 minimum value FIFO WORD1 STAGE10 minimum value FIFO WORD2 STAGE10 minimum value FIFO WORD3 STAGE10 average minimum FIFO value STAGE10 low threshold value

STAGE10 temporary minimum value Set to 0

Rev. 0 | Page 66 of 68

元器件交易网www.cecb2b.com

AD7147

Table 50. STAGE11 Results Registers

Default

Address Data Bit Value 0x26C [15:0] X 0x26D [15:0] 0x26E [15:0] 0x26F [15:0] 0x270 [15:0] 0x271 [15:0] 0x272 [15:0] 0x273 [15:0] 0x274 [15:0] 0x275 [15:0] 0x276 [15:0] 0x277 [15:0] 0x278 [15:0] 0x279 [15:0] 0x27A [15:0] 0x27B [15:0] 0x27C [15:0] 0x27D [15:0] 0x27E [15:0] 0x27F [15:0] 0x280 [15:0] 0x281 [15:0] 0x282 [15:0] 0x283 [15:0] 0x284 [15:0] 0x285 [15:0] 0x286 [15:0] 0x287 [15:0] 0x288 [15:0] 0x2 [15:0] 0x28A [15:0] 0x28B [15:0] 0x28C [15:0] 0x28D [15:0] 0x28E [15:0] 0x28F [15:0]

X

X X X X X X X X X X X X X X X X X

X X X X X X X

X X X X X X X X X X

Type Name

R/W STAGE11_CONV_DATA R/W STAGE11_FF_WORD0 R/W STAGE11_FF_WORD1 R/W STAGE11_FF_WORD2 R/W STAGE11_FF_WORD3 R/W STAGE11_FF_WORD4 R/W STAGE11_FF_WORD5

I

R/W STAGE11_FF_WORD6 R/W STAGE11_FF_WORD7 R/W STAGE11_SF_WORD0 R/W STAGE11_SF_WORD1 R/W STAGE11_SF_WORD2 R/W STAGE11_SF_WORD3 R/W STAGE11_SF_WORD4 R/W STAGE11_SF_WORD5 R/W STAGE11_SF_WORD6 R/W STAGE11_SF_WORD7 R/W STAGE11_SF_AMBIENT R/W STAGE11_FF_AVG

R/W STAGE11_PEAK_DETECT_WORD0 R/W STAGE11_PEAK_DETECT_WORD1 R/W STAGE11_MAX_WORD0 R/W STAGE11_MAX_WORD1 R/W STAGE11_MAX_WORD2 R/W STAGE11_MAX_WORD3 R/W STAGE11_MAX_AVG

R/W STAGE11_HGH_THRESHOLD R/W STAGE11_MAX_TEMP R/W STAGE11_MIN_WORD0 R/W STAGE11_MIN_WORD1 R/W STAGE11_MIN_WORD2 R/W STAGE11_MIN_WORD3 R/W STAGE11_MIN_AVG R/W STAGE11_LOW_THRESHOLD R/W STAGE11_MIN_TEMP R/W Unused

Description

STAGE11 CDC 16-bit conversion data (copy of CDC_RESULT_S11 register) STAGE11 fast FIFO WORD0 STAGE11 fast FIFO WORD1 STAGE11 fast FIFO WORD2 STAGE11 fast FIFO WORD3 STAGE11 fast FIFO WORD4 STAGE11 fast FIFO WORD5 STAGE11 fast FIFO WORD6 STAGE11 fast FIFO WORD7 STAGE11 slow FIFO WORD0 STAGE11 slow FIFO WORD1 STAGE11 slow FIFO WORD2 STAGE11 slow FIFO WORD3 STAGE11 slow FIFO WORD4 STAGE11 slow FIFO WORD5 STAGE11 slow FIFO WORD6 STAGE11 slow FIFO WORD7

STAGE11 slow FIFO ambient value STAGE11 fast FIFO average value STAGE11 peak FIFO WORD0 value STAGE11 peak FIFO WORD1 value

STAGE11 maximum value FIFO WORD0 STAGE11 maximum value FIFO WORD1 STAGE11 maximum value FIFO WORD2 STAGE11 maximum value FIFO WORD3 STAGE11 average maximum FIFO value STAGE11 high threshold value

STAGE11 temporary maximum value STAGE11 minimum value FIFO WORD0 STAGE11 minimum value FIFO WORD1 STAGE11 minimum value FIFO WORD2 STAGE11 minimum value FIFO WORD3 STAGE11 average minimum FIFO value STAGE11 low threshold value

STAGE11 temporary minimum value Set to 0

Rev. 0 | Page 67 of 68

元器件交易网www.cecb2b.com

AD7147

OUTLINE DIMENSIONS

4.00BSC SQ0.60 MAX0.60 MAX0.50BSC0.500.400.301.000.850.8012° MAX0.80 MAX0.65 TYP1918EXPOSEDPAD241PIN 1INDICATOR2.652.50 SQ2.356PIN 1INDICATORTOPVIEW3.75BSC SQ(BOTTOMVIEW)131270.23 MIN2.50 REF0.05 MAX0.02 NOM0.20 REFCOPLANARITY0.08SEATINGPLANE0.300.230.18 COMPLIANT TO JEDEC STANDARDS MO-220-VGGD-8

Figure 62. 24-Lead Frame Chip Scale Package [LFCSP_VQ]

4 mm × 4 mm Very Thin Quad

(CP-24-3)

Dimensions shown in millimeters

ORDERING GUIDE

Model

AD7147ACPZ-REEL1AD7147ACPZ-500RL71AD7147ACPZ-1REEL1AD7147ACPZ-1500RL71EVAL-AD7147EBZ1EVAL-AD7147-1EBZ1

1

Temperature Range –40°C to +85°C –40°C to +85°C –40°C to +85°C –40°C to +85°C Serial Interface Description SPI Interface SPI Interface I2C Interface I2C Interface SPI Interface I2C Interface Package Description 24-Lead LFCSP_VQ 24-Lead LFCSP_VQ 24-Lead LFCSP_VQ 24-Lead LFCSP_VQ Evaluation Board Evaluation Board Package Option CP-24-3 CP-24-3 CP-24-3 CP-24-3

Z = RoHS Compliant Part.

©2007 Analog Devices, Inc. All rights reserved. Trademarks and registered trademarks are the property of their respective owners. D06663-0-9/07(0)

Rev. 0 | Page 68 of 68

因篇幅问题不能全部显示,请点此查看更多更全内容

Copyright © 2019- huatuo9.cn 版权所有 赣ICP备2023008801号-1

违法及侵权请联系:TEL:199 18 7713 E-MAIL:2724546146@qq.com

本站由北京市万商天勤律师事务所王兴未律师提供法律服务