Datasheet
2018 Microchip Technology Inc. Data Sheet Complete DS40002059A-page 22
ATxmega32E5/16E5/8E5
9. EDMA – Enhanced DMA Controller
9.1 Features
The EDMA Controller allows data transfers with minimal CPU intervention
from data memory to data memory
from data memory to peripheral
from peripheral to data memory
from peripheral to peripheral
Four peripheral EDMA channels with separate:
transfer triggers
interrupt vectors
addressing modes
data matching
Two peripheral channels can be combined to one standard channel with separate:
transfer triggers
interrupt vectors
addressing modes
data search
Programmable channel priority
From 1byte to 128KB of data in a single transaction
Up to 64K block transfer with repeat
1 or 2 bytes burst transfers
Multiple addressing modes
Static
Increment
Optional reload of source and destination address at the end of each
Burst
Block
Transaction
Optional Interrupt on end of transaction
Optional connection to CRC Generator module for CRC on EDMA data
9.2 Overview
The four-channel enhanced direct memory access (EDMA) controller can transfer data between memories and peripherals,
and thus offload these tasks from the CPU. It enables high data transfer rates with minimum CPU intervention, and frees up
CPU time. The four EDMA channels enable up to four independent and parallel transfers.
The EDMA controller can move data between SRAM and peripherals, between SRAM locations and directly between
peripheral registers. With access to all peripherals, the EDMA controller can handle automatic transfer of data to/from com-
munication modules. The EDMA controller can also read from EEPROM memory.
Data transfers are done in continuous bursts of 1 or 2 bytes. They build block transfers of configurable size from 1 byte to
64KB. Repeat option can be used to repeat once each block transfer for single transactions up to 128KB. Source and des-
tination addressing can be static or incremental. Automatic reload of source and/or destination addresses can be done
after each burst or block transfer, or when a transaction is complete. Application software, peripherals, and events can trig-
ger EDMA transfers.
The four EDMA channels have individual configuration and control settings. This includes source, destination, transfer trig-
gers, and transaction sizes. They have individual interrupt settings. Interrupt requests can be generated when a transaction
is complete or when the EDMA controller detects an error on an EDMA channel.