ATxmega128D4 Atmel Corporation, ATxmega128D4 Datasheet - Page 134

no-image

ATxmega128D4

Manufacturer Part Number
ATxmega128D4
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of ATxmega128D4

Flash (kbytes)
128 Kbytes
Pin Count
44
Max. Operating Frequency
32 MHz
Cpu
8-bit AVR
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)
8
Eeprom (bytes)
2048
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
Part Number:
ATxmega128D4-AU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATxmega128D4-CU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATxmega128D4-CU
Manufacturer:
MICROCH
Quantity:
20 000
Part Number:
ATxmega128D4-MH
Manufacturer:
SIRENZA
Quantity:
7 600
Part Number:
ATxmega128D4-U
Manufacturer:
ATMEL
Quantity:
1
Part Number:
ATxmega128D4-U
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
12.8.5
8210B–AVR–04/10
Port override for Waveform Generation
Figure 12-14. Dual-slope Pulse Width Modulation
Using dual-slope PWM result in a lower maximum operation frequency compared to the single-
slope PWM operation.
The period register (PER) defines the PWM resolution. The minimum resolution is 2-bit
(PER=0x0003), and maximum resolution is 16-bit (PER=MAX).
The following equation can be used for calculate the exact resolution for dual-slope PWM
(R
The PWM frequency depends on the period setting (PER) and the Peripheral Clock frequency
(f
N represents the prescaler divider used (1, 2, 4, 8, 64, 256, 1024, or event channel n).
To make the waveform generation available on the port pins the corresponding port pin direction
must be set as output. The Timer/Counter will override the port pin values when the CC channel
is enabled (CCENx) and a waveform generation mode is selected.
Figure 12-15 on page 135
1, CC channel A to D will override port pin 0 to 3 output value (OUTxn) on the corresponding
port pin (Pxn). For Timer/Counter 1, CC channel A and B will override port pin 4 and 5. Enabling
inverted I/O on the port pin (INVENxn) inverts the corresponding WG output.
R
f
PWM_DS
PER
PWM_DS
PWM_DS
CNT
WG Output
), and can be calculated by the following equation:
=
):
=
------------------- -
2NPER
log
---------------------------------- -
f
PER
MAX
TOP
BOT
(
log
PER
2 ( )
+
1
)
shows the port override for Timer/Counter 0 and 1. For Timer/Counter
CCx
Period (T)
CCx=BOT
CCx=TOP
XMEGA D
"update"
"match"
134

Related parts for ATxmega128D4