ATAVRDISPLAYX Atmel, ATAVRDISPLAYX Datasheet - Page 70

no-image

ATAVRDISPLAYX

Manufacturer Part Number
ATAVRDISPLAYX
Description
KIT EVAL XMEGA DISPLAY
Manufacturer
Atmel
Datasheets

Specifications of ATAVRDISPLAYX

Main Purpose
*
Embedded
*
Utilized Ic / Part
*
Primary Attributes
*
Secondary Attributes
*
Silicon Manufacturer
Atmel
Silicon Family Name
ATxmega
Kit Contents
Board
Features
Temperature Sensor, Mono Speaker Via Audio Amplifier
Svhc
No SVHC (15-Dec-2010)
Core Architecture
AVR
Rohs Compliant
Yes
Lead Free Status / RoHS Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATAVRDISPLAYX
Manufacturer:
Atmel
Quantity:
135
6.7.2
8077H–AVR–12/09
QDEC Setup
Figure 6-4.
Figure 6-4
QDPH90 are the two quadrature signals. When QDPH90 leads QDPH0, the rotation is defined
as positive or forward. When QDPH0 leads QDPH90, the rotation is defined as negative, or
reverse. The concatenation of the two phase signals is called the quadrature state or the phase
state.
In order to know the absolute rotary displacement a third index signal (QDINDX) can be used.
This gives an indication once per revolution.
For a full QDEC setup the following is required:
The following procedure should be used for QDEC setup:
• I/O port pins - quadrature signal input
• The Event System - quadrature decoding
• A Timer/Counter - up, down and optional index count
• Choose two successive pins on a port as QDEC phase inputs.
• Set pin direction for QDPH0 and QDPH90 as input.
• Set pin configuration for QDPH0 and QDPH90 to low level sense.
• Select QDPH0 pin as multiplexer input for an event channel, n.
• Enable quadrature decoding and digital filtering in the Event Channel.
• Optional:
• Set quadrature decoding as event action for a Timer/Counter.
• Select Event Channel n as event source the Timer/Counter.
a. Setup QDEC index (QINDX).
b. Select a third pin for QINDX input.
c. Set pin direction for QINDX as input.
d. Set pin configuration for QINDX to sense both edges.
e. Select QINDX as multiplexer input for Event Channel n+1
f.
g. Select the Index Recognition mode for Event Channel n+1.
Set the Quadrature Index Enable bit in Event Channel n+1.
shows typical quadrature signals from a rotary encoder. The signals QDPH0 and
Quadrature signals from a rotary encoder
Forward Direction
Backward
Direction
QDPH90
QDPH90
QDINDX
QDINDX
QDPH0
QDPH0
00
01
1 cycle / 4 states
10
11
11
10
01
00
XMEGA A
70

Related parts for ATAVRDISPLAYX