Datasheet docs

{ "mpn": "MPR121QR2" }

MPR121QR2

12-channel Proximity Capacitive Touch Sensor Controller

Sensor

20-PIN QFNCASE 2059-01

Proximity Capacitive Touch Sensor Controller

The MPR121 is the second generation sensor controller following the initial release of the MPR03x series of devices. The MPR121 features an increased internal intelligence plus Freescale’s second generation capacitance detection engine. Some major enhancements include an increased electrode count, a hardware configurable I2C address, an expanded filtering system with debounce, and completely independent electrodes with built-in autoconfiguration. The device also features a 13th simulated electrode which represents the simultaneous charging of all the electrodes connected together. When used with a touch panel or touch screen array, the 13th simulated electrode allows a greater near proximity detection distance and an increased sensing area.

Features

• 1.71V to 3.6V operation

• 29 μA typical run current at 16 ms sampling interva

• 3 μA in scan stop mode current

• 12 electrodes/capacitance sensing inputs in which 8 are multifunctional for LED driving and GPIO

• Integrated independent autocalibration for each electrode input

• Autoconfiguration of charge current and charge time for each electrode input

• Separate touch and release trip thresholds for each electrode, providing hysteresis and electrode independence

• I2C interface, with IRQ Interrupt output to advise electrode status changes

• 3 mm x 3 mm x 0.65 mm 20 lead QFN package

• -40°C to +85°C operating temperature range

Implementations

• General Purpose Capacitance Detection

• Switch Replacements

• Touch Pads, Touch Wheel, Touch Slide Bar, Touch Screen Panel

• Capacitance Near Proximity Detection

Typical Applications

• PC Peripherals

• MP3 Players

• Remote Controls

• Mobile Phones

• Lighting Controls

Bottom View

ORDERING INFORMATION
Device NameTemperature RangeCase NumberTouch PadsI2C AddressShipping
MPR121QR2-40°C to +85°C2059 (20-Pin QFN)12-pads0x5A - 0x5DTape & Reel

Pin Descriptions

Table 1. Pin Descriptions

Pin No.Pin NameDescription
1 $\overline{\text{IRQ}}$ Open Collector Interrupt Output Pin, active low
2SCL $I^{2}C$ Clock
3SDA $I^{2}C$ Data
4ADDR $I^{2}C$ Address Select Input Pin. Connect the ADDR pin to the VSS, VDD, SDA or SCL line, the resulting $I^{2}C$ addresses are 0x5A, 0x5B, 0x5C and 0x5D respectively
5VREGInternal Regulator Node – Connect a 0.1 μF bypass cap to VSS
6VSSGround
7REXTExternal Resistor – Connect a 75 kΩ 1% resistor to VSS to set internal reference current
8ELE0Electrode 0
9ELE1Electrode 1
10ELE2Electrode 2
11ELE3Electrode 3
12ELE4Electrode 4
13ELE5Electrode 5
14ELE6Electrode 6
15ELE7Electrode 7
16ELE8Electrode 8
17ELE9Electrode 9
18ELE10Electrode 10
19ELE11Electrode 11
20VDDConnect a 0.1 μF bypass cap to VSS

Schematic Drawings and Implementation


Figure 1. Power Configuration 1: MPR121 runs from a 1.71V to 2.75V supply.


Figure 2. Power Configuration 2: MPR121 runs from a 2.0V to 3.6V supply.

3 Device Operation Overview

Power Supply

The VDD pin is the main power supply input to the MPR121 and is always decoupled with a 0.1 μF ceramic capacitor to the VSS. Excessive noise on the VDD should be avoided.

The VDD pin has an operational voltage range specification between 1.71V to 3.6V. The internal voltage regulator, which generates current to internal circuitry, operates with an input range from 2.0V to 3.6V. To work with a power supply below 2.0V and to avoid the unnecessary voltage drop, the internal voltage regulator can be bypassed, refer to Figure 1 and Figure 2.

When a power supply is in the range of 1.71V to 2.75V, the VDD and VREG pins can be connected together (Figure 1) so that internal voltage regulator is bypassed. In this configuration, the supply voltage cannot be higher than 2.75V as this is the maximum voltage limit for VREG pin.

When a power supply is higher than 2.75V, it must be connected to the VDD, i.e. configuration as in Figure 2. In this configuration, a separate 0.1 μF decoupling ceramic capacitor on VREG to VSS is applied as a bypass cap for internal circuitry. This configuration can work with a VDD supply voltage down to 2.0V. For a typical two dry cell 1.5V batteries application, this configuration covers the entire expected working voltage range from 2.0V to 3.0V.

Capacitance Sensing

The MPR121 uses a constant DC current capacitance sensing scheme. It can measure capacitances ranging from 10 pF to over 2000 pF with a resolution up to 0.01 pF. The device does this by varying the amount of charge current and charge time applied to the sensing inputs.

The 12 electrodes are controlled independently; this allows for a great deal of flexibility in electrode pattern design. An automatic configuration system is integrated as part of the device, this greatly simplifies the individual register setup. Please refer to the Freescale application note, AN3889, for more details.

The voltage measured on the input sensing node is inversely proportional to the capacitance. At the end of each charge circle, this voltage is sampled by an internal 10-bit ADC. The sampled data is then processed through several stages of digital filtering. The digital filtering process allows for good noise immunity in different environments. For more information on the filtering system, refer to application note AN3890.

Touch Sensing

Once the electrode capacitance data is acquired, the electrode touch/release status is determined comparing it to the capacitance baseline value. The capacitance baseline is tracked by MPR121 automatically based on the background capacitance variation.

The baseline value is compared with the current immediate electrode data to determine if a touch or release has occurred. A designer has the ability to set the touch/release thresholds, as well as a touch/release debounce time. This is to eliminate jitter and false touches due to noise. Additional information on baseline capacitance system is covered in application notes AN3891 and AN3892.

Proximity Sensing

One new feature of the MPR121 is the near proximity sensing system. This means that all of the system’s electrodes can be summed together to create a single large electrode. The major advantage of the large electrode is that is can cover a much larger sensing area. The near proximity sensing system can be used while at the same time having separate electrodes by using touch button sensing.

Proximity detection is read as an independent channel and has configuration registers similar to the other 12 channels. When proximity detection is enabled, this “13th” measurement channel will be included at the beginning of a normal detection cycle. This system is described in application note AN3893.

LED Driver

Among the 12 electrode inputs, 8 inputs are designed as multifunctional pins. When these pins are not configured as electrodes, they may be used to drive LEDs or used for general purpose input or output. For more details on this feature, please refer to application note AN3894.

Serial Communication

The MPR121 is an Inter-Integrated Circuit (I2C) compliant device with an interrupt IRQ pin. This pin is triggered any time a touch or release is detected. The device has a configurable I2C address by connecting the ADDR pin to the VSS, VDD, SDA or SCL lines This results in I2C addresses of 0x5A, 0x5B, 0x5C and 0x5D. The specific details of this system are described in AN3895. For reference, the register map of the MPR121 is included in Table 2.

MPR121

Table 2. Register Map

REGISTERFieldsRegister AddressInitial ValueAuto-Increment Address
ELE0 - ELE7 Touch StatusELE7ELE6ELE5ELE4ELE3ELE2ELE1ELE00x000x00Register Address + 1
ELE8 - ELE11, ELEPROX Touch StatusOVCFELEPROXELE11ELE10ELE9ELE80x010x00
ELE0-7 OOR StatusE7_OORE6_OORE5_OORE4_OORE3_OORE2_OORE1_OORE0_OOR0x020x00
ELE8-11, ELEPROX OOR StatusACFFARFFPROX_OORE11_OORE10_OORE9_OORE8_OOR0x030x00
ELE0 Electrode Filtered Data LSBEFD0LB0x040x00
ELE0 Electrode Filtered Data MSBEFD0HB0x050x00
ELE1 Electrode Filtered Data LSBEFD1LB0x060x00
ELE1 Electrode Filtered Data MSBEFD1HB0x070x00
ELE2 Electrode Filtered Data LSBEFD2LB0x080x00
ELE2 Electrode Filtered Data MSBEFD2HB0x090x00
ELE3 Electrode Filtered Data LSBEFD3LB0x0A0x00
ELE3 Electrode Filtered Data MSBEFD3HB0x0B0x00
ELE4 Electrode Filtered Data LSBEFD4LB0x0C0x00
ELE4 Electrode Filtered Data MSBEFD4HB0x0D0x00
ELE5 Electrode Filtered Data LSBEFD5LB0x0E0x00
ELE5 Electrode Filtered Data MSBEFD5HB0x0F0x00
ELE6 Electrode Filtered Data LSBEFD6LB0x100x00
ELE6 Electrode Filtered Data MSBEFD6HB0x110x00
ELE7 Electrode Filtered Data LSBEFD7LB0x120x00
ELE7 Electrode Filtered Data MSBEFD7HB0x130x00
ELE8 Electrode Filtered Data LSBEFD8LB0x140x00
ELE8 Electrode Filtered Data MSBEFD8HB0x150x00
ELE9 Electrode Filtered Data LSBEFD9LB0x160x00
ELE9 Electrode Filtered Data MSBEFD9HB0x170x00
ELE10 Electrode Filtered Data LSBEFD10LB0x180x00
ELE10 Electrode Filtered Data MSBEFD10HB0x190x00
ELE11 Electrode Filtered Data LSBEFD11LB0x1A0x00
ELE11 Electrode Filtered Data MSBEFD11HB0x1B0x00
ELEPROX Electrode Filtered Data LSBEFDPROXLB0x1C0x00
ELEPROX Electrode Filtered Data MSBEFDPROXHB0x1D0x00
ELE0 Baseline ValueE0BV0x1E0x00
ELE1 Baseline ValueE1BV0x1F0x00
ELE2 Baseline ValueE2BV0x200x00
ELE3 Baseline ValueE3BV0x210x00
ELE4 Baseline ValueE4BV0x220x00
ELE5 Baseline ValueE5BV0x230x00
ELE6 Baseline ValueE6BV0x240x00
ELE7 Baseline ValueE7BV0x250x00
ELE8 Baseline ValueE8BV0x260x00
ELE9 Baseline ValueE9BV0x270x00
ELE10 Baseline ValueE10BV0x280x00
ELE11 Baseline ValueE11BV0x290x00
ELEPROX Baseline ValueEPROXBV0x2A0x00
MHD RisingMHDR0x2B0x00
NHD Amount RisingNHDR0x2C0x00
NCL RisingNCLR0x2D0x00
FDL RisingFDLR0x2E0x00
MHD FallingMHDF0x2F0x00
NHD Amount FallingNHDF0x300x00

MPR121

Table 2. Register Map

REGISTERFieldsRegister AddressInitial ValueAuto-Increment Address
NCL FallingNCLF0x310x00Register Address + 1
FDL FallingFDLF0x320x00
NHD Amount TouchedNHDT0x330x00
NCL TouchedNCLT0x340x00
FDL TouchedFDLT0x350x00
ELEPROX MHD RisingMHDPROXR0x360x00
ELEPROX NHD Amount RisingNHDPROXR0x370x00
ELEPROX NCL RisingNCLPROXR0x380x00
ELEPROX FDL RisingFDLPROXR0x390x00
ELEPROX MHD FallingMHDPROXF0x3A0x00
ELEPROX NHD Amount FallingNHDPROXF0x3B0x00
ELEPROX NCL FallingNCLPROXF0x3C0x00
ELEPROX FDL FallingFDLPROXF0x3D0x00
ELEPROX NHD Amount TouchedNHDPROXT0x3E0x00
ELEPROX NCL TouchedNCLPROXT0x3F0x00
ELEPROX FDL TouchedFDLPROXT0x400x00
ELE0 Touch ThresholdE0TTH0x410x00
ELE0 Release ThresholdE0RTH0x420x00
ELE1 Touch ThresholdE1TTH0x430x00
ELE1 Release ThresholdE1RTH0x440x00
ELE2 Touch ThresholdE2TTH0x450x00
ELE2 Release ThresholdE2RTH0x460x00
ELE3 Touch ThresholdE3TTH0x470x00
ELE3 Release ThresholdE3RTH0x480x00
ELE4 Touch ThresholdE4TTH0x490x00
ELE4 Release ThresholdE4RTH0x4A0x00
ELE5 Touch ThresholdE5TTH0x4B0x00
ELE5 Release ThresholdE5RTH0x4C0x00
ELE6 Touch ThresholdE6TTH0x4D0x00
ELE6 Release ThresholdE6RTH0x4E0x00
ELE7 Touch ThresholdE7TTH0x4F0x00
ELE7 Release ThresholdE7RTH0x500x00
ELE8 Touch ThresholdE8TTH0x510x00
ELE8 Release ThresholdE8RTH0x520x00
ELE9 Touch ThresholdE9TTH0x530x00
ELE9 Release ThresholdE9RTH0x540x00
ELE10 Touch ThresholdE10TTH0x550x00
ELE10 Release ThresholdE10RTH0x560x00
ELE11 Touch ThresholdE11TTH0x570x00
ELE11 Release ThresholdE11RTH0x580x00
ELEPROX Touch ThresholdEPROXTTH0x590x00
ELEPROX Release ThresholdEPROXRTH0x5A0x00
Debounce Touch & ReleaseDRDT0x5B0x00
Filter/Global CDC ConfigurationFFICDC0x5C0x10
Filter/Global CDT ConfigurationCDTSFIESI0x5D0x24
Electrode ConfigurationCLELEPROX_ENELE_EN0x5E0x00
ELE0 Electrode CurrentCDC00x5F0x00
ELE1 Electrode CurrentCDC10x600x00
ELE2 Electrode CurrentCDC20x610x00

MPR121

Table 2. Register Map

REGISTERFieldsRegister AddressInitial ValueAuto-Increment Address
ELE3 Electrode CurrentCDC30x620x00Register Address + 1
ELE4 Electrode CurrentCDC40x630x00
ELE5 Electrode CurrentCDC50x640x00
ELE6 Electrode CurrentCDC60x650x00
ELE7 Electrode CurrentCDC70x660x00
ELE8 Electrode CurrentCDC80x670x00
ELE9 Electrode CurrentCDC90x680x00
ELE10 Electrode CurrentCDC100x690x00
ELE11 Electrode CurrentCDC110x6A0x00
ELEPROX Electrode CurrentCDCPROX0x6B0x00
ELE0, ELE1 Charge TimeCDT1CDT00x6C0x00
ELE2, ELE3 Charge TimeCDT3CDT20x6D0x00
ELE4, ELE5 Charge TimeCDT5CDT40x6E0x00
ELE6, ELE7 Charge TimeCDT7CDT60x6F0x00
ELE8, ELE9 Charge TimeCDT9CDT80x700x00
ELE10, ELE11 Charge TimeCDT11CDT100x710x00
ELEPROX Charge TimeCDTPROX0x720x00
GPIO Control Register 0CTL011CTL010CTL09CTL08CTL07CTL06CTL05CTL040x730x00
GPIO Control Register 1CTL111CTL110CTL19CTL18CTL17CTL16CTL15CTL140x740x00
GPIO Data RegisterDAT11DAT10DAT9DAT8DAT7DAT6DAT5DAT430x750x00
GPIO Direction RegisterDIR11DIR10DIR9DIR8DIR7DIR6DIR5DIR40x760x00
GPIO Enable RegisterEN11EN10EN9EN8EN7EN6EN5EN40x770x00
GPIO Data Set RegisterSET11SET10SET9SET8SET7SET6SET5SET40x780x00
GPIO Data Clear RegisterCLR11CLR10CLR9CLR8CLR7CLR6CLR5CLR40x790x00
GPIO Data Toggle RegisterTOG11TOG10TOG9TOG8TOG7TOG6TOG5TOG40x7A0x00
AUTO-CONFIG Control Register 0FFIRETRYBVAAREACE0x7B0x00
AUTO-CONFIG Control Register 1SCTSOORIEARFIEACFIE0x7C0x00
AUTO-CONFIG USL RegisterUSL0x7D0x00
AUTO-CONFIG LSL RegisterLSL0x7E0x00
AUTO-CONFIG Target Level RegisterTL0x7F0x000x00
Soft Reset RegisterSRST0x80

4 Electrical Characteristics

4.1 Absolute Maximum Ratings

Absolute maximum ratings are stress ratings only and functional operation at the maxima is not guaranteed. Stress beyond the limits specified in Table 3 may affect device reliability or cause permanent damage to the device. For functional operating conditions, refer to the remaining tables in this section. This device contains circuitry protecting against damage due to high-static voltage or electrical fields; however, it is advised that normal precautions be taken to avoid application of any voltages higher than maximum-rated voltages to this high-impedance circuit.

Table 3. Absolute Maximum Ratings - Voltage (with respect to VSS)

RatingSymbolValueUnit
Supply Voltage $V_{DD}$ -0.3 to +3.6V
Supply Voltage $V_{REG}$ -0.3 to +2.75V
Input VoltageSCL, SDA, $\overline{IRQ}$ $V_{IN}$ $V_{SS} - 0.3 \text{ to } V_{DD} + 0.3$ V
Operating Temperature Range $T_O$ -40 to +85°C
GPIO Source Current per Pin $i_{GPIO}$ 12mA
GPIO Sink Current per Pin $i_{GPIO}$ 1.2mA
Storage Temperature Range $T_S$ -40 to +125°C

4.2 ESD and Latch-up Protection Characteristics

Normal handling precautions should be used to avoid exposure to static discharge.

Qualification tests are performed to ensure that these devices can withstand exposure to reasonable levels of static without suffering any permanent damage. During the device qualification, ESD stresses were performed for the Human Body Model (HBM), the Machine Model (MM) and the Charge Device Model (CDM).

A device is defined as a failure if after exposure to ESD pulses, the device no longer meets the device specification. Complete DC parametric and functional testing is performed per the applicable device specification at room temperature followed by hot temperature, unless specified otherwise in the device specification.

Table 4. ESD and Latch-up Test Conditions

RatingSymbolValueUnit
Human Body Model (HBM) $V_{ESD}$ ±2000V
Machine Model (MM) $V_{ESD}$ ±200V
Charge Device Model (CDM) $V_{ESD}$ ±500V
Latch-up current at TA = 85°C $I_{LATCH}$ ±100mA

4.3 DC Characteristics

This section includes information about power supply requirements and I/O pin characteristics.

Table 5. DC Characteristics
(Typical Operating Circuit, $\mathsf { V } _ { \mathsf { D D } }$ and $\mathsf { V } _ { \mathsf { R E G } } = 1 . 8 \mathsf { V } , \mathsf { T } _ { \mathsf { A } } = 2 5 ^ { \circ } \mathsf { C }$ , unless otherwise noted.)

ParameterSymbolConditionsMinTypMaxUnits
High Supply Voltage $V_{DD}$ 2.03.33.6V
Low Supply Voltage $V_{REG}$ 1.711.82.75V
Average Supply Current(1) $I_{DD}$ Run Mode @ 1 ms sample period393μA
Run Mode @ 2 ms sample period199μA
Run Mode @ 4 ms sample period102μA
Run Mode @ 8 ms sample period54μA
Run Mode @ 16 ms sample period29μA
Run Mode @ 32 ms sample period17μA
Run Mode @ 64 ms sample period11μA
Run Mode @ 128 ms sample period8μA
Measurement Supply Current $I_{DD}$ Peak of measurement duty cycle1mA
Idle Supply Current $I_{DD}$ Stop Mode3μA
Input Leakage Current ELE_ $I_{IH}, I_{IL}$ 0.025μA
Input Self-Capacitance on ELE_15pF
Input High Voltage SDA, SCL $V_{IH}$ 0.7 x $V_{DD}$ V
Input Low Voltage SDA, SCL $V_{IL}$ 0.3 x $V_{DD}$ V
Input Leakage Current SDA, SCL $I_{IH}, I_{IL}$ 0.0251μA
Input Capacitance SDA, SCL7pF
Output Low Voltage SDA, IRQ $V_{OL}$ $I_{OL} = 6mA$ 0.5VV
Output High Voltage ELE4 - ELE11 (GPIO mode) $V_{OHGPIO}$ $V_{DD} = 2.7V to 3.6V: I_{OHGPIO} = -10 mA$ $V_{DD} = 2.3V to 2.7V: I_{OHGPIO} = -6 mA$ $V_{DD} = 1.8V to 2.3V: I_{OHGPIO} = -3 mA$ $V_{DD} - 0.5$ V
Output Low Voltage ELE4 - ELE11 (GPIO mode) $V_{OLGPIO}$ $I_{OLGPIOD} = 1 mA$ 0.5V
Power On Reset $V_{TLH}$ $V_{DD} rising$ 1.081.351.62V
$V_{THL}$ $V_{DD} falling$ 0.881.151.42V

1.: ECR set to 0x2C and all 12 channels plus one proximity channel activated. Measurement current CDC is set at maximum of 0x3F.

4.4 AC Characteristics

Table 6. AC Characteristics
(Typical Operating Circuit, $\mathsf { V } _ { \mathsf { D D } }$ and $\mathsf { V } _ { \mathsf { R E G } } = 1 . 8 \mathsf { V } , \mathsf { T } _ { \mathsf { A } } = 2 5 ^ { \circ } \mathsf { C }$ , unless otherwise noted.)

ParameterSymbolConditionsMinTypMaxUnits
8 MHz Internal Oscillator $f_{H}$ 7.4488.56MHz
1 kHz Internal Oscillator $f_{L}$ 0.6511.35kHz

4.5 I2C AC Characteristics

Table 7. I2C AC Characteristics
(Typical Operating Circuit, VDD and $\mathsf { V } _ { \mathsf { R E G } } = 1 . 8 \mathsf { V } , \mathsf { T } _ { \mathsf { A } } = 2 5 ^ { \circ } \mathsf { C } ,$ , unless otherwise noted.)

ParameterSymbolConditionsMinTypMaxUnits
Serial Clock Frequency $f_{SCL}$ 400kHz
Bus Free Time Between a STOP and a START Condition $t_{BUF}$ 1.3μs
Hold Time, (Repeated) START Condition $t_{HD, STA}$ 0.6μs
Repeated START Condition Setup Time $t_{SU, STA}$ 0.6μs
STOP Condition Setup Time $t_{SU, STO}$ 0.6μs
Data Hold Time $t_{HD, DAT}$ 0.9μs
Data Setup Time $t_{SU, DAT}$ 100ns
SCL Clock Low Period $t_{LOW}$ 1.3μs
SCL Clock High Period $t_{HIGH}$ 0.7μs
Rise Time of Both SDA and SCL Signals, Receiving $t_R$ 20+0.1 $C_b$ 300ns
Fall Time of Both SDA and SCL Signals, Receiving $t_F$ 20+0.1 $C_b$ 300ns
Fall Time of SDA Transmitting $t_{F,TX}$ 20+0.1 $C_b$ 250ns
Pulse Width of Spike Suppressed $t_{SP}$ 25ns
Capacitive Load for Each Bus Line $C_b$ 400pF

5 Register Operation Descriptions

5.1 Register Read/Write Operations and Measurement Run/Stop Mode

After power on reset (POR) or soft reset by command, all registers are in reset default initial value (see Table 2). All the registers, except registers 0x5C (default 0x10) and 0x5D (default 0x24), are cleared.

Registers 0x2B ~ 0x7F are control and configuration registers which need to be correctly configured before any capacitance measurement and touch detection.

Registers 0x00 ~ 0x2A are output registers updating periodically by the MPR121 in Run Mode. Among these output registers, Baseline Value Registers 0x1D ~ 0x2A are also writable, this is sometimes useful when user specific baseline values are desired.

The MPR121’s Run Mode and Stop Mode are controlled by control bits in Electrode Configuration Register (ECR, 0x5E). When all ELEPROX_EN and ELE_EN bits are zeros, the MPR121 is in Stop Mode. While in Stop Mode, there are no capacitance or touch detection measurement on any of the 13 channels. When any of the ELEPROX_EN and ELE_EN bits are set to ‘1’, the MPR121 is in Run Mode. The MPR121 will continue to run on its own until it is set again to Stop Mode by the user.

The MPR121 registers read operation can be done at any time, either in Run Mode or in Stop Mode. However, the register write operation can only be done in Stop Mode. The ECR (0x5E) and GPIO/LED control registers (0x73~0x7A) can be written at anytime.

5.2 Touch Status Registers (0x00~0x01)

ELE0-ELE7 Touch Status (0x00)

BitD7D6D5D4D3D2D1D0
ReadELE7ELE6ELE5ELE4ELE3ELE4ELE1ELE0
Write————————

ELE8-ELE11 ELEPROX Touch Status (0x01)

BitD7D6D5D4D3D2D1D0
ReadOVCF——ELEPROXELE11ELE10ELE9ELE8
Write————————

These two registers indicate the detected touch/release status of all of the 13 sensing input channels. ELEPROX is the status fo the 13th proximity detection channel. The update rate of these status bits will be {ESI x SFI}.

ELEx, ELEPROX: Touch or Release status bit of each respective channel (read only).

1, the respective channel is currently deemed as touched.

0, the respective channel is deemed as released.

Note: When an input is not configured as an electrode and enabled as GPIO input port, the corresponding status bit shows the input level, but these GPIO status changes will not cause any IRQ interrupt. This feature is for ELE4~ELE11 only.

OVCF: Over Current Flag (read and write)

1, over current was detected on REXT pin.

0, normal condition.

When over current is detected, the OVCF is set to ‘1’ and the MPR121 goes to Stop Mode. All other bits in status registers 0x00~0x03, output registers 0x04~0x2A, and bits D5~D0 in ECR (0x5E) will also be cleared. When the bit is set at ‘1’, the write to the ECR register to enter Run Mode will be discarded. The write to ’1’of the OVCF will clear this bit and the MPR121 fault condition will be cleared. The MPR121 can then be configured to return to the Run Mode again.

MPR121

5.3 Electrode Filtered Data Register (0x04~0x1D)

Electrode Filtered Data Low Byte (0x04,0x06,...,0x1C)

BitD7D6D5D4D3D2D1D0
ReadBit 7Bit 6Bit 5Bit 4Bit 3Bit 2Bit 1Bit 0
Write————————

Electrode Filtered Data High Byte (0x05,0x07,...,0x1D)

BitD7D6D5D4D3D2D1D0
Read——————Bit 9Bit 8
Write————————

The MPR121 provides filtered electrode output data for all 13 channels. The output data is 10-bit and comes from the internal 2nd stage filter output. The data range is 0~1024 or 0x000~0x400 in Hex. Bit 0~7 of the 10-bit data are stored in the low byte and bit 9 and bit 8 are stored in the high byte. The data is the measured voltage on each channel and inversely proportional to the capacitance on that channel.

These registers are read only and are updated every {ESI x SFI}. A multibyte read operation to read both LSB and MSB is recommended to keep the data coherency (i.e, LSB and MSB matching). A multibyte reading of 0x00~0x2A returns results of a single moment without mixing up old and new data.

5.4 Baseline Value Register (0x1E~0x2A)

Electrode Baseline Value (0x1E~0x2A)

BitD7D6D5D4D3D2D1D0
ReadBit 9Bit 8Bit 7Bit 6Bit 5Bit 4Bit 3Bit 2
Write

Along with the 10-bit electrode filtered data output, each channel also has a 10-bit baseline value. The update rate of these registers is {ESI x SFI} if baseline tracking operation is enabled. These values are the output of the internal baseline filter operation tracking the slow-voltage variation of the background capacitance change. Touch/release detection is made based on the comparison between the 10-bit electrode filtered data and the 10-bit baseline value.

Note: Although internally the baseline value is 10-bit, users can only access the 8 MSB of the 10-bit baseline value through the baseline value registers. The read out from the baseline register must be left shift two bits before comparing it with the 10-bit electrode data.

The Baseline Value register is writable in Stop Mode. Note: when the user writes into the baseline value register, the lower two bits of the 10-bit baseline value are automatically cleared internally upon write operation. The Write to Baseline Value Register by specific values can be sometimes useful if user wants to manipulate the touch/release status. For example, manually setting the target channel from a touch locked state into a touch released state is easily done by setting the baseline value above the signal data.

Refer to the Electrode Configuration Register (ECR, 0x5E) on how to control the on/off operation of baseline tracking and further details on how the initial baseline data is loaded into Run Mode. Refer to Baseline Filtering Control registers(0x2B~0x2A) on how to control the filtering of the baseline value.

5.5 Baseline Filtering Control Register (0x2B~0x40)

All12 of the electrode baseline values are controlled by the same set of filtering control registers, 0x2B ~ 0x35. The 13th channel ELEPROX is controlled by registers 0x36 ~ 0x40. Both sets of registers have the same structure using three different scenarios; rising, falling, and touched.

Rising is defined as when the electrode data is greater than the baseline value. Falling is defined as when the electrode data is less than the baseline value. Touched is when the electrode is in touched status. For each scenario, the filtering characteristic is further defined by four parameters: the maximum half delta (MHD), noise half delta (NHD), noise count limit (NCL) and filter delay count limit (FDL). Note: there is no maximum half delta for the touched scenario.

Maximum Half Delta (MHD): Determines the largest magnitude of variation to pass through the baseline filter. The range of the effective value is 1~63.

Noise Half Delta (NHD): Determines the incremental change when non-noise drift is detected. The range of the effective value is 1~63.

MPR121

Noise Count Limit (NCL): Determines the number of samples consecutively greater than the Max Half Delta value. This is necessary to determine that it is not noise. The range of the effective value is 0~255.

Filter Delay Count Limit (FDL): Determines the operation rate of the filter. A larger count limit means the filter delay is operating more slowly. The range of the effective value is 0~255.

The setting of the filter is depended on the actual application. For more information on these registers, refer to application note AN3891.

5.6 Touch / Release Threshold (0x41~0x5A)

ELEx, ELEProx Touch Threshold (0x41,0x43,...,0x59)

BitD7D6D5D4D3D2D1D0
ReadExTTH
Write

ELEx, ELEProx Release Threshold (0x42,0x44,...,0x5A)

BitD7D6D5D4D3D2D1D0
ReadExRTH
Write

ExTTH: Electrode touch threshold, in range of 0~0xFF.
ExRTH: Electrode release threshold, in range of 0~0xFF.

Each of the 13 channels can be set with its own set of touch and release thresholds. Touch and release are detected by comparing the electrode filtered data to the baseline value. The amount of deviation from the baseline value represents a immediate capacitance change detected by possible a touch/release action.

Touch condition: Baseline - Electrode filtered data > Touch threshold

Release condition: Baseline - Electrode filtered data < Release threshold

Threshold settings are dependant on the touch/release signal strength, system sensitivity and noise immunity requirements. In a typical touch detection application, threshold is typically in the range 0x04~0x10. The touch threshold is several counts larger than the release threshold. This is to provide hysteresis and to prevent noise and jitter. For more information, refer to the application note AN3892 and the MPR121 design guidelines.

5.7 Debounce Register (0x5B)

Debounce Register (0x5B)

BitD7D6D5D4D3D2D1D0
Read—DR—DT
Write

DT: Debounce number for touch. The value range is 0~7.

DR: Debounce number for release. The value range is 0~7.

All 13 channels use the same set of touch and release debounce numbers. The status bits in Status Register 0x00 and 0x01 wil only take place after the number of consecutive touch or release detection meets the debounce number setting. The debounce setting can be very useful in avoiding possible noise glitches. Using the debounce setting, the status bit change will have a delay of {ESI x SFI x DR (or DT)}

MPR121

5.8 Filter and Global CDC CDT Configuration (0x5C, 0x5D)

Filter/Global CDC Configuration Register (0x5C)

BitD7D6D5D4D3D2D1D0
ReadFFICDC
Write

Filter/Global CDT Configuration Register (0x5D)

BitD7D6D5D4D3D2D1D0
ReadCDTSFIESI
Write

Table 8. Bit Descriptions

FieldDescription
FFIFirst Filter Iterations - The first filter iterations field selects the number of samples taken as input to the first level of filtering.
00 Encoding 0 - Sets samples taken to 6 (Default)
01 Encoding 1 - Sets samples taken to 10
10 Encoding 2 - Sets samples taken to 18
11 Encoding 3 - Sets samples taken to 34
CDCCharge Discharge Current - Selects the global value of charge discharge current applied to electrode. The maximum is 63 μA, 1 μA step.
000000 Encoding 0 - Disable Electrode Charging
000001 Encoding 1 - Sets the current to 1 μA
~
010000 Encoding 16 - Sets the current to 16 μA (Default)
~
111111 Encoding 63 - Sets the current to 63 μA
CDTCharge Discharge Time - Selects the global value of charge time applied to electrode. The maximum is 32 μs, programmable as 2^(n-2) μs.
000 Encoding 0 - Disables Electrode Charging
001 Encoding 1 - Time is set to 0.5 μs (Default)
010 Encoding 2 - Time is set to 1 μs
~
111 Encoding 7 - Time is set to 32 μs
SFISecond Filter Iterations - Selects the number of samples taken for the second level filter
00 Encoding 0 - Number of samples is set to 4 (Default)
01 Encoding 1 - Number of samples is set to 6
10 Encoding 2 - Number of samples is set to 10
11 Encoding 3 - Number of samples is set to 18
ESIElectrode Sample Interval - Selects the period between samples used for the second level of filtering. The maximum is 128ms, Programmable to 2^n ms
000 Encoding 0 - Period set to 1 ms
001 Encoding 1 - Period set to 2 ms
~
100 Encoding 4 - Period set to 16 ms (Default)
~
111 Encoding 7 - Period set to 128 ms

MPR121

These two registers set the global AFE settings. This includes global electrode charge/discharge current CDC, global charge/ discharge time CDT, as well as a common filtering setting (FFI, SFI, ESI) for all 13 channels, including the 13th Eleprox channel.

The register 0x5C holds the global CDC and the first level filter configuration for all 13 channels. For each enabled channel, the global CDC will be used for that channel if the respective charge discharge current CDCx setting in 0x5F~0x6B for that channe is zero. If it is not zero, the individual CDCx value will be used in place of the global CDC value. If the MPR121’s auto-configuration feature is enabled, CDCx will be automatically set up during system start stage and used for the actual measurement.

The register 0x5D holds the global CDT and the second level filter configuration for all 13 channels. For each enabled channel, the global CDT will be used for that channel if the respective charge discharge time CDTx setting in 0x6C~0x72 for that channe is zero. If it is not zero, the individual CDTx value will be used in place of the global CDT value. If the SCTS bit (Skip Charge Time Search) in the MPR121’s autoconfiguration is set, then the current global CDT and CDTx will be used for each channel measurements. If not, then the individual CDTx will be automatically set up during the system start stage and used for the actual measurement.

Using only the global CDC and/or global CDT is acceptable where the capacitance values from all 13 channels are similar. If the electrode pattern, size, or even overlay and base material type changes from one channel to another, then using individual CDCx (and CDTx) will have a better result on sensing sensitivity as each electrode is charged up to a point closing to the supply voltage rail so that the highest sensing field is built for each channel.

The settings for the FFI, SFI, and ESI must be selected according to the system design noise filtering requirement. These settings must also balance the need for power consumption and response time.

When the total time required by scanning and charging/discharge all the enabled channels is longer than the ESI setting, then the actual time will override the ESI setting. For example if the ESI = 4 (16 mS), when FFI = 3 (34 samples), CDT = 7 (32 μS), with all 13 channels enabled, the scan time needed is 34 x (32 μS + 32 μS) x 13 = 28 mS. This 28 mS will be the actual sampling interval instead of ESI (16 mS).

5.9 Electrode Charge Current Register (0x5F~0x6B)

Electrode Charge Current (0x5F~0x6B)

BitD7D6D5D4D3D2D1D0
Read——CDCx
Write——

CDCx: Sets the charge current applied to each channel. Similar to global CDC value, the range is 0~63 μA, from 0x00~0x3F in 1 μA step. When the CDCx is zero, the global CDC value will be used for that channel.

The individual CDCx bit can either be set manually or automatically (if autoconfiguration is enabled). When the autoconfiguration is enabled, during the first transition from Stop Mode to Run Mode, the system will automatically run a trial search for the appropriate CDCx (and CDTx if SCTS = 0). The individual CDCx will be automatically updated by the MPR121 into the respective registers once autoconfiguration is finished. CDCx is used in the following capacitance measurement and touch detection.

5.10 Electrode Charge Time Register (0x6C~0x72)

Electrode Charge Time (0x6C~0x72)

BitD7D6D5D4D3D2D1D0
Read—CDTx+1—CDTx
Write——

CDTx: Sets the charge time applied to each channel. Similar to the global CDT value, the range is 0~32 μS, from 2b000~2b111. When the CDTx is zero, the global CDT value is used for that channel.

The individual CDTx bit can be set manually or automatically (if autoconfiguration is enabled). When autoconfiguration is enabled, during the first transition from Stop Mode to Run Mode, the system will automatically run a trial search for the appropriate CDCx (and CDTx if SCST = 0). This means the autoconfiguration will include a search on the CDTx. The individual CDTx will be automatically updated by the MPR121 into the respective registers once the autoconfiguration is finished. This data is used in the following capacitance measurement and touch detection. If SCTS bit is 1, the search on CDTx will be skipped.

MPR121

5.11 Electrode Configuration Register (ECR, 0x5E)

Electrode Configuration Register (0x5E)

BitD7D6D5D4D3D2D1D0
ReadCLELEPROX_ENELE_EN
Write

Table 9. Bit Descriptions

FieldDescription
CLCalibration Lock - Controls the baseline tracking and how the baseline initial value is loaded
00 - Baseline tracking enabled, initial baseline value is current value in baseline value register (Default)
01 - Baseline tracking is disabled
10 - Baseline tracking enabled, initial baseline value is loaded with the 5 high bits of the first 10-bit electrode data value
11 - Baseline tracking enabled, initial baseline value is loaded with all 10 bits of the first electrode data value
ELEPROX_ENProximity Enable - Controls the operation of 13th Proximity Detection
00 - Proximity Detection is disabled (Default)
01 - Run Mode with ELE0~ELE1 combined for proximity detection enabled
10 - Run Mode with ELE0~ELE3 combined for proximity detection enabled
11 - Run Mode with ELE0~ELE11 combined for proximity detection enabled
ELE_ENElectrode Enable - Controls the operation of 12 electrodes detection
0000 - Electrode detection is disabled (Default)
0001 - Run Mode with ELE0 for electrode detection enabled
0010 - Run Mode with ELE0~ ELE1 for electrode detection enabled
0011 - Run Mode with ELE0~ ELE2 for electrode detection enabled
0100 - Run Mode with ELE0~ ELE3 for electrode detection enabled
0101 - Run Mode with ELE0~ ELE4 for electrode detection enabled
0110 - Run Mode with ELE0~ ELE5 for electrode detection enabled
0111 - Run Mode with ELE0~ ELE6 for electrode detection enabled
1000 - Run Mode with ELE0~ ELE7 for electrode detection enabled
1001 - Run Mode with ELE0~ ELE8 for electrode detection enabled
1010 - Run Mode with ELE0~ ELE9 for electrode detection enabled
1011 - Run Mode with ELE0~ ELE10 for electrode detection enabled
11xx - Run Mode with ELE0~ ELE11 for electrode detection enabled

The Electrode Configuration Register (ECR) determines if the MPR121 is in Run Mode or Stop Mode, controls the baseline tracking operation and specifies the input configurations of the 13 channels.

The ECR reset default value is 0x00, which means MPR121 is in Stop Mode without capacitance measurement on all 13 channels. Setting ELEPROX_EN and/or ELE_EN control bits to non-zero data will put the MPR121 into Run Mode. This will cause the MPR121 to operate immediately on its own. Clearing the ELEPROX_EN and ELE_EN all to zeros will set the MPR121 into Stop Mode (which is its lowest power state). The MPR121 can be switched between Stop Mode and Run Mode at anytime by configuring the ECR.

If all channels including the13th proximity detection channel are enabled, the proximity sensing channel is scanned first, followed by ELE0, ELE1..., and ELE11 respectively. The scan runs periodically at the sampling rate specified by the ESI in the Filter/CDT Configuration Register (0x5D). Refer to the table above for configuration of the different channels. Enabling specific channels will save the scan time and sensing field power spent on the unused channels.

In a typical touch detection application, baseline tracking is enabled. This is to compensate for the environment and background induced slow capacitance change to the input sensing channels. The CL bits can enable/disable the baseline tracking and specify how to load the baseline initial values. Since the baseline tracking filtering system has a very large time constant and the initia baseline value starts from zero, it will require a very long time for the baseline to ramp up. This results in a short period of no response to touch after the MPR121 is first set to Run Mode. Setting the CL = 2b10 will command the MPR121 to load the initia baseline value at the beginning of the Run Mode. This shortens the initial baseline ramp-up time so that user will not notice any delay on touch detection. The MPR121 uses the five high bits of the first measured 10 bit electrode data.

Auto-Configuration Registers (0x7B~0x7F)

For each enabled channel, both the charge time and charge current must be set properly. This is so that a specified amount of charge field can be built on the sensing pad and that the capacitance can be measured using the internal ADC. When all 13 channels are used, there are total 13 CDCx and 13 CDTx values which need to be configured.

The MPR121 provides an auto-configuration function which is able to automatically search and set the charging parameters. When autoconfiguration is run, specific CDCx and CDTx combinations for the enabled channels can be obtained automatically. This eliminates test trials on the prototype device and for further verification on final products. A key task for the design engineer is to verify if the parameter settings generated by the MPR121 are acceptable. This verification ensures that the settings are optimized each time MPR121 powers on and that the equipment can operate in many different environments.

The autoconfiguration finds the optimized CDCx and CDTx combination for each channel so that the charge level (I x T = V) on the each channel is as close as possible to the target setting specified by the designer. An upper and lower setting limit are used to provide the boundaries necessary to verify if the system is setup to operate correctly. If the autoconfiguration can not find the proper CDCx and CDTx value, an Out Of Range (OOR) status will be set for that channel.

Autoconfiguration operates each time the MPR121 transitions from Stop Mode to Run Mode. After autoconfiguration is completed, a set of CDCx and CDTx values for each channel are calculated and automatically loaded into the corresponding register fields.

If autoconfiguration fails, the MPR121 has an auto-reconfiguration function. Autoreconfiguration runs at each sampling interval if a channel has OOR status from a failed autoconfiguration. Autoreconfiguration will run until the OOR status is cleared or until it is disabled.

There are five registers used to control the MPR121 auto-configuration feature. Registers 0x7B and 0x7C are used as the control registers and registers 0x07D to 0x7F are used to hold the configuration target settings. Refer to application note AN3889 for more information.

Auto-Configure Control Register 0 (0x7B)

BitD7D6D5D4D3D2D1D0
ReadFFIRETRYBVAAREACE
Write

Auto-Configure Control Register 1 (0x7C)

BitD7D6D5D4D3D2D1D0
ReadSCTS————OORIEARFIEACFIE
Write————

FFI: The FFI bits are the same as the FFI bits in register 0x5C for correct auto-configuration and reconfiguration operations.

ACE: Auto-Configuration Enable. 1: Enable, 0: Disable. When Enabled, the autoconfiguration will operate once at the beginning of the transition from Stop Mode to Run Mode. This includes search and update of the CDCx and CDTx for each enabled channel (if SCTS = 0).

ARE: Auto-Reconfiguration Enable. 1: Enable, 0: Disable. When enabled, if the OOR is set for a channel after autoconfiguration, autoreconfiguration will operate on that channel on each sampling interval until the OOR is cleared.

BVA: Fill the BVA bits same as the CL bits in ECR (0x5E) register.

RETRY: Specifies the number of retries for autoconfiguration and autoreconfiguration if the configuration fails before setting OOR.

00 - No retry
01 - retry 2 times
10 - retry 4 times
11 - retry 8 times

SCTS: Skip Charge Time Search.

1: Skip CDTx search and update when autoconfiguration or autoreconfiguration, and current global CDT or CDTx are used for respective channels. CDT or CDTx needs to be specified by the designer manually before operation. Setting the SCTS to “1” results in a shorter time to complete autoconfiguration. This is useful for when the designer has obtained the correct CDTx / CDT, and is confident that the current CDT and CDTx settings work in all conditions.

0: Both CDTx and CDCx will be searched and set by autoconfiguration and/or autoreconfiguration.

ACFIE: Auto-configuration fail interrupt enable. 1: Enable, 0: Disable

ARFIE: Auto-reconfiguration fail interrupt enable. 1: Enable, 0: Disable

OORIE: Out-of-range interrupt enable. 1: Enable, 0: Disable

Up-Side Limit Register (0x7D)

BitD7D6D5D4D3D2D1D0
ReadUSL
Write

Low-Side Limit Register (0x7E)

BitD7D6D5D4D3D2D1D0
ReadLSL
Write

Target Level Register (0x7F)

BitD7D6D5D4D3D2D1D0
ReadTL
Write

USL: Up-Side Limit. This value sets the electrode data level up limit for the boundary check in autoconfiguration and autoreconfiguration operation.

LSL: Low-Side Limit. This value sets the electrode data level low limit for the boundary check in autoconfiguration and autoreconfiguration operation.

TL: Target Level. This value is the expected target electrode data level for autoconfiguration and autoreconfiguration, that is, after successful autoconfiguration and autoreconfiguration, the measured electrode data level when untouched shall be close to the TL value. TL shall be in between of USL and LSL.

The three parameters, USL, LSL and TL, are in the format similar to the baseline value; only the eight high bits are accessible by user and the two low bits are set to zero automatically. The USL/LSL/TL data needs to be shifted left two bits before comparing with the electrode data or the 10-bit baseline value.

In order to have a valid auto-configuration result, USL/LSL/TL values should follow the relation that 255 > USL > TL > LSL > 0. For example, USL = 200, TL = USL*0.9 = 180, LSL = USL*0.5 = 100.

It is possible that in a end user environment, the channel differences may be significant. This is because the same set of USL LS/TL data is being used for all channels. It is important that the parameters not be set too close together. This makes it difficult for the autoconfiguration to find a suitable charge setting for a specific channel. In this case, the electrode data might easily go out of USL and LSL setting limits. Since the data is out-of-range, the channel status becomes OOR. If the channel is still OOR after the autoconfiguration has been run, it may indicate that the settings for this channel have not yet been optimized. One solution to this problem is to manually review the USL/LSL/TL settings. Another possible reason why the channel status could be OOR is a problem with the channel itself. This could be caused by a short to ground, short to the power rail, or short to the pad of the other channel.

For the TL setting, a good practice is to try to set it close to the USL. This so the charge field can be set to detect a weak touch. On the other hand, the TL should not be set too close to the USL so that it is constantly exceeding the limit. For example, the electrode data from the end user’s environment might have a much wider variance of readings. Some of the readings might exceed the USL, causing the auto-configuration to fail. For this reason, if the amount of capacitance change in the end user environment is significant, it is suggested that the USL and TL be set low enough to give some headroom for possible capacitance variations.

With above mentioned, one possible example setting is given out below using equation 1~3, with the assumption that setting TL at 90% of USL, and LSL at 65% of USL would cover most of the application case. It may need further adjustment in some cases but will be a very good start.

$$
\mathrm{USL} = (\mathrm{VDD} - 0. 7) / \mathrm{VDD} \times 2 5 6\tag{Eqn. 1}
$$

$$
\mathrm{TL} = \mathrm{USL} \times 0. 9 = (\mathrm{VDD} - 0. 7) / \mathrm{VDD} \times 2 5 6 \times 0. 9\tag{Eqn. 2}
$$

$$
\mathrm{LSL} = \mathrm{USL} \times 0. 6 5 = (\mathrm{VDD-0.7}) / \mathrm{VDD} \times 2 5 6 \times 0. 6 5\tag{Eqn. 3}
$$

$$
\mathrm{Cin} = \mathrm{I} \times \mathrm{T} / \mathrm{V} = \mathrm{CDC} \times \mathrm{CDT} / (\mathrm{ADCcounts} \times \mathrm{VDD} / 1 0 2 4)\tag{Eqn. 4}
$$

It may not necessary to set the USL at the level of VDD - 0.7 but it is beneficial to keep the applied constant charge current as accurate as that specified in the data sheet. This so the capacitance value on the input can be calculated with high accuracy using ADC conversion Equation 4. Using VDD-0.7 as USL level allows some headroom for applications where the supply varies over a certain range. For a system where the supply changes over a range, the lowest VDD point is considered for autoconfiguration so that a relative lower charge field can be used to avoid clipping the electrode data to VDD when it drops.

5.12 Out-Of-Range Status Registers (0x02, 0x03)

ELE0~ELE7 OOR Status (0x02)

BitD7D6D5D4D3D2D1D0
ReadE7_OORE6_OORE5_OORE4_OORE3_OORE2_OORE1_OORE0_OOR
Write————————

ELE8~ELEPROX OOR Status (0x03)

BitD7D6D5D4D3D2D1D0
ReadACFFARFF—EPROX_OORE11_OORE10_OORE9_OORE8_OOR
Write————————

Ex_OOR, EPROX_OOR: Out-Of-Range Status bits for the 13 channels. This bit set indicates that a corresponding channel has failed autoconfiguration and autoreconfiguration for range check. Those bits are cleared when they pass the auto-configuration and auto-reconfiguration range check. These bits are user read only.

ACFF: Auto-Configuration Fail Flag. When autoconfiguration fails, this bit is set. This bit is user read only.

ARFF: Auto-Reconfiguration Fail Flag. When autoreconfiguration fails, this is bit set. This bit is user read only.

When autoconfiguration and/or autoreconfiguration are enabled, MPR121 checks the electrode data after each autoconfiguration, auto-reconfiguration operation to see if it is still in the range set by USL and LSL. When electrode data goes out of the range, corresponding Ex_OORx bit becomes “1” to indicate the failed channels. One example of triggering OOR error is shorting the measurement sensing pad to power rails, or shorting it with other channels.

5.13 Soft Rest Register (0x80)

Write 0x80 with 0x63 asserts soft reset. The soft reset does not effect the ${ \mathsf { I } } ^ { 2 } { \mathsf { C } }$ module, but all others reset the same as POR.

5.14 GPIO Registers (0x73~0x7A)

GPIO Registers (0x73~0x7A)

GPIO RegistersD7D6D5D4D3D2D1D0
Control Register 0(0x73)GTL0_E11GTL0_E10GTL0_E9GTL0_E8GTL0_E7GTL0_E6GTL0_E5GTL0_E4
Control Register 1(0x74)GTL1_E11GTL1_E10GTL1_E9GTL1_E8GTL1_E7GTL1_E6GTL1_E5GTL1_E4
Data Register(0x75)DAT_E11DAT_E10DAT_E9DAT_E8DAT_E7DAT_E6DAT_E5DAT_E4

MPR121

GPIO Registers (0x73~0x7A)

Direction Register(0x76)DIR_E11DIR_E10DIR_E9DIR_E8DIR_E7DIR_E6DIR_E5DIR_E4
Enable Register(0x77)EN_E11EN_E10EN_E9EN_E8EN_E7EN_E6EN_E5EN_E4
Data Set Register(0x78)SET_E11SET_E10SET_E9SET_E8SET_E7SET_E6SET_E5SET_E4
Data Clear Register(0x79)CLR_E11CLR_E10CLR_E9CLR_E8CLR_E7CLR_E6CLR_E5CLR_E4
Data Toggle Register(0x7A)TOG_E11TOG_E10TOG_E11TOG_E8TOG_E7TOG_E6TOG_E5TOG_E4

These registers control GPIO and LED driver functions. D7~D0 bits correspond to GPIO and LED functions on ELE11~ ELE4 inputs respectively. When any of these ports are not used for electrode sensing, it can be used for GPIO or LED driver. The GPIO control registers can be write at anytime regardless Stop Mode or Run mode. The configuration of the LED driver and GPIO system is described with more detail in application note AN3894.

Note: The number of touch sensing electrodes, and therefore the number of GPIO ports left available is configured by the ECR (0x5E) and GPIO Enable Register (0x77). ECR has higher priority and overrides the GPIO enabled in 0x77, that is when a pin is enabled as GPIO but is also selected as electrode by ECR, the GPIO function is disabled immediately and it becomes an electrode during Run Mode.

In the Stop Mode just after power-on reset, all electrodes and GPIO ports are in high impedance as all the GPIO ports are default disabled and the electrodes are not enabled.

EN, DIR, CTL0, CTL1: GPIO enable and configuration bits, the functions are in description table below.

ENDIRCTL0:CTL1Function Description
0XXXGPIO function is disabled. Port is high-z state.
1000GPIO port becomes input port.
1010GPIO port becomes input port with internal pulldown.
1011GPIO port becomes input port with internal pullup.
1001Not defined yet (as same as CTL = 00).
1100GPIO port becomes CMOS output port.
1111GPIO port becomes high side only open drain output port for LED driver.
1110GPIO port becomes low side only open drain output port.
1101Not defined yet (as same as CTL = 00).

When the EN bit is set, the corresponding GPIO pin is enabled and the GPIO function is configured by CTL0, CTL1 and DIR bits. When the port is used as an input, it can be configured as a normal logic input with high impedance (CTL0CTL1 = 2b00), input with internal pull-down (CTL0CTL1 = 2b10) or pullup (CTL0CTL1 = 2b11). Note: the former may result in an unstable logic input state if opened without fixed logic level input.

The GPIO output configuration can be configured as either push pull (CTL0CTL1 = 2b00) or open drain. When the GPIO is used for LED drivers, the GPIO is set to high side only open drain (CTL0CTL1 = 2b11), which is can source up to 12 mA current into the LED.

DAT: GPIO Data Register bits.

When a GPIO is enabled as an output, the GPIO port outputs the corresponding DAT bit level from GPIO Data Register (0x075) The output level toggle remains on during any electrode charging. The level transition will occur after the ADC conversion takes place. It is important to note that reading this register returns the content of the GPIO Data Register, (not a level of the port). When a GPIO is configured as input, reading this register returns the latched input level of the corresponding port (not contents of the GPIO Data Register). Writing to the DAT changes content of the register, but does not effect the input function.

SET: Writing a “1” to this bit will set the corresponding bit in the Data Register.

CLR: Writing a “1” to this bit will clear the corresponding bit in the Data Register.

TOG: Writing a “1” to this bit will toggle the corresponding bit in the Data Register

Writing “1” into the corresponding bits of GPIO Data Set Register, GPIO Data Clear Register, and GPIO Data Toggle Register wil set/clear/toggle contents of the corresponding DAT bit in Data Register. Writing “0” has no meaning. These registers allow any individual port(s) to be set, cleared, or toggled individually without effecting other ports. It is important to note that reading these registers returns the contents of the GPIO Data Register reading.

MPR121 Serial Communication

6.1 I2C Serial Communications

The MPR121 uses an I2C Serial Interface.The MPR121 operates as a slave that sends and receives data through an ${ \mathsf { I } } ^ { 2 } { \mathsf { C } }$ twowire interface. The interface uses a Serial Data Line (SDA) and a Serial Clock Line (SCL) to achieve bidirectional communication between master(s) and slave(s). A master (typically a microcontroller) initiates all data transfers to and from the MPR121, and it generates the SCL clock that synchronizes the data transfer.

The MPR121 SDA line operates as both an input and an open-drain output. A pullup resistor, typically 4.7 kΩ, is required on SDA. The MPR121 SCL line operates only as an input. A pullup resistor, typically 4.7 kΩ, is required on SCL if there are multiple masters on the two-wire interface, or if the master in a single-master system has an open-drain SCL output.

Each transmission consists of a START condition (Figure 3) sent by a master, followed by the MPR121’s 7-bit slave address plus R/W bit, a register address byte, one or more data bytes, and finally a STOP condition.


Figure 3. Two-Wire Serial Interface Timing Details

6.2 Slave Address

The MPR121 has selectable slave addresses listed by different ADDR pin connections. This also makes it possible for multiple MPR121 devices to be used together for channel expansions in a single system.

Table 10. MPR121 Slave Address

ADDR Pin ConnectionI2C Address
VSS0x5A
VDD0x5B
SDA0x5C
SCL0x5D

6.3 Operation with Multiple Master

When operating with multiple masters, bus confusion between ${ \mathsf { I } } ^ { 2 } { \mathsf { C } }$ masters is sometimes a problem. One way to prevent this is to avoid using repeated starts to the MPR121. On a ${ \mathsf { I } } ^ { 2 } { \mathsf { C } }$ bus, once a master issues a start/repeated start condition, that master owns the bus until a stop condition occurs. If a master that does not own the bus attempts to take control of that bus, then improper addressing may occur. An address may always be rewritten to fix this problem. Follow ${ \mathsf { I } } ^ { 2 } { \mathsf { C } }$ protocol for multiple master configurations.

ST: Start ConditionSP: Stop ConditionNAK: No AcknowledgeW: Write = 0
SR: Repeated Start ConditionAK: AcknowledgeR: Read = 1

6.4 Read and Write Operation Format

< Single Byte Read >

MasterSTDevice Address[6:0]WRegister Address[7:0]SRDevice Address[6:0]RNAKSP
SlaveAKAKAKData[7:0]

< Multiple Byte Read >

MasterSTDevice Address[6:0]WRegister Address[7:0]SRDevice Address[6:0]RAK
SlaveAKAKAKData[7:0]
MasterAKAKNAKSP
SlaveData[7:0]Data[7:0]Data[7:0]

< Single Byte Write >

MasterSTDevice Address[6:0]WRegister Address[7:0]Data[7:0]SP
SlaveAKAKAK

Legend

MPR121

© FREESCALE SEMICONDUCTOR, INC.ALL RIGHTS RESERVED.MECHANICAL OUTLINEPRINT VERSION NOT TO SCALE
TITLE: QUAD FLAT NO LEADCOL PACKAGE (QFN-COL)20 TERMINAL, 0.4 PITCH (3 X 3 X 0.6)DOCUMENT NO: 98ASA00021DREV: 019 FEB 2009
CASE NUMBER: 2059-01
STANDARD: NON JEDEC

PAGE 1 OF 3

© FREESCALE SEMICONDUCTOR, INC.ALL RIGHTS RESERVED.MECHANICAL OUTLINEPRINT VERSION NOT TO SCALE
TITLE: QUAD FLAT NO LEADCOL PACKAGE (QFN-COL)20 TERMINAL, 0.4 PITCH (3 X 3 X 0.6)DOCUMENT NO: 98ASA00021DREV: 019 FEB 2009
CASE NUMBER: 2059-01
STANDARD: NON JEDEC

PAGE 2 OF 3

NOTES:

  1. ALL DIMENSIONS ARE IN MILLIMETERS

  2. INTERPRET DIMENSIONS AND TOLERANCES PER ASME Y14.5M-1994.

  1. THIS IS NON JEDEC REGISTERED PACKAGE

  2. COPLANARITY APPLIES TO LEADS AND ALL OTHR BOTTOM SURFACE METALLIZATION.

  3. MIN. METAL GAP SHOULD BE O.2MM.

© FREESCALE SEMICONDUCTOR, INC.ALL RIGHTS RESERVED.MECHANICAL OUTLINEPRINT VERSION NOT TO SCALE
TITLE: QUAD FLAT NO LEADCOL PACKAGE (QFN-COL)20 TERMINAL, 0.4 PITCH (3 X 3 X 0.6)DOCUMENT NO: 98ASA00021DREV: 019 FEB 2009
CASE NUMBER: 2059-01
STANDARD: NON JEDEC

PAGE 3 OF 3

MPR121

Table 11. Revision history

Revision numberRevision dateDescription of changes
312/2011On Page 1, Under Features: Changed 3 mA shutdown current to 3 mA in scan stop mode current, changed 12 electrodes to 12 electrodes/capacitance sensing inputs in which 8 are multifunctional for LED driving and GPIO, added two new bullets: Integrated independent autocalibration for each electrode input and Autoconfiguration of charge current and charge time for each electrode input, Under Implementations: added three bulletsUpdated Table 1 Pin Descriptions, modified pin descriptions for Pins 4, 5, 7In Section 3, added Power Supply paragraph, modified remaining paragraphsIn Table 2, changed ELEPROX to PROX_OOR, changed Register Names from: AFE Configuration and Filter Configuration to: Filter/Global CDC Configuration and Filter/Global CDT Configuration, added new register for Soft Reset RegisterRemoved AN3889, AN3890, AN3891, AN3892, AN3893, AN3894, AN3895, and AN3944 documentsAdded Sections 5.0 through 6.4
402/2013Global change to Table 5, renamed all instances Run1 to Run. Added footnote in table

How to Reach Us:

Home Page:

freescale.com

Web Support:

freescale.com/support

Information in this document is provided solely to enable system and software implementers to use Freescale products. There are no express or implied copyright licenses granted hereunder to design or fabricate any integrated circuits based on the information in this document.

Freescale reserves the right to make changes without further notice to any products herein. Freescale makes no warranty, representation, or guarantee regarding the suitability of its products for any particular purpose, nor does Freescale assume any liability arising out of the application or use of any product or circuit, and specifically disclaims any and all liability, including without limitation consequential or incidental damages. “Typical” parameters that may be provided in Freescale data sheets and/or specifications can and do vary in different applications, and actual performance may vary over time. All operating parameters, including “typicals,” must be validated for each customer application by customer’s technical experts. Freescale does not convey any license under its patent rights nor the rights of others. Freescale sells products pursuan to standard terms and conditions of sale, which can be found at the following address: freescale.com/salestermsandconditions.

Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, Energy Efficient Solutions logo, Kinetis, mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony, and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, SMARTMOS, TurboLink, Vybrid, and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2013 Freescale Semiconductor, Inc.

Extracted Images

Figures and diagrams from the PDF

Preview the extracted datasheet assets and open any image in a separate tab for closer inspection.

9b1d57f6f5208ceb0287b851dfe592069872a7a6af1765ca61a847222a2ea708.jpg

9b1d57f6f5208ceb0287b851dfe592069872a7a6af1765ca61a847222a2ea708.jpg

3956b466bca07f3c88da42cd7f00f3b235c16ff5384c99dec798edfdbcff3a02.jpg

3956b466bca07f3c88da42cd7f00f3b235c16ff5384c99dec798edfdbcff3a02.jpg

4b234e888fd8ff1bdd3dc9666d0bdf200e46752e30c7bd104f20c7f4ca5187dd.jpg

4b234e888fd8ff1bdd3dc9666d0bdf200e46752e30c7bd104f20c7f4ca5187dd.jpg

7695925cd1e146f3ddbc7ef331fb1675a48ad29d5c0c1ff60342a4237b6704fa.jpg

7695925cd1e146f3ddbc7ef331fb1675a48ad29d5c0c1ff60342a4237b6704fa.jpg

ddba3cfb707b8c2ec37e5fb28a5b13775f83bf98417a457fb4fa8b10ad9a6d57.jpg

ddba3cfb707b8c2ec37e5fb28a5b13775f83bf98417a457fb4fa8b10ad9a6d57.jpg

ee96f90d22a58f89b7a23bffb51e208a8b63cdbb73eeff261b3f4dc30db26359.jpg

ee96f90d22a58f89b7a23bffb51e208a8b63cdbb73eeff261b3f4dc30db26359.jpg

62aa82a0e8cb71e32d8d6a01ada691524e86c504fc43c60a64ca3c7f028ff97f.jpg

62aa82a0e8cb71e32d8d6a01ada691524e86c504fc43c60a64ca3c7f028ff97f.jpg

6db5e5a7b8a543fbae0590e307cbefc3ce474015b77ed0f7f63fc5a55c5b274e.jpg

6db5e5a7b8a543fbae0590e307cbefc3ce474015b77ed0f7f63fc5a55c5b274e.jpg

6ae682bf39e34f99bf4e18e5261cd8f7e31807720614de9c4a3a1221c6de8959.jpg

6ae682bf39e34f99bf4e18e5261cd8f7e31807720614de9c4a3a1221c6de8959.jpg

d3e64633a17c2d7094c3bbf5f889d1e8073cbd242e7f8e90755f0ea9fdd397a6.jpg

d3e64633a17c2d7094c3bbf5f889d1e8073cbd242e7f8e90755f0ea9fdd397a6.jpg

cb56e8a53a11dd6be1875eec13ef35336cc20849f32106ae2ab4672c91624299.jpg

cb56e8a53a11dd6be1875eec13ef35336cc20849f32106ae2ab4672c91624299.jpg

ca4f2643c02cfe41bf7388d3f3d99460504b0c26bc0fb02958bc1ac05075f65b.jpg

ca4f2643c02cfe41bf7388d3f3d99460504b0c26bc0fb02958bc1ac05075f65b.jpg

db7812239110c0036ab4819d68169c69754f647b403c0ca4c8f83b711e0c77ad.jpg

db7812239110c0036ab4819d68169c69754f647b403c0ca4c8f83b711e0c77ad.jpg

69f0820a784b0f89020fd766f723ccbd873f574cbfbc7ab9f388a00af988391b.jpg

69f0820a784b0f89020fd766f723ccbd873f574cbfbc7ab9f388a00af988391b.jpg

34c7bd1e935b397d2f5a73bd2d3b9f5a75fe4aa54d125c46c69db078ce429b67.jpg

34c7bd1e935b397d2f5a73bd2d3b9f5a75fe4aa54d125c46c69db078ce429b67.jpg

24c099df9bc927fd32e2debbaa30ae8b7c84db2c7bf8dd45bcde7d02af127882.jpg

24c099df9bc927fd32e2debbaa30ae8b7c84db2c7bf8dd45bcde7d02af127882.jpg

d43f048fd65e1d5c4c089407ff0cfd43ffd3d8bc5d4cbcc943b31d046724f9a6.jpg

d43f048fd65e1d5c4c089407ff0cfd43ffd3d8bc5d4cbcc943b31d046724f9a6.jpg

92a0233224f094089fd4728fd3e01dcf691af39ca3b2cb837a0cff376e7ffbc3.jpg

92a0233224f094089fd4728fd3e01dcf691af39ca3b2cb837a0cff376e7ffbc3.jpg

397108fa83f3eb303cfdb84edb95e65c150d8c2d8bd8b925199962df25a91789.jpg

397108fa83f3eb303cfdb84edb95e65c150d8c2d8bd8b925199962df25a91789.jpg

a382e22f2fd33fcdde2e984914dc144166ba0a966923dcb8c804c70ad9b063af.jpg

a382e22f2fd33fcdde2e984914dc144166ba0a966923dcb8c804c70ad9b063af.jpg

0e188900cea661fd34c21eaa6a93bd7fa35756c07a16720858257677ce9e579f.jpg

0e188900cea661fd34c21eaa6a93bd7fa35756c07a16720858257677ce9e579f.jpg

835b3c465e107a222216c0fecdec950a7e14bb75552b0b2b12a16ca30409e0ba.jpg

835b3c465e107a222216c0fecdec950a7e14bb75552b0b2b12a16ca30409e0ba.jpg

d14fb4e6feb34ef52403816b468b5d80c2ad444acbcfc7aa64ac34111e689790.jpg

d14fb4e6feb34ef52403816b468b5d80c2ad444acbcfc7aa64ac34111e689790.jpg

58dc322bb522d8a38241c304f58643e790ed3f6fa51a3560d929fb7d8945a8fa.jpg

58dc322bb522d8a38241c304f58643e790ed3f6fa51a3560d929fb7d8945a8fa.jpg

230c5572b8bfeed70d6d6824b18941737f45109426f04a565f0e30f48fbe2636.jpg

230c5572b8bfeed70d6d6824b18941737f45109426f04a565f0e30f48fbe2636.jpg

f21426d13bc324865a213877b444ead800acbe5c173aead8a3e37d50f912b9b0.jpg

f21426d13bc324865a213877b444ead800acbe5c173aead8a3e37d50f912b9b0.jpg

3c0290fdea0c6ca4d988d21a8efcc3b2b641d578d9f088bfd96ccfac27500fb5.jpg

3c0290fdea0c6ca4d988d21a8efcc3b2b641d578d9f088bfd96ccfac27500fb5.jpg

4adc3c0b704b8eda688bf500db6cf4dc7e0ae8c38f447f61e0aaf66e66435dd8.jpg

4adc3c0b704b8eda688bf500db6cf4dc7e0ae8c38f447f61e0aaf66e66435dd8.jpg

e5d6ee720e32b95e17ecf17f770b8a3db8b57cf1d894308eaddb7e72485ac2cb.jpg

e5d6ee720e32b95e17ecf17f770b8a3db8b57cf1d894308eaddb7e72485ac2cb.jpg

d196effc9fef0bbb9e1d8523c13792f9c5d5f2cae609bcb6cc43edce91ffe282.jpg

d196effc9fef0bbb9e1d8523c13792f9c5d5f2cae609bcb6cc43edce91ffe282.jpg

e9681e43ec8b533b20277be8514e88a33fcf660c49db82b656249ecce3c19eeb.jpg

e9681e43ec8b533b20277be8514e88a33fcf660c49db82b656249ecce3c19eeb.jpg

8483388e16adeb44781c0feb38c0c3be63b495b770fbc764c75a52b9ceb8a9b7.jpg

8483388e16adeb44781c0feb38c0c3be63b495b770fbc764c75a52b9ceb8a9b7.jpg

d9d193fc030fc79ba83c449af587450f448b0885ff5b11d5af232f55b5aa90c9.jpg

d9d193fc030fc79ba83c449af587450f448b0885ff5b11d5af232f55b5aa90c9.jpg

df15113ae3653f4805d2a0259ff02e2b5c21d9f034c51e2e899ff76694218401.jpg

df15113ae3653f4805d2a0259ff02e2b5c21d9f034c51e2e899ff76694218401.jpg

321af3cce6b5cb1e54a432c97d8c32bcab09f33b4c8cd33448fbc7b77d72d7f8.jpg

321af3cce6b5cb1e54a432c97d8c32bcab09f33b4c8cd33448fbc7b77d72d7f8.jpg

e3c6f4bb29cef452a4bc5223814bdfe93076279c059f01cb6a61fb17b14e1928.jpg

e3c6f4bb29cef452a4bc5223814bdfe93076279c059f01cb6a61fb17b14e1928.jpg

3aad756038b77d48f0de2a6c96900a64da0949d387347ba96e800094b3c1f4f6.jpg

3aad756038b77d48f0de2a6c96900a64da0949d387347ba96e800094b3c1f4f6.jpg

472e67bddca7298de49ced87ba5a5f07d1b894268a8d4806a0ccabe6cdf4597a.jpg

472e67bddca7298de49ced87ba5a5f07d1b894268a8d4806a0ccabe6cdf4597a.jpg

d90bb363e9c01ab24e65a9fa3cd616597e357979e2b6642c27e9f999e971d921.jpg

d90bb363e9c01ab24e65a9fa3cd616597e357979e2b6642c27e9f999e971d921.jpg

6c61be7cdc70a3ba353ddc1b523d8e21bf033b85c72b6700f5f800842e9b7fe8.jpg

6c61be7cdc70a3ba353ddc1b523d8e21bf033b85c72b6700f5f800842e9b7fe8.jpg

b775562f02753cfd2d8a7a78c49e4bd11c0c8d678d85dc87b27f8f4e3b24bb52.jpg

b775562f02753cfd2d8a7a78c49e4bd11c0c8d678d85dc87b27f8f4e3b24bb52.jpg

b037adb07313ed78e8b27116e40e874f5ae168ecaf5010d943b76311abc3c05c.jpg

b037adb07313ed78e8b27116e40e874f5ae168ecaf5010d943b76311abc3c05c.jpg

138027e3e85c379dda954dea91d6bd7a68490167e6d0d8501bbd69506d6cdf91.jpg

138027e3e85c379dda954dea91d6bd7a68490167e6d0d8501bbd69506d6cdf91.jpg

e4b8bfe1b772c960c5f28f085f6057911a02de083edbebc7f84338f33b257ca9.jpg

e4b8bfe1b772c960c5f28f085f6057911a02de083edbebc7f84338f33b257ca9.jpg

ac84d6df02b860558049895c8944034358fb29cb1c8ccecaeb8b7cd16117e8c9.jpg

ac84d6df02b860558049895c8944034358fb29cb1c8ccecaeb8b7cd16117e8c9.jpg

1707318bcc17cfc508fde3d0b7da1d9ea86b35758a760d5f173eeb978d59674b.jpg

1707318bcc17cfc508fde3d0b7da1d9ea86b35758a760d5f173eeb978d59674b.jpg

e53a4e526112f0036727127d9eb6d332e495ae48cf5f9c7141cd63f33f0a7674.jpg

e53a4e526112f0036727127d9eb6d332e495ae48cf5f9c7141cd63f33f0a7674.jpg

ca5387594d2510889482f341791670260da8f8e58fcaace87d77edc1307fcd15.jpg

ca5387594d2510889482f341791670260da8f8e58fcaace87d77edc1307fcd15.jpg

cc6165fdd583bdfc7ffb0a018532a78852496041d4d99b78a458dadcfc6cfd57.jpg

cc6165fdd583bdfc7ffb0a018532a78852496041d4d99b78a458dadcfc6cfd57.jpg

f2fcc40a6222d6f6e08ae840e4e6d86a4b0b69324f2361fd12f17495781f03e5.jpg

f2fcc40a6222d6f6e08ae840e4e6d86a4b0b69324f2361fd12f17495781f03e5.jpg

c71f416952b32208a11cae17f9c1f441562333e0778aee9682434ab486e1d705.jpg

c71f416952b32208a11cae17f9c1f441562333e0778aee9682434ab486e1d705.jpg

4804014b44d14fe0b7707e7ff4cb28b6f13b2f1ba37b4f8970c3798e26d1b282.jpg

4804014b44d14fe0b7707e7ff4cb28b6f13b2f1ba37b4f8970c3798e26d1b282.jpg

dbbd15accf18062afe1055404941c0f86a784002a24f6f59a22c7361a2d13a85.jpg

dbbd15accf18062afe1055404941c0f86a784002a24f6f59a22c7361a2d13a85.jpg

19cc9faae3ca8a9f4835a6aa994bd412824e8b1f4ed6add30faa3fe276bf83d4.jpg

19cc9faae3ca8a9f4835a6aa994bd412824e8b1f4ed6add30faa3fe276bf83d4.jpg

1043dc8b9691053711c031119304bb42ad40076134f22b83ad5167d0ae9c4d79.jpg

1043dc8b9691053711c031119304bb42ad40076134f22b83ad5167d0ae9c4d79.jpg

4c2a482b4e4955ce5c03c6be1b755db5a05703f466cf3231356e70d753348b45.jpg

4c2a482b4e4955ce5c03c6be1b755db5a05703f466cf3231356e70d753348b45.jpg

974d34509f002c8092b9f69c0248f827e42dfb9dc6f4ad5f6a5666574638d8f2.jpg

974d34509f002c8092b9f69c0248f827e42dfb9dc6f4ad5f6a5666574638d8f2.jpg

41a72fa83a640481ddaab75a5bc1d6fab99fc764aa9f93fce85b57f68a0ea07a.jpg

41a72fa83a640481ddaab75a5bc1d6fab99fc764aa9f93fce85b57f68a0ea07a.jpg

f48344f10b89e324e7ad53117be1e9d9263835f4fe5a52df7b170bcef7b10cca.jpg

f48344f10b89e324e7ad53117be1e9d9263835f4fe5a52df7b170bcef7b10cca.jpg

cc3772bf748823538abeb1bdd2e54d562fedd8ea6219dac4891e083f7644f421.jpg

cc3772bf748823538abeb1bdd2e54d562fedd8ea6219dac4891e083f7644f421.jpg

Agent APIs

Use this datasheet from any agent

Send the page, markdown, chunks, or search endpoint to ChatGPT, Claude, embedr-app, or your own tooling.