Creating a Driven Shield Project with MHC
Objective
This page shows you how to create a Driven Shield Touch MPLAB® Harmony project from scratch.
Materials
Hardware Tools
Software Tools
Procedure
1
Create a New Project
6
Configure the Driven Shield
Refer to the "Guide for Timer-based Driven Shield on SAM Devices".
Simultaneous use of both Driven shield and Driven Shield+ is possible.
Refer to the “I/O Multiplexing and Considerations” section of the target device datasheet to examine the various touch pins that also support the TC or TCC outputs.
Choosing the Driven Shield Option
- Select the Enable Dedicated Driven Shield checkbox
- Choose from the available TC/TCC to set the Timer Instance.
- Choose the Shield pin.
- Click Apply to update the Project Configuration. Allow the use of the TC/TCC as prompted.
Choosing the Driven Shield+ Option
- Select the Enable Driven Shield Plus checkbox
- Choose from the available TC /TCC to set the Timer Instance.
- Click Apply to update the Project Configuration. Allow the use of the TC/TCC as prompted.
In step 2 above, not all pins support Timer Output in this QT7 example, see “I/O Multiplexing and Considerations” in the SAMD21 datasheet.
When applied, the Project Graph should now contain the relevant timers for Driven Shield/Driven Shield+ in addition to the RTC.
In this example, Data Visualizer was also enabled.