ATAVRTS2080B Atmel, ATAVRTS2080B Datasheet - Page 52

BOARD EVAL FOR ATTINY88 LIBRARY

ATAVRTS2080B

Manufacturer Part Number
ATAVRTS2080B
Description
BOARD EVAL FOR ATTINY88 LIBRARY
Manufacturer
Atmel
Series
QTouch™r
Datasheets

Specifications of ATAVRTS2080B

Sensor Type
Touch, Capacitive
Sensing Range
1 Rotor, 1 Slider, and 2 Buttons/Keys
Interface
Application Programming Interface (API)
Voltage - Supply
1.8 V ~ 5.5 V
Embedded
Yes, MCU, 8-Bit
Utilized Ic / Part
ATtiny88
Tool Type
Development Kit
Cpu Core
AVR 8 / 32
Data Bus Width
8 bit
Core Architecture
AVR
Silicon Manufacturer
Atmel
Silicon Core Number
ATtiny88
Silicon Family Name
AVR
Kit Contents
Board CD Docs
Development Tool Type
Hardware / Software - Eval/Demo Board
Rohs Compliant
Yes
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Sensitivity
-
Lead Free Status / Rohs Status
 Details
Other names
Q4359953
Number of SNS/SNSK port pairs needed
Choice of ports available for the design
Given the above requirements for the applications, the first step is to select the right library
variant required.
Step 1: Selecting the right library variant
Referring to the library selection guide, we see that there are a few variants of libraries supported
for AT91SAM3S. One library is for IAR and the other is for GNU. If we want to use IAR
Workbench, we use the library name: libsam3s-32qt-k-8rs-iar.a.
Step 2: Defining the constants / symbols in the project space
In IAR, change preprocessor options by adding the good defines:
Alternatively, you can have them defined in a separate header file.
Step3: Usage of library API’s
Now, you can use the touch API’s to create, initialize and perform touch sensing.
5.6.10.2.3 Checklist of items for integrating QTouch acquisition method libraries
The following is a checklist of items which needs to be ensured when integrating QTouch
acquisition method libraries
52
_TOUCH_ARM_
_QTOUCH_
SNS1=B
SNSK1=B
SNS2=A
SNSK2=A
QT_NUM_CHANNELS=32
_ROTOR_SLIDER_
QT_DELAY_CYCLES=10
_SNS1_SNSK1_SAME_PORT_
_SNS2_SNSK2_SAME_PORT_
The clock prescaler register (e.g. CLKPR, XDIV) needs to be configured correctly based
on the device selected. Some devices have clock frequency selection based on fuses. It
has to be ensured the fuses are set correctly in such cases.
It is recommended to disable PULL-UP resistor on all port pins used for touch sensing on
the device selected (e.g. PUD bit in MCUCR, SFIOR for a few of the tinyAVR and
megaAVR devices Please refer to the Data sheet of the selected device).
2 pairs
SNS/SNSK
Pair1 port
SNS/SNSK
Pair 2 port
SNS1 Port: A
SNSK1 Port: A
SNS2 Port: B
SNSK2 Port: B
frequency of 48Mhz
This is determined based
on the free PIO of the
board
The choice of ports for
the port pairs is limited
and can be found in the
section 5.7.1.5
8207J-AT42-02/11

Related parts for ATAVRTS2080B