3.3.1.3.1 DEF_PTC_CAL_OPTION
This parameter determines whether the auto-tune charge time feature is enabled or not. When enabled, the auto-tune charge time feature helps to adjust the parameters to ensure full charging of the sensor electrode.
| Options | Description |
|---|---|
| CAL_AUTO_TUNE_NONE | This is the default value. The user-configured Charge Share Delay (CSD), Prescaler and Resistor Select (RSEL) are used by touch library. |
| CAL_AUTO_TUNE_CSD* | Enabling this option will automatically adjust CSD and make sure that the sensor is fully charged |
| CAL_AUTO_TUNE_PRSC* | Enabling this option will automatically adjust Prescaler and make sure that the sensor is fully charged |
| CAL_AUTO_TUNE_RSEL* | Enabling this option will automatically select maximum internal resistor that can be used—based on sensor capacitance and given charge time CSD/Prescaler |
CAUTION: * Auto-tune may not give
the accurate results under various conditions. Thus, the auto-tune option should not
be used in production. In self-capacitance measurement, auto-tune doesn’t work
correctly.
