background image

www.atmel.com

Timer/Counters

All  AVR  XMEGA  Timer/Counter  modules  are  16-bit  with  input 
 Capture  and  Pulse  Width  Modulation  (PWM)  functionality.  Up 
to 128 MHz PWM is possible from internal PLL by using the Hi-
Res extension. Using the Event System and Advanced Waveform 
 Extension (AWeX) and high resolution extention, implementation of 
advanced motor control (AC, BLDC, SR, and Stepper) and power 
control applications is made easy.

interfaces

AVR XMEGA comes with various interfaces that combined with DMA or Event System creates a powerful and 
fast communication platform.

USART

Full  asynchronous  and  clocked  synchronous 
 operation. 
• Fractional BAUD Rate Generator
• Master SPi mode 
• iRCOM module for irDA Compliance
• Up to 4 Mbps communication

SPI

Fast full duplex synchronous serial communication 
• Master and Slave Operation
• Up to 16 Mbps communication

EBI

External Bus interface, for easy access to
• SRAM
• SDRAM
• External peripherals (e.g. LCDs)
• Memory mapped devices

TWI (The Two Wire Interface) 

Bi-directional 2-wire bus communication, 
• i

2

C and SMBus compliant 

• Slave operates in all Sleep Modes
• Full 100 kHz and 400 kHz support
• Master and Slave operation

Normal mode of operation, counting up or down

CNT

BOT

MAX

"update"

PER

CNT written

DIRECTION

CNT

MAX

New Period written to

PERBUF that is higher

than current CNT

New Period written to

PERBUF that is lower

than current CNT

"update"

"write"

New PER is updated

with PERBUF value.

BOT

AWeX Dead Time Insertion (DTI) with separate high side and 

low side period

DTI CNT

T/C output

high side output

low side output

t

low side

t

high side

T

events

CNT

PER

BOT

Capture 0

Capture 1

Capture 2

Capture 3

"capture"

Period (T)

external signal

events

CNT

MAX

BOT

"capture"

Changing the period with buffering in dual slope mode

Input capture of pin change using the Event System

Frequency capture of an external signal

Timer/Counter

Base Counter

  Timer Period(PER)

  Counter(CNT)

  Logic Control

Compare/Capture Channel n

  Capture Control

Waveform

Generation

  Comparator

  Buffer

AWeX

Dead-Time

Insertion

  Pattern Generator

  Fault Protection

clk

PER4

H

i-R

es

Por

ts

clk

PER

Prescaler

Event System

Содержание ATxmega128A1

Страница 1: ... AVR XMEGA 8 16 bit High Performance Low Power Flash Microcontrollers AVR MicrocontrolleRS ...

Страница 2: ...MHz Event System and DMA controller High speed high resolution 12 bit ADC and DAC Crypto engine Timers Counters and fast communication interfaces Accurate and flexible Clock System with automatic clock failure protection AVR XMEGA Microcontollers Everywhere You Are tinyAVR megaAVR AVR XMEGA AP7 AVR32 UC3 AVR32 32 bit 8 16 bit 8 bit LESS POWER MORE PERFORMANCE Atmel is offering a wide range of AVR ...

Страница 3: ...ve Power Reduction Register technology In idle sleep mode all peripherals operate while the CPU is sleeping to reduce the power consumption with up to 50 while event handling communication and data input output still run In power save mode XMEGA uses 650nA to run the Real Time Counter and have full SRAM and register retention offering industry leading low power numbers Enabling Watchdog and Brown ...

Страница 4: ...e response time Up to 32 MIPS Single cycle execution Instruction set optimized for C 32x8 general purpose registers hardware multiplier Perfect for 8 16 bit applications Supports both AES and DES Reducing CPU time and power consumption Minimal CPU overhead for secure communication Off loads the CPU Saves power 4 channels Fast transfer between memories and peripherals 16 bit 32 bit cascaded Advance...

Страница 5: ...terrupt Controller Internal 32 kHz 2 MHz 32 MHz PLL 1 accuracy External oscillator or clock input Dynamic and safe clock switching 1x 2048x prescaling Short wake up from sleep modes FAST and SECURE Up to 384 KB FLASH Up to 4 KB EEPROM Up to 32 KB SRAM 12 bit resolution 2 Msps ADC 1 Msps DAC Analog Comparator USART SPI Two Wire Interface I2C compatible External Bus Interface Debugging Programming ...

Страница 6: ... send signals events directly to other peripherals without involving the CPU This ensures short and 100 predictable response time and at the same time offloads the CPU ALU 32 General Purpose Registers Central in the AVR architecture is the fast access register file with 32 x 8 bit general purpose working registers directly connected to the Arithmetic Logic Unit Within a single clock cycle the ALU ...

Страница 7: ... XMEGA for crypto function do not limit where you can sell your product Analog and Digital Conversion CPU load at various communication speeds SPI kbps with DMA No DMA UART kbps with DMA No DMA 250 0 8 19 2 0 1 500 0 16 116 2 0 3 1 1 30 921 6 1 26 2 1 57 1 2 1 34 4 2 98 2 1 58 MSB without DMA with DMA 100 CPU usage Communication rate ADC 12 bit Compare Function VREF DAC TEMP SENSOR 8 16 External P...

Страница 8: ...nal Clock Sources External Clock Sources High Frequency PLL Prescaler Block Reference clkCPU clkPER clkPER2 clkPER4 clkRTC High level Medium level Low level Program Flow and Interrupt execution 1 2 3 4 5 1 2 3 4 5 Main Main Main HOLD HOLD High level Medium level Program Flow and Interrupt execution 1 1 2 3 4 1 2 3 4 Main Main Main Medium level HOLD HOLD Input and Output AVR XMEGA offers flexible I...

Страница 9: ...ices TWI The Two Wire Interface Bi directional 2 wire bus communication I2 C and SMBus compliant Slave operates in all Sleep Modes Full 100 kHz and 400 kHz support Master and Slave operation Normal mode of operation counting up or down CNT BOT MAX update PER CNT written DIRECTION CNT MAX New Period written to PERBUF that is higher than current CNT New Period written to PERBUF that is lower than cu...

Страница 10: ...real time access to all peripheral registers data and program memories and support unlimited number of break points XMEGA has a fast serial programming interface for production line or in system programming Using a bootloader XMEGA can receive flash upgrades in the field through any interface without reset or halt of critical program execution The crypto engine and a serial number in each device e...

Страница 11: ...D3 F 64 4 2 4 4 50 5 18 Y 2 1 3 1x16 2 67 50 1 6 3 6 32 TQFP64 QFN64 ATxmega128D3 F 128 8 2 8 4 50 5 18 Y 2 1 3 1x16 2 67 50 1 6 3 6 32 TQFP64 QFN64 ATxmega192D3 F 192 8 2 16 4 50 5 18 Y 2 1 3 1x16 2 67 50 1 6 3 6 32 TQFP64 QFN64 ATxmega256D3 F 256 8 4 16 4 50 5 18 Y 2 1 3 1x16 2 67 50 1 6 3 6 32 TQFP64 QFN64 ATxmega16D4 F 16 4 1 2 4 34 4 14 Y 2 1 2 1x12 2 55 34 1 6 3 6 32 TQFP44 QFN44 ATxmega32D4...

Страница 12: ... of Atmel products EXCEPT AS SET FORTH IN ATMEL S TERMS AND CONDITIONS OF SALES LOCATED ON ATMEL S WEB SITE ATMEL ASSUMES NO LIABILITY WHAT SOEVER AND DISCLAIMS ANY EXPRESS IMPLIED OR STATUTORY WARRANTY RELATING TO ITS PRODUCTS INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTY OF MERCHANTABILITY FITNESS FOR A PARTICULAR PURPOSE OR NON INFRINGEMENT IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT I...

Отзывы: