Data Sheet
MPR121 Sensor
5 Freescale Semiconductor
The amount of charge (Q) applied is programmable by setting the charge current (I), and the charge time (T). Once the
electrode is charged, the peak voltage (V) at the end of charge is measured by internal 10bit ADC. This voltage V (that is the
ADC counts) is reverse proportional to the capacitance (C) on the sensing channel.
πͺ =
πΈ
π½
=
π° Γ π»
π½
, π½ =
πΈ
πͺ
=
π° Γ π»
πͺ
The programmable range for the current I is 1uA~63uA, see description on AFE Configuration 1 Register (0x5C). The
programmable range for time T is 0.5uS~32uS, see description on AFE Configuration 2 Register (0x5D). To maintain the
linearity of internal current source, the voltage on the sensing input suggested range is 0.7V ~ VDD-0.7V. Using these setting
limits for the above equation, the C measurable range can be calculated.
Taking VDD=1.8V as an example:
πͺπππ =
π°πππ Γ π»πππ
π½πππ
=
π. πππΊ Γ πππ¨
π. ππ½ β π. ππ½
= π. ππππ
πͺππππ =
π°πππ Γ π»πππ
π½πππ
=
ππππΊ Γ ππππ¨
π. ππ½
= ππππππ
Figure 5. MPR121 linear voltage range by the supply voltage
Note: If the exact C value is not cared and MPR121 is only used for touch detection, then the current source linearity is not an
issue and sensitivity is critical, the electrode can be charged up to the supply limit so maximum charge can be generated for
higher touch detection sensitivity. However, charge should not be so high that the voltage is clipped by supply rail which can
cause a reverse impact on sensitivity.
Since the ADC is 10bit, the equation for ADC reading result is as below:
π¨π«πͺ ππππππ =
π½
π½π
π
Γ ππππ =
π° Γ π»
πͺ
Γ
π
π½π
π
Γ ππππ
Re-arrange above equation, the capacitance C can be calculated as below:
πͺ =
π° Γ π»
π¨π«πͺ ππππππ
Γ
π
π½π
π
Γ ππππ
To calculate the capacitance resolution per ADC counts,
π
πͺ
π
π¨π«πͺ ππππππ
=
π° Γ π»
(π¨π«πͺ ππππππ)
π
Γ
π
π½π
π
Γ ππππ =
πͺ
π¨π«πͺ ππππππ
From above equation, the resolution is dependent on the capacitance under measurement and the ADC reading counts. Itβs
easy to understand smaller C or higher ADC counts result higher resolution.
To get the maximum resolution for a given C, the highest ADC counts is used, which gives out: