Sensitivity Tuning
Optimum Sensitivity
The purpose of this step is to optimize sensitivity for a light finger touch, as shown in the accompanying image.

Sensitivity Tuning With Gain
Keep the analog gain and digital gain as GAIN_1.
We always recommend keeping the analog gain at 1. Increasing the analog gain by one step will reduce the noise margin to half. Thus, increasing analog gain is recommended only for low-noise systems.
Observe the touch delta by gently touching the sensors. If the touch delta is >30, then use that gain setting. If not, go to Step 3.
Increase the digital gain by 1 step and go to Step 1.
Ensure that ratio FILTER_LEVEL/D_GAIN >= 8. For example, if D_GAIN = GAIN_4, then the filter level should be at least FILTER_LEVEL_32.
Maximum digital gain should be limited to GAIN_8. Using more than that will reduce the Signal-to-Noise Ratio (SNR).
Sample configuration in the touch.h file with digital gain shown as GAIN_2:
Sensitivity Tuning With Threshold
Monitor the touch delta value for each sensor.
Configure the threshold as 50~60% of the touch delta values.
Ensure that for light finger touch, the sensor goes into detect.
Adjust the sensitivity as required by performing a slight variation on the threshold.
Tuning Sensitivity for Slider/Wheel/Surface
Monitor the touch delta value for each button on the slider/wheel/surface sensor.
Configure the threshold as 50~60% of the touch delta values for each button.
Ensure that for light finger touch, the sensor goes into detect.
Adjust the sensitivity as required by performing a slight variation on the threshold.
Move the finger throughout the sensor area and monitor the contact size on the Data Visualizer. Configure MIN_CONTACT value as 70% of the contact size observed on the Data Visualizer.
Perform minor adjustments on the MIN_CONTACT value and ensure that the position reported is smooth through the sensor.
Sample configuration in the touch.h file with MIN_CONTACT highlighted: