ATxmega32D4 Atmel Corporation, ATxmega32D4 Datasheet - Page 122
![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
8210B–AVR–04/10
Figure 12-1. 16-bit Timer/Counter and Closely Related Peripheral
The Timer/Counter consists of a Base Counter and a set of Compare or Capture (CC) channels.
The Base Counter can be used to count clock cycles or events. It has direction control and
period setting that can be used for timing. The CC channels can be used together with the Base
Counter to do compare match control, waveform generation (FRQ or PWM) or various input cap-
ture operations.
Compare and capture cannot be done at the same time, i.e. a single Timer/Counter cannot
simultaneously perform both waveform generation and capture operation. When used for com-
pare operations, the CC channels is referred to as compare channels. When used for capture
operations, the CC channels are referred to as capture channels.
The Timer/Counter comes in two versions: Timer/Counter 0 that has four CC channels, and
Timer/Counter 1 that has two CC channels. Hence, all registers and register bits that are related
to CC channel 3 and CC channel 4 will only exist in Timer/Counter 0.
All Timer/Counter units are connected to the common peripheral clock prescaler, the Event Sys-
tem, and their corresponding general purpose I/O port.
Some of the Timer/Counters will have Extensions. The function of the Timer/Counter Extensions
can only be performed by these Timers. The Advanced Waveform Extension (AWeX) can be
used for Dead Time Insertion, Pattern Generation and Fault Protection. The AWeX Extension is
only available for Timer/Counter 0.
Waveform outputs from a Timer/Counter can optionally be passed through to a Hi-Resolution
(Hi-Res) Extension before forwarded to the port. This extension, running at up to four times the
Peripheral Clock frequency, to enhance the resolution by four times. All Timer/Counters will
have the Hi-Res Extention.
Timer/Counter
Base Counter
Compare/Capture Channel A
Timer Period
Comparator
Compare/Capture Channel B
Counter
Buffer
Compare/Capture Channel C
Compare/Capture Channel D
Control Logic
Generation
Waveform
Capture
Control
Prescaler
System
AWeX
Event
Dead-Time
Insertion
DTI
clk
PER
Generation
Protection
Pattern
Fault
XMEGA D
clk
PER4
122