
UM10850
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2016. All rights reserved.
User manual
Rev. 2.4 — 13 September 2016
143 of 464
12.1 How to read this chapter
The DMA controller is available on all parts.
12.2 Features
•
22 channels, 21 of which are connected to peripheral DMA requests. These come
from the USART, SPI, and I
2
C peripherals. One spare channels has no DMA request
connected, and can be used for functions such as memory-to-memory moves.
•
DMA operations can be triggered by on- or off-chip events. Each DMA channel can
select one trigger input from 20 sources. Trigger sources include ADC interrupts,
Timer interrupts, pin interrupts, and the SCT DMA request lines.
•
Priority is user selectable for each channel (up to eight priority levels).
•
Continuous priority arbitration.
•
Address cache with four entries (each entry is a pair of addresses).
•
Efficient use of data bus.
•
Supports single transfers up to 1,024 words.
•
Address increment options allow packing and/or unpacking data.
12.3 Basic configuration
Configure the DMA as follows:
Use the AHBCLKCTRL0 register (
) to enable the clock to the DMA registers
interface.
•
Clear the DMA peripheral reset using the PRESETCTRL0 register (
•
The DMA interrupt is connected to slot #3 in the NVIC.
•
Each DMA channel has one DMA request line associated and can also select one of
20 input triggers through the input mux registers DMA_ITRIG_INMUX[0:21].
•
Trigger outputs are connected to DMA_INMUX_INMUX[0:3] as inputs to DMA
triggers.
For details on the trigger input and output multiplexing, see
UM10850
Chapter 12: LPC5410x DMA controller
Rev. 2.4 — 13 September 2016
User manual