MSC8113 Reference Manual, Rev. 0
16-34
Freescale Semiconductor
Direct Memory Access (DMA) Controller
3.
If
DONE
termination is used, no additional transfers occur since peripheral protocol
enforces the non-pipeline mode of DMA.
4.
DCPRAM[BD_SIZE] and DCPRAM[BD_ADDR] are updated to the correct size and
address of the buffer serviced by the DMA until the destination channel is terminated.
5.
If enabled, an interrupt is generated after the last data is written to the destination
channel.
6.
The DCHCR[ACTV] of the source is not cleared. You must clear the channel before
reusing it.
Because the DMA controller uses pipelining, up to 96 bytes can be transferred to the destination
channel after the source channel is terminated. Bus error also causes the DMA controller to
terminate all channels associated with the bus on which a transfer error is detected. The
DCHCR[ACTV] bit is immediately cleared, and the bus identification, the address, and the
number (RQNUM) of the channel that caused the error are captured in registers DTEAR,
PDMTEA/LDMTEA, and PDMTER/LDMTER, respectively. All other parameters, such as
DCPRAM[BD_ADDR] and DCPRAM[BD_SIZE], are undefined. Channels on the other bus
close normally, as if you deasserted their corresponding DCHCR[ACTV] bit.
Note:
If the FLS bit in the BD_ATTR is set, the DMA controller flushes the FIFO at the end
of a transfer and issues an interrupt. See the description of the FLS bit in Table 16-10
for details.
16.4 DMA Programming Model
Each DMA channel is triggered by a requestor, which can be any one of the following:
One of four external peripherals, selected by using the corresponding
DREQ[1–4]
A hardwired request associated with one of the M1 flyby counters
One of the internal requests used in memory-to-memory transactions.
Any request initiates one transaction for the channel. If the requestor is external, four request
modes are available:
Active high level-triggered mode
Active low level-triggered mode
Rising edge-triggered mode
Falling edge-triggered mode
The channels involved in the transfer must be configured for the given task via the DMA
registers. This section describes the DMA registers in detail.
DMA Channel Configuration Registers (DCHCR[0–15]), page 16-35
DMA Pin Configuration Register (DPCR), page 16-38
Summary of Contents for MSC8113
Page 1: ...MSC8113 Reference Manual Tri Core 16 Bit Digital Signal Processor MSC8113RM Rev 0 May 2008 ...
Page 20: ...MSC8113 Reference Manual Rev 0 xx Freescale Semiconductor Contents ...
Page 28: ...MSC8113 Reference Manual Rev 0 xxviii Freescale Semiconductor ...
Page 56: ...MSC8113 Reference Manual Rev 0 1 28 Freescale Semiconductor MSC8113 Overview ...
Page 76: ...MSC8113 Reference Manual Rev 0 2 20 Freescale Semiconductor SC140 Core Overview ...
Page 134: ...MSC8113 Reference Manual Rev 0 4 30 Freescale Semiconductor System Interface Unit SIU ...
Page 168: ...MSC8113 Reference Manual Rev 0 6 18 Freescale Semiconductor Boot Program ...
Page 180: ...MSC8113 Reference Manual Rev 0 7 12 Freescale Semiconductor Clocks ...
Page 260: ...MSC8113 Reference Manual Rev 0 8 80 Freescale Semiconductor Memory Map ...
Page 300: ...MSC8113 Reference Manual Rev 0 9 40 Freescale Semiconductor Extended Core ...
Page 304: ...MSC8113 Reference Manual Rev 0 10 4 Freescale Semiconductor MQBus and M2 Memory ...
Page 308: ...MSC8113 Reference Manual Rev 0 11 4 Freescale Semiconductor SQBus ...
Page 590: ...MSC8113 Reference Manual Rev 0 17 46 Freescale Semiconductor Interrupt Processing ...
Page 614: ...MSC8113 Reference Manual Rev 0 18 24 Freescale Semiconductor Debugging ...
Page 622: ...MSC8113 Reference Manual Rev 0 19 8 Freescale Semiconductor Internal Peripheral Bus IPBus ...
Page 724: ...MSC8113 Reference Manual Rev 0 21 32 Freescale Semiconductor UART ...
Page 920: ...MSC8113 Reference Manual Rev 0 25 150 Freescale Semiconductor Ethernet Controller ...
Page 1171: ...MSC8113 Reference Manual Rev 0 Freescale Semiconductor C 61 EF wait_rts P 01077FFC 9F rts 71 ...
Page 1172: ...MSC8113 Reference Manual Rev 0 C 62 Freescale Semiconductor MSC8113 Boot Code ...
Page 1202: ...MSC8113 Reference Manual Rev 0 Index 30 Freescale Semiconductor Index ...