Microchip ATSAMD21G17 Manual


Læs gratis den danske manual til Microchip ATSAMD21G17 (44 sider) i kategorien Ikke kategoriseret. Denne vejledning er vurderet som hjælpsom af 12 personer og har en gennemsnitlig bedømmelse på 4.4 stjerner ud af 6.5 anmeldelser. Har du et spørgsmål om Microchip ATSAMD21G17, eller vil du spørge andre brugere om produktet?

Side 1/44
TRAINING MANUAL
Single-slope PWM Implementation using SAM D21 TCC in
a Touch- based Application
AN- 9232
Prerequisites
Hardware Prerequisites
Atmel® SAM D21 Xplained Pro Evaluation Kit
Atmel KitQT1 Xplained Pro
USB Micro Cable (TypeA/ -B) Micro
Software Prerequisites
Atmel Studio 6.2 or higher
Atmel Software Framework 3.1 .0 or higher7
Atmel QTouch® Composer 5.3 or higher
Atmel QTouch Library 5.3 or higher
Documentation Prerequisites
Atmel- - - - - - - -42271 Introduction to QTouch Design Parameters using
SAM- - - - -D21 Xplained Pro_Training Manual_AN 7846 Training Manual
Estimated completion time: 60min.
Introduction
The goal of this hands on is to:-
Create a Touch proje using QTouch Project Builderct
Use QTouch Analyzer to test the project
Implement a PWM signal using the SAM D21 Timer/Counters for Control
peripheral the brightness (TCC) to drive of a LED
Modify the utton LED brightness in relation to the Touch Delta value of a B
sensor by updating the PWM duty cycle
42327 A 07/2014
AN- -9232 Single slope PWM Implementation using SAM D21 TCC in a Touch-based Application: 42327 2014A 07/
Page 442 of
Table of Contents
Prerequisites .....................................................................................1
Introduction .......................................................................................1
Icon Key Identifiers ...........................................................................3
1. Training Module Architecture .....................................................4
1.1 Atmel Studio Extension (.vsix) ............................................................. 4
1.2 Atmel Training Executable (.exe) ......................................................... 4
2. Introduction ................................................................................5
3. Assignment 1: Create a Touch project using QTouch Project
Builder ........................................................................................6
3.1 Project Creation ................................................................................... 6
3.2 Conclusion ......................................................................................... 18
4. Assignment 2: Use QTouch Analyzer to Test the Project ........ 19
4.1 Connect the Kit to QTouch Analyzer ................................................. 19
4.2 Test the Proximity Effect of the QTouch Application ......................... 23
4.3 Conclusion ......................................................................................... 24
5. Assignment 3: Implement a PWM Signal using the SAM D21
Timer/Counters for Control Application Peripheral (TCC) ........ 25
5.1 Introduction to Timer/Counters for Control Application (TCC) ........... 25
5.2 TCC Peripheral Initialization Using ASF Quick Start Guide. ............. 27
5.3 Conclusion ......................................................................................... 34
6. Assignment 4: Use QTouch Button to Control LED Brightness 35
6.1 Reading and using Button Touch Delta Value ................................... 35
6.2 Using PWM to Control LED Brightness ............................................. 37
6.3 Conclusion ......................................................................................... 41
7. Conclusion ............................................................................... 42
8. Revision History ....................................................................... 43


Produkt Specifikationer

Mærke: Microchip
Kategori: Ikke kategoriseret
Model: ATSAMD21G17

Har du brug for hjælp?

Hvis du har brug for hjælp til Microchip ATSAMD21G17 stil et spørgsmål nedenfor, og andre brugere vil svare dig