
DR
AFT
DR
AFT
DRAFT
DR
D
RAFT
DRAFT
DRA
FT DRAF
D
RAFT DRAFT DRAFT DRAFT DRAFT D
DRAFT
D
RAFT DRA
FT DRAFT DRAFT DRAFT DRA
UM10360_0
© NXP B.V. 2009. All rights reserved.
User manual
Rev. 00.06 — 5 June 2009
562 of 808
NXP Semiconductors
UM10360
Chapter 31: LPC17xx General Purpose DMA (GPDMA) controller
•
Programmable DMA burst size. The DMA burst size can be programmed to more
efficiently transfer data.
•
Internal four-word FIFO per channel.
•
Supports 8-bit, 16-bit, and 32-bit wide transactions.
•
Big-endian and little-endian support. The DMA Controller defaults to little-endian
mode on reset.
•
An interrupt to the processor can be generated on a DMA completion or when a DMA
error has occurred.
•
Raw interrupt status. The DMA error and DMA count raw interrupt status can be read
prior to masking.
•
DMA can operate in Sleep mode. (Note that in Sleep mode the GPDMA cannot
access the flash memory).
4.
Functional description
This section describes the major functional blocks of the DMA Controller.
4.1 DMA controller functional description
The DMA Controller enables peripheral-to-memory, memory-to-peripheral,
peripheral-to-peripheral, and memory-to-memory transactions. Each DMA stream
provides unidirectional serial DMA transfers for a single source and destination. For
example, a bidirectional port requires one stream for transmit and one for receive. The
source and destination areas can each be either a memory region or a peripheral, and
can be accessed through the AHB master.
shows a block diagram of the
DMA Controller.
The functions of the DMA Controller are described in the following sections.
Fig 132. DMA controller block diagram
GPDMA
AHB SLAVE
INTERFACE
CONTROL
LOGIC AND
REGISTERS
DMA
REQUEST
AND
RESPONSE
INTERFACE
CHANNEL
LOGIC AND
REGISTERS
INTERRUPT
REQUEST
DMA
requests
DMA
responses
DMA
Interrupts
AHB BUS
AHB
MASTER
INTERFACE
AHB BUS