Atmel QTouch Library User Guide

Atmel QTouch Library User Guide Atmel QTouch Library User Guide

prochild.co.kr
from prochild.co.kr More from this publisher
11.07.2015 Views

Note: When using the IAR IDE / compiler tool chain, the map file generated for the application willlist total CSTACK & RSTACK requirements. Please adjust the total CSTACK and RSTACKvalues in the IAR project options to be greater than the values listed in the map file. Refer tosection 5.6.11.4 which illustrates how to change the settings in IAR IDE.Table 5 : Stack requirements of the QTouch capacitive sensing libraries when using IAR IDEprojectsQTouch Acquisition method Libraries : Stack usage for IAR compiler tool chainConfiguration CSTACK size RSTACK sizeSingle port pair - only keys ( 4 / 8 channels ) 0x30 0x28Single port pair – keys/ rotors/ sliders (4/8 channel) 0x40 0x2CTwo port pairs - only keys keys (16 channel) 0x50 0x28Two port pairs – keys/ rotors/ sliders (16 channel) 0x60 0x2CTable 6 : Stack requirements of the QMatrix capacitive sensing libraries when using IAR IDEprojectsQMatrix Acquisition method Libraries : Stack usage for IAR compiler tool chainNumber ofchannelsConfiguration CSTACK size RSTACK size4 ONLY KEYS 0x20 0x204 KEYS/ROTOR/SLIDER 0x30 0x208 ONLY KEYS 0x25 0x208 KEYS/ROTOR/SLIDER 0x35 0x2016 ONLY KEYS 0x30 0x2016 KEYS/ROTOR/SLIDER 0x40 0x2032 ONLY KEYS 0x35 0x2532 KEYS/ROTOR/SLIDER 0x45 0x2556 ONLY KEYS 0x45 0x2556 KEYS/ROTOR/SLIDER 0x55 0x2564 ONLY KEYS 0x45 0x2564 KEYS/ROTOR/SLIDER 0x55 0x25Example project filesThe QTouch library is shipped with various example projects to illustrate the usage of the touchAPI’s to add touch sensing to an application across various devices688207K-AT42-09/11

Sample applications are also provided for the following kits1 TS2080A, QT600_ATtiny88_QT8, QT600_ATxmega128a1_QT16 : QTouch Technologyevaluation Kits2 TS2080B, QT600_ATmega324_QM64 : QMatrix Technology evaluation KitsNote: Example projects must be built in the installed folder, and if moved/copied elsewhere thenpaths must be edited appropriately.Using the Sample projectsThe sample applications are shipped with the complete set of files required to configure, build anddownload the application for both IAR-workbench and AVR Studio IDE.Since more than one device may use the same library (applicable for QTouch acquisition methodlibraries), example project files and applications have been provided only for select devices whichuse these libraries.Example applications for QTouch acquisition method librariesSelecting the right configurationEach example project for a device can support multiple configurations (i.e a. keys only, b. withrotors and sliders c.16 channel etc…). The configuration sets determine the configuration optionsfor using the library and also the right library variant to link with the project.The configuration sets for IAR IDE are named according to the convention listed belowConfiguration set for IAR IDENaming convention : g_qt_k_rsField ValuesCommentsNamevP v1, v3, xmega, uc3a, VersionP of the core AVR device supported by this library variantuc3b, uc3cQ 1 to 6 GroupQ of the core AVR device supported by this library variantCH 4, 8, 12, 16, 32 Total number of channels supported by each library.RS 1, 2, 3, 4, 8 Total number of rotors / sliders supported for the respective channelcounts mentioned in previous row.The configuration sets for AVR Studio IDE are named according to the convention listed belowConfiguration set for AVR Studio IDEg_qt_k_rsField ValuesCommentsNameavrP avr25, avr4, avr 51, avr5, VersionP of the core AVR device supported by this libraryxmega, uc3a, uc3b, uc3c variantQ 1 to 6 GroupQ of the core AVR device supported by this libraryvariantCH 4, 8, 12, 16, 32 Total number of channels supported by each library.RS 1, 2, 3, 4, 8 Total number of rotors / sliders supported for the respectivechannel counts mentioned in previous row.Depending on your need, you need to select the right configuration required and build the project.69

Sample applications are also provided for the following kits1 TS2080A, QT600_ATtiny88_QT8, QT600_ATxmega128a1_QT16 : <strong>QTouch</strong> Technologyevaluation Kits2 TS2080B, QT600_ATmega324_QM64 : QMatrix Technology evaluation KitsNote: Example projects must be built in the installed folder, and if moved/copied elsewhere thenpaths must be edited appropriately.Using the Sample projectsThe sample applications are shipped with the complete set of files required to configure, build anddownload the application for both IAR-workbench and AVR Studio IDE.Since more than one device may use the same library (applicable for <strong>QTouch</strong> acquisition methodlibraries), example project files and applications have been provided only for select devices whichuse these libraries.Example applications for <strong>QTouch</strong> acquisition method librariesSelecting the right configurationEach example project for a device can support multiple configurations (i.e a. keys only, b. withrotors and sliders c.16 channel etc…). The configuration sets determine the configuration optionsfor using the library and also the right library variant to link with the project.The configuration sets for IAR IDE are named according to the convention listed belowConfiguration set for IAR IDENaming convention : g_qt_k_rsField ValuesCommentsNamevP v1, v3, xmega, uc3a, VersionP of the core AVR device supported by this library variantuc3b, uc3cQ 1 to 6 GroupQ of the core AVR device supported by this library variantCH 4, 8, 12, 16, 32 Total number of channels supported by each library.RS 1, 2, 3, 4, 8 Total number of rotors / sliders supported for the respective channelcounts mentioned in previous row.The configuration sets for AVR Studio IDE are named according to the convention listed belowConfiguration set for AVR Studio IDEg_qt_k_rsField ValuesCommentsNameavrP avr25, avr4, avr 51, avr5, VersionP of the core AVR device supported by this libraryxmega, uc3a, uc3b, uc3c variantQ 1 to 6 GroupQ of the core AVR device supported by this libraryvariantCH 4, 8, 12, 16, 32 Total number of channels supported by each library.RS 1, 2, 3, 4, 8 Total number of rotors / sliders supported for the respectivechannel counts mentioned in previous row.Depending on your need, you need to select the right configuration required and build the project.69

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!