Tuning Options for Touch in MPLAB® Code Configurator (MCC) Melody and Harmony
Last modified by Microchip on 2026/02/23 15:12
Overview
This section gives an overview of how to use the tune option in the touch configurator.
Details
The two options in touch tuning are:
- Touch Tuning (bidirectional, requires UART Tx and Rx)
- This option is useful when you want to see the effect of a touch parameter with a few clicks instead of changing in .h files and programming the device with an updated configuration. Bidirectional requires both Tx and Rx wires. If bidirectional is selected, then the project is generated with Touchtune.c and Touchtune.h files. A detailed procedure on how to visualize data using bidirectional can be found in the Guide to View Touch Tune Data page.
- Touch Visualization (unidirectional, requires UART Tx)
- This option is useful to visualize touch data. Unidirectional requires only one wire, i.e., Tx alone. If unidirectional is selected, the project is generated with datastreamer.c and datastreamer.h files (along with .db, .ds and .sb files). A detailed procedure on how to visualize data using unidirectional is found in the Guide to View Touch Data page.
Procedure
To enable tuning and select the configuration, open Touch Configurator and select Tune > Enable Touch Tuning Data connection. Then select unidirectional or bidirectional.
