Link Search Menu Expand Document

MCHP

SAMC21 Xplained Sensor Example using QT1 Xplained Pro Self

Path of the application within the repository is apps/qt1_selfcap_xpro_board/sam_c21_xpro

To build the application, refer to the following table and open the project using its IDE.

Touch Application

Project Name Description
qt1_selfcap_xpro_board/sam_c21_xpro/sam_c21_xpro.X MPLABX Project for SAM C21 Xplained Pro Evaluation Kit
   

Setting up the hardware

  1. Connect the QT1 Xplained pro Self capacitance to the Xplained Board
  2. Connect the Debug USB port on the board to the computer using a micro USB cable

Running The Application

  1. Open the application project sam_c21_xpro.X in the IDE
  2. Build the project and program the target board

Monitoring Touch Data in MPLAB DV Touch plugin

Prerequisite MPLAB Data Visualizer and Touch Pluign. Procedure for Installation is available in Introduction to Touch Plugin.

  1. Configure COM Port
    • Select the correct COM port in Connection tab
    • Update the Baud Rate to 115200 in COM Settings
    • Start Streaming for COM data
  2. COM Port on Touch
    • Select Touch in Connection tab
    • For data source, from drop-down menu, select configured COM port as source
    • Start Streaming on Touch

Detailed procedure can be found in Introduction to Touch Plugin page.



Copyright © 2020 Microchip Technology.