Texas Instruments MSP430x1xx User Manual page 174

Texas instruments modules and peripherals user's guide
Table of Contents

Advertisement

Single Transfer
In single transfer mode, each byte/word transfer requires a separate trigger.
The single transfer state diagram is shown in Figure 8−3.
The DMAxSZ register is used to define the number of transfers to be made.
The DMADSTINCRx and DMASRCINCRx bits select if the destination
address and the source address are incremented or decremented after each
transfer. If DMAxSZ = 0, no transfers occur.
The DMAxSA, DMAxDA, and DMAxSZ registers are copied into temporary
registers. The temporary values of DMAxSA and DMAxDA are incremented
or decremented after each transfer. The DMAxSZ register is decremented
after each transfer. When the DMAxSZ register decrements to zero it is
reloaded from its temporary register and the corresponding DMAIFG flag is
set. When DMADTx = 0, the DMAEN bit is cleared automatically when
DMAxSZ decrements to zero and must be set again for another transfer to
occur.
In repeated single transfer mode, the DMA controller remains enabled with
DMAEN = 1, and a transfer occurs every time a trigger occurs.
8-6

Advertisement

Table of Contents
loading

Table of Contents