Texas Instruments Development Kit for TM4C129x,Tiva™ ARM® Cortex™ -M4 Microcontroller DK-TM4C129X DK-TM4C129X 데이터 시트

제품 코드
DK-TM4C129X
다운로드
페이지 2182
a.
Process the newly received data in buffer B or signal the buffer processing code that buffer
B has data available.
b. Reprogram the alternate channel control word at offset 0x288 according to Table
9.3.5
Configuring Channel Assignments
Channel assignments for each μDMA channel can be changed using the DMACHMAPn registers.
Each 4-bit field represents a μDMA channel.
Refer to Table 9-1 on page 709 for channel assignments.
For example, to use UART1 RX on channel 8, configure the
CH8SEL
bit in the DMACHMAP1 register
to be 0x1. If a peripheral is enabled on two different channels, the μDMA channel that has the highest
priority for that peripheral takes precedence. Thus, if UART 1 RX is enabled on both channel 8 and
channel 22, the UART1 RX channel 22 priority needs to be lowered before channel 8 UART1 RX
can be accessed by the μDMA.
9.4
Register Map
Table 9-13 on page 730 lists the μDMA channel control structures and registers. The channel control
structure shows the layout of one entry in the channel control table. The channel control table is
located in system memory, and the location is determined by the application, thus the base address
is n/a (not applicable) and noted as such above the register descriptions. In the table below, the
offset for the channel control structures is the offset from the entry in the channel control table. See
“Channel Configuration” on page 712 and Table 9-3 on page 713 for a description of how the entries
in the channel control table are located in memory. The μDMA register addresses are given as a
hexadecimal increment, relative to the μDMA base address of 0x400F.F000. Note that the μDMA
module clock must be enabled before the registers can be programmed (see page 401). There must
be a delay of 3 system clocks after the μDMA module clock is enabled before any μDMA module
registers are accessed.
Table 9-13. μDMA Register Map
See
page
Description
Reset
Type
Name
Offset
μDMA Channel Control Structure (Offset from Channel Control Table Base)
DMA Channel Source Address End Pointer
-
RW
DMASRCENDP
0x000
DMA Channel Destination Address End Pointer
-
RW
DMADSTENDP
0x004
DMA Channel Control Word
-
RW
DMACHCTL
0x008
μDMA Registers (Offset from μDMA Base Address)
DMA Status
0x001F.0000
RO
DMASTAT
0x000
DMA Configuration
-
WO
DMACFG
0x004
DMA Channel Control Base Pointer
0x0000.0000
RW
DMACTLBASE
0x008
DMA Alternate Channel Control Base Pointer
0x0000.0200
RO
DMAALTBASE
0x00C
DMA Channel Wait-on-Request Status
0x03C3.CF00
RO
DMAWAITSTAT
0x010
DMA Channel Software Request
-
WO
DMASWREQ
0x014
December 13, 2013
730
Texas Instruments-Advance Information
Micro Direct Memory Access (μDMA)