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
165 of 464
NXP Semiconductors
UM10850
Chapter 12: LPC5410x DMA controller
12.7 Functional description
12.7.1 Trigger operation
A trigger of some kind is always needed to start a transfer on a DMA channel. This can be
a hardware or software trigger, and can be used in several ways.
If a channel is configured with the SWTRIG bit equal to 0, the channel can be later
triggered either by hardware or software. Software triggering is accomplished by writing a
1 to the appropriate bit in the SETTRIG register. Hardware triggering requires setup of the
HWTRIGEN, TRIGPOL, TRIGTYPE, and TRIGBURST fields in the CFG register for the
related channel. When a channel is initially set up, the SWTRIG bit in the XFERCFG
register can be set, causing the transfer to begin immediately.
Once triggered, transfer on a channel will be paced by DMA requests if the
PERIPHREQEN bit in the related CFG register is set. Otherwise, the transfer will proceed
at full speed.
The TRIG bit in the CTLSTAT register can be cleared at the end of a transfer, determined
by the value CLRTRIG (bit 0) in the XFERCFG register. When a 1 is found in CLRTRIG,
the trigger is cleared when the descriptor is exhausted.