![]() |
Synergy Software Package User's Manual
|
The Capacitive Touch v2 Framework uses the CTSU v2 Driver API and provides application-level APIs for scanning touch buttons, sliders, and wheels. This module is configured via the QE for Capacitive Touch.
The following build time configurations are defined in ssp_cfg/framework/sf_touch_ctsuv2_cfg.h:
Build Time Configurations for sf_touch_ctsuv2
| Configuration | Options | Default | Description |
|---|---|---|---|
| Parameter Checking | - Default (BSP) - Enabled - Disabled | Default (BSP) | If selected code for parameter checking is included in the build. |
| Support for QE monitoring using UART | - Enabled - Disabled | Disabled | Enable SCI_UART support for QE monitoring. |
This module can be added to the Stacks tab by selecting New Stack > Framework > Input > Cap Touch Framework on sf_touch_ctsuv2.
Refer to the CTSU v2 Driver section for details.
Refer to the CTSU v2 Driver section for details.
Refer to the CTSU v2 Driver section for details.
Sliders and wheels are subject to some limitations:
| Slider | Wheel | |
|---|---|---|
| Electrode type | Self capacitance only | Self capacitance only |
| Number of electrodes | 3 to 10 | 4 or 8 |
| Touch position output range | 0-100 | 0-359 |
| Default value (no touch) | 0xFFFF | 0xFFFF |
Touch data is judged as touched or not-touched based on the threshold and hysteresis values determined during the QE tool tuning process. Refer to the QE for Capacitive Touch tool documentation in e2 studio Help for details on how these values are set.
This is a basic example of minimal use of the TOUCH in an application.
This is a optional example of using both Self-capacitance and Mutual-capacitance. Refer to the Multi Mode Example in CTSUV2 usage notes.