This application note describes the RC time constant acquisition principle used in the touch sensing software library.
This document explains the RC acquisition principle used to detect human touch in capacitive touch-sensitive controls. It details how the method measures small variations in electrode capacitance by charging and discharging a network formed by a resistor and the touch electrode. The note covers the underlying physics, the hardware implementation using a single resistor, and the firmware implementation within the ST touch sensing library.
The capacitance variation is typically a few picofarads, specifically around 5pF.
Eight successive measurements are necessary to span all the possible values.
The optional resistor R2 has a value of 10kQ.