MPR121
Sensors
4 Freescale Semiconductor, Inc.
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 “13
th
” 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 (I
2
C) compliant device with an interrupt IRQ pin. This pin is triggered any time a touch
or release is detected. The device has a configurable I
2
C address by connecting the ADDR pin to the VSS, VDD, SDA or SCL
lines This results in I
2
C 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
Sensors
Freescale Semiconductor, Inc. 5
Table 2. Register Map
REGISTER Fields
Register
Address
Initial
Value
Auto-
Increment
Address
ELE0 - ELE7 Touch Status ELE7 ELE6 ELE5 ELE4 ELE3 ELE2 ELE1 ELE0 0x00 0x00
Register
Address + 1
ELE8 - ELE11, ELEPROX Touch Status OVCF ELEPROX ELE11 ELE10 ELE9 ELE8 0x01 0x00
ELE0-7 OOR Status E7_OOR E6_OOR E5_OOR E4_OOR E3_OOR E2_OOR E1_OOR E0_OOR 0x02 0x00
ELE8-11, ELEPROX OOR Status ACFF ARFF
PROX_OOR
E11_OOR E10_OOR E9_OOR E8_OOR 0x03 0x00
ELE0 Electrode Filtered Data LSB EFD0LB 0x04 0x00
ELE0 Electrode Filtered Data MSB EFD0HB 0x05 0x00
ELE1 Electrode Filtered Data LSB EFD1LB 0x06 0x00
ELE1 Electrode Filtered Data MSB EFD1HB 0x07 0x00
ELE2 Electrode Filtered Data LSB EFD2LB 0x08 0x00
ELE2 Electrode Filtered Data MSB EFD2HB 0x09 0x00
ELE3 Electrode Filtered Data LSB EFD3LB 0x0A 0x00
ELE3 Electrode Filtered Data MSB EFD3HB 0x0B 0x00
ELE4 Electrode Filtered Data LSB EFD4LB 0x0C 0x00
ELE4 Electrode Filtered Data MSB EFD4HB 0x0D 0x00
ELE5 Electrode Filtered Data LSB EFD5LB 0x0E 0x00
ELE5 Electrode Filtered Data MSB EFD5HB 0x0F 0x00
ELE6 Electrode Filtered Data LSB EFD6LB 0x10 0x00
ELE6 Electrode Filtered Data MSB EFD6HB 0x11 0x00
ELE7 Electrode Filtered Data LSB EFD7LB 0x12 0x00
ELE7 Electrode Filtered Data MSB EFD7HB 0x13 0x00
ELE8 Electrode Filtered Data LSB EFD8LB 0x14 0x00
ELE8 Electrode Filtered Data MSB EFD8HB 0x15 0x00
ELE9 Electrode Filtered Data LSB EFD9LB 0x16 0x00
ELE9 Electrode Filtered Data MSB EFD9HB 0x17 0x00
ELE10 Electrode Filtered Data LSB EFD10LB 0x18 0x00
ELE10 Electrode Filtered Data MSB EFD10HB 0x19 0x00
ELE11 Electrode Filtered Data LSB EFD11LB 0x1A 0x00
ELE11 Electrode Filtered Data MSB EFD11HB 0x1B 0x00
ELEPROX Electrode Filtered Data LSB EFDPROXLB 0x1C 0x00
ELEPROX Electrode Filtered Data MSB EFDPROXHB 0x1D 0x00
ELE0 Baseline Value E0BV 0x1E 0x00
ELE1 Baseline Value E1BV 0x1F 0x00
ELE2 Baseline Value E2BV 0x20 0x00
ELE3 Baseline Value E3BV 0x21 0x00
ELE4 Baseline Value E4BV 0x22 0x00
ELE5 Baseline Value E5BV 0x23 0x00
ELE6 Baseline Value E6BV 0x24 0x00
ELE7 Baseline Value E7BV 0x25 0x00
ELE8 Baseline Value E8BV 0x26 0x00
ELE9 Baseline Value E9BV 0x27 0x00
ELE10 Baseline Value E10BV 0x28 0x00
ELE11 Baseline Value E11BV 0x29 0x00
ELEPROX Baseline Value EPROXBV 0x2A 0x00
MHD Rising MHDR 0x2B 0x00
NHD Amount Rising NHDR 0x2C 0x00
NCL Rising NCLR 0x2D 0x00
FDL Rising FDLR 0x2E 0x00
MHD Falling MHDF 0x2F 0x00
NHD Amount Falling NHDF 0x30 0x00
MPR121
Sensors
6 Freescale Semiconductor, Inc.
NCL Falling NCLF 0x31 0x00
Register
Address + 1
FDL Falling FDLF 0x32 0x00
NHD Amount Touched NHDT 0x33 0x00
NCL Touched NCLT 0x34 0x00
FDL Touched FDLT 0x35 0x00
ELEPROX MHD Rising MHDPROXR 0x36 0x00
ELEPROX NHD Amount Rising NHDPROXR 0x37 0x00
ELEPROX NCL Rising NCLPROXR 0x38 0x00
ELEPROX FDL Rising FDLPROXR 0x39 0x00
ELEPROX MHD Falling MHDPROXF 0x3A 0x00
ELEPROX NHD Amount Falling NHDPROXF 0x3B 0x00
ELEPROX NCL Falling NCLPROXF 0x3C 0x00
ELEPROX FDL Falling FDLPROXF 0x3D 0x00
ELEPROX NHD Amount Touched NHDPROXT 0x3E 0x00
ELEPROX NCL Touched NCLPROXT 0x3F 0x00
ELEPROX FDL Touched FDLPROXT 0x40 0x00
ELE0 Touch Threshold E0TTH 0x41 0x00
ELE0 Release Threshold E0RTH 0x42 0x00
ELE1 Touch Threshold E1TTH 0x43 0x00
ELE1 Release Threshold E1RTH 0x44 0x00
ELE2 Touch Threshold E2TTH 0x45 0x00
ELE2 Release Threshold E2RTH 0x46 0x00
ELE3 Touch Threshold E3TTH 0x47 0x00
ELE3 Release Threshold E3RTH 0x48 0x00
ELE4 Touch Threshold E4TTH 0x49 0x00
ELE4 Release Threshold E4RTH 0x4A 0x00
ELE5 Touch Threshold E5TTH 0x4B 0x00
ELE5 Release Threshold E5RTH 0x4C 0x00
ELE6 Touch Threshold E6TTH 0x4D 0x00
ELE6 Release Threshold E6RTH 0x4E 0x00
ELE7 Touch Threshold E7TTH 0x4F 0x00
ELE7 Release Threshold E7RTH 0x50 0x00
ELE8 Touch Threshold E8TTH 0x51 0x00
ELE8 Release Threshold E8RTH 0x52 0x00
ELE9 Touch Threshold E9TTH 0x53 0x00
ELE9 Release Threshold E9RTH 0x54 0x00
ELE10 Touch Threshold E10TTH 0x55 0x00
ELE10 Release Threshold E10RTH 0x56 0x00
ELE11 Touch Threshold E11TTH 0x57 0x00
ELE11 Release Threshold E11RTH 0x58 0x00
ELEPROX Touch Threshold EPROXTTH 0x59 0x00
ELEPROX Release Threshold EPROXRTH 0x5A 0x00
Debounce Touch & Release DR DT 0x5B 0x00
Filter/Global CDC Configuration FFI CDC 0x5C 0x10
Filter/Global CDT Configuration CDT SFI ESI 0x5D 0x24
Electrode Configuration CL ELEPROX_EN ELE_EN 0x5E 0x00
ELE0 Electrode Current CDC0 0x5F 0x00
ELE1 Electrode Current CDC1 0x60 0x00
ELE2 Electrode Current CDC2 0x61 0x00
Table 2. Register Map
REGISTER Fields
Register
Address
Initial
Value
Auto-
Increment
Address

MPR121QR2

Mfr. #:
Manufacturer:
NXP / Freescale
Description:
Capacitive Touch Sensors Low Voltage Touch Pad
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet