ATxmega32D4 Atmel Corporation, ATxmega32D4 Datasheet - Page 48
![no-image](/images/manufacturer_photos/0/0/79/atmel_corporation_sml.jpg)
ATxmega32D4
Manufacturer Part Number
ATxmega32D4
Description
Manufacturer
Atmel Corporation
Specifications of ATxmega32D4
Flash (kbytes)
32 Kbytes
Pin Count
44
Max. Operating Frequency
32 MHz
Cpu
8-bit AVR
# Of Touch Channels
16
Hardware Qtouch Acquisition
No
Max I/o Pins
34
Ext Interrupts
34
Usb Speed
No
Usb Interface
No
Spi
4
Twi (i2c)
2
Uart
2
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Channels
12
Adc Resolution (bits)
12
Adc Speed (ksps)
200
Analog Comparators
2
Resistive Touch Screen
No
Temp. Sensor
Yes
Crypto Engine
No
Sram (kbytes)
4
Eeprom (bytes)
1024
Self Program Memory
YES
Dram Memory
No
Nand Interface
No
Picopower
Yes
Temp. Range (deg C)
-40 to 85
I/o Supply Class
1.6 to 3.6
Operating Voltage (vcc)
1.6 to 3.6
Fpu
No
Mpu / Mmu
no / no
Timers
4
Output Compare Channels
14
Input Capture Channels
14
Pwm Channels
14
32khz Rtc
Yes
Calibrated Rc Oscillator
Yes
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
ATxmega32D4-AU
Manufacturer:
Atmel
Quantity:
123
Part Number:
ATxmega32D4-AU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Company:
Part Number:
ATxmega32D4-CU
Manufacturer:
Maxim
Quantity:
71
Company:
Part Number:
ATxmega32D4-MH
Manufacturer:
Atmel
Quantity:
1 910
Company:
Part Number:
ATxmega32D4-MH
Manufacturer:
Atmel
Quantity:
1 704
Part Number:
ATxmega32D4-MH
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
5.6
5.7
5.7.1
8210B–AVR–04/10
Filtering
Quadrature Decoder
Quadrature Operation
datasheet for each peripheral, but unless stated, an event lasts for one peripheral clock cycle
only.
It takes maximum two clock cycles from an event is generated until the event actions in other
peripherals is triggered. It takes one clock cycle from the event happens until it is registered by
the event routing network on the first positive clock edge. It takes an additional clock cycle to
route the event through the event channel to the event user.
Each event channel includes a digital filter. When this is enabled for an event channel, an event
must be sampled with the same value for configurable number of system clock cycles before it is
accepted. This is primarily intended for pin change events.
The Event System includes one Quadrature Decoder (QDEC). This enables the Event System
to decode quadrature input on I/O pins, and send data events that a Timer/Counter can decode
to trigger the appropriate event action: count up, count down or index/reset.
48
how they can be generated. The QDEC and related features, control and status register are
available for event channel 0.
Table 5-2.
A quadrature signal is characterized by having two square waves phase shifted 90 degrees rela-
tive to each other. Rotational movement can be measured by counting the edges of the two
waveforms. The phase relationship between the two square waves determines the direction of
rotation.
Figure 5-4.
STROBE
summarizes which quadrature decoder data events are available, how they are decoded, and
0
0
1
1
DATA
Quadrature Decoder Data Events
Quadrature signals from a rotary encoder
Forward Direction
0
1
0
1
Backward
Direction
Data Event User
No Event
Index/Reset
Count Down
Count Up
QDPH90
QDPH90
QDINDX
QDINDX
QDPH0
QDPH0
00
01
1 cycle / 4 states
10
11
11
10
Signaling Event User
No Event
Signaling Event
Signaling Event
No Event
01
00
XMEGA D
Table 5-2 on page
48