I have a problem with the MPR121 Capacitive Touch Sensor Controller. I configured it as recommended in the Quick Start Guide and most of the time it works very well. I have only three electrodes connected and it responds nicely when I touch one and then releases. But if I touch all of them at once or quickly move my finger from one to another, it seems like it freezes. If I re-initialize the MPR121 it works again, but freezes again if I touch all the electrodes or quickly move my finger.
I have checked that it is not the microcontroller, everything else is still running.
Does anyone know what I might have done wrong?
The configuration settings are shown here:
// Enter stop mode (for re-initialization)
// Recommended filter settings when electrode data > baseline value
// Recommended filter settings when electrode data < baseline value
// Setting touch- and release thresholds for electrode 0
// Setting touch- and release thresholds for electrode 1
// Setting touch- and release thresholds for electrode 2
// Setting sample rate to 1ms
// Enable auto config and auto reconfig
// Enable touch on electrode 0-2 - this also enables the controller and
// must be set as the last