Microchip ATSAMC20J17A Manual de Usario

Microchip No categorizado ATSAMC20J17A

Lee a continuación 📖 el manual en español para Microchip ATSAMC20J17A (117 páginas) en la categoría No categorizado. Esta guía fue útil para 6 personas y fue valorada con 4.5 estrellas en promedio por 2 usuarios

Página 1/117
Atmel QTouch
SAM C20 Safety Library
USER GUIDE
Introduction
Atmel® QTouch® Peripheral Touch Controller (PTC) offers built-in hardware
for buttons, sliders, and wheels. PTC supports both mutual and self
capacitance measurement without the need for any external component. It
offers superb sensitivity and noise tolerance, as well as self-calibration and
minimizes the sensitivity tuning effort by the user.
The PTC is intended for acquiring capacitive touch sensor signals. The
external capacitive touch sensor is typically formed on a PCB, and the
sensor electrodes are connected to the analog charge integrator of the PTC
using the device I/Opins. The PTC supports mutual capacitance sensors
organized as capacitive touch matrices in different X-Y configurations,
including Indium Tin Oxide (ITO) sensor grids. In mutual capacitance mode,
the PTC requires one pin per X line(drive line) and one pin per Y line (sense
line). In self capacitance mode, the PTC requires only one pin with a Y-line
driver for each self-capacitance sensor.
The PTC supports two sets of libraries, the QTouch Library and the QTouch
Safety Library. The QTouch Library supports both mutual and self
capacitance methods. The QTouch Safety Library is available for both GCC
and IAR. The QTouch Safety Library also supports both the mutual
capacitance method and self capacitance method along with the additional
safety features.
Features
Implements low-power, high-sensitivity, environmentally robust
capacitive touch buttons, sliders, and wheels
Supports mutual capacitance and self capacitance sensing
Upto 256 channels in mutual-capacitance mode
Upto 32 channels in self-capacitance mode
Two pin per electrode in mutual capacitance mode - with no external
components
One pin per electrode in self capacitance mode - with no external
components
Load compensating charge sensing
Atmel-42679C-SAM-C20-QTouch-Safety-Library_User Guide-07/2016
Parasitic capacitance compensation for mutual capacitance mode
Adjustable gain for superior sensitivity
Zero drift over the temperature and VDD range
No need for temperature or VDD compensation
Hardware noise filtering and noise signal desynchronization for high conducted immunity
Supports moisture tolerance
Atmel provided QTouch Safety Library firmware
Supports Sensor Enable and Disable at Runtime
Supports Quick Reburst Feature for Faster Response Time
Low Power Sensor Support
The following features are available only in the QTouch Safety Library:
CRC protection
Logical program flow sequence
Memory protection using double inverse mechanism
Library RAM relocation and
Compile-time and Run-time check
For more information about the capacitance related technological concepts, Refer Chapter 4 in Atmel
QTouch LibraryPeripheral Touch Controller User Guide [42195] available at www.atmel.com.
Product Support
For assistance related to QTouch capacitive touch sensing software libraries and related issues, contact
your localAtmel sales representative or log on to myAtmel Design Support portal to submit a support
request or access acomprehensive knowledge base. If you don’t have a myAtmel account, please visit
http://www.atmel.com/design-support/ to create a new account byclicking on “Create Account” in the
myAtmel menu at the top of the page. Once logged in, you will be able to access the knowledge base,
submit new support cases from the myAtmel page orreview status of your ongoing cases.
Atmel SAM C20 Safety Library [USER GUIDE]
Atmel-42679C-SAM-C20-QTouch-Safety-Library_User Guide-07/2016
2
Table of Contents
Introduction......................................................................................................................1
Features.......................................................................................................................... 1
1. Development Tools.................................................................................................... 5
1.1. Device Variants Supported........................................................................................................... 5
2. QTouch Safety Library .............................................................................................. 6
2.1. API Overview................................................................................................................................6
2.2. Sequence of Operation................................................................................................................ 8
2.3. Program Flow .............................................................................................................................. 9
2.4. Configuration Parameters...........................................................................................................10
2.5. Touch Library Error Reporting Mechanism.................................................................................25
2.6. Touch Library Program Counter Test..........................................................................................25
2.7. CRC on Touch Input Configuration.............................................................................................27
2.8. Double Inverse Memory Check.................................................................................................. 30
2.9. Application Burst Again Mechanism...........................................................................................35
2.10. Memory Requirement.................................................................................................................35
2.11. API Execution Time.................................................................................................................... 37
2.12. Error Intepretation.......................................................................................................................41
2.13. Data and Function Protection.....................................................................................................44
2.14. Moisture Tolerance..................................................................................................................... 45
2.15. Quick Re-burst............................................................................................................................47
2.16. Reading Sensor States...............................................................................................................47
2.17. Touch Library Suspend Resume Operation............................................................................... 48
2.18. Drifting On Disabled Sensors..................................................................................................... 50
2.19. Capacitive Touch Low Power Sensor.........................................................................................51
3. QTouch Safety Library API...................................................................................... 57
3.1. Typedefs.....................................................................................................................................57
3.2. Macros........................................................................................................................................57
3.3. Enumerations............................................................................................................................. 58
3.4. Data Structures...........................................................................................................................66
3.5. Global Variables......................................................................................................................... 74
3.6. Functions....................................................................................................................................76
4. FMEA.......................................................................................................................86
4.1. Double Inverse Memory Check.................................................................................................. 86
4.2. Memory Requirement.................................................................................................................86
4.3. API Execution Time.................................................................................................................... 87
4.4. Error Interpretation..................................................................................................................... 89
4.5. Data and Function Protection.....................................................................................................89
4.6. FMEA Considerations.................................................................................................................90
5. FMEA API................................................................................................................91

Especificaciones del producto

Marca: Microchip
Categoría: No categorizado
Modelo: ATSAMC20J17A

¿Necesitas ayuda?

Si necesitas ayuda con Microchip ATSAMC20J17A haz una pregunta a continuación y otros usuarios te responderán




No categorizado Microchip Manuales

No categorizado Manuales

Últimos No categorizado Manuales