Melody Touch Library User Guide

 Procedure

1

Open MPLAB Xpress

Go to https://www.mplab-xpresside.microchip.com/ and select the Get Started Now option.

XpressIDE.png

Then log in with the registered email account.

myMicrochip.png

2

Create New Project

Create a new project by clicking the folder icon or from the file menu, select New Project.

NewProject.png

Click Next in the New Project dialog box.

DialogBox.png

Select the required device family and click Next.

DeviceFamily.png

Assign a project name and click Finish.

ProjectName.png

3

Touch Plugin

Open the MCC configurator by clicking on the MCC icon.

After initialization, expand Touch Configurator from the Libraries menu under Device Resources. Click on the + icon to add the touch library.

TouchConfigurator.png

The touch configurator will be loaded on the right side of the IDE. A user tour will be initialized to tell you about the available options inside the touch library.

UserTour.png

Select the buttons and click Add to add them to the configuration.

AddButtons.png

After you added the buttons, click on the Configure tab to apply different modifications.

ConfigureMenu.png

Click on the displayed pin to select and assign an alternate set of pins to the currently selected button/slider/wheel.

SensorPins.png

Click Sensor Parameters to modify the selected button/slider/wheel’s Gain, Delay, Clock, etc.

SensorParameters.png

Click Common Parameters to modify the selected button/slider/wheel’s Drift Rate, Hold Time, etc.

CommonParameters.png

Click Driven Shield to enable the Driven Shield Feature and add a dedicated shield pin.

DrivenShield.png

Click Boost Mode to enable the boost mode.

BoostMode.png

Click Frequency Hop to enable Frequency Hop and Frequency Hop Tuning

FrequencyHop.png

Click on the Tune tab to enable a Tuning Data connection and select the UART.

TuneTab.png

Click on the Summary tab to check the device's summary.

SummaryTab.png

4

Code Generation and Build

Click on the Generate button to generate the configured code.

Generate.png
GenerationComplete.png

Click on the hammer icon to build the project

BuildSuccessful.png

 Results

Once you have finished configuring your project and are ready to export, you can export to MPLAB X to start writing your application code.

Table of Contents

© 2021 Microchip Technology, Inc.
Notice: ARM and Cortex are the registered trademarks of ARM Limited in the EU and other countries.
Information contained on this site regarding device applications and the like is provided only for your convenience and may be superseded by updates. It is your responsibility to ensure that your application meets with your specifications. MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHER EXPRESS OR IMPLIED, WRITTEN OR ORAL, STATUTORY OR OTHERWISE, RELATED TO THE INFORMATION, INCLUDING BUT NOT LIMITED TO ITS CONDITION, QUALITY, PERFORMANCE, MERCHANTABILITY OR FITNESS FOR PURPOSE. Microchip disclaims all liability arising from this information and its use. Use of Microchip devices in life support and/or safety applications is entirely at the buyer's risk, and the buyer agrees to defend, indemnify and hold harmless Microchip from any and all damages, claims, suits, or expenses resulting from such use. No licenses are conveyed, implicitly or otherwise, under any Microchip intellectual property rights.