English
Language : 

LM3S3749 Datasheet, PDF (304/898 Pages) Texas Instruments – Stellaris® LM3S3749 Microcontroller
Micro Direct Memory Access (μDMA)
Table 8-3 on page 304 shows the layout in memory of the channel control table. Each channel may
have one or two control structures in the contol table: a primary control structure and an optional
alternate control structure. The table is organized so that all of the primary entries are in the first
half of the table and all the alternate structures are in the second half of the table. The primary entry
is used for simple transfer modes where transfers can be reconfigured and restarted after each
transfer is complete. In this case, the alternate control structures are not used and therefore only
the first half of the table needs to be allocated in memory. The second half of the control table is
not needed and that memory can be used for something else. If a more complex transfer mode is
used such as ping-pong or scatter-gather, then the alternate control structure is also used and
memory space should be allocated for the entire table.
Any unused memory in the control table may be used by the application. This includes the control
structures for any channels that are unused by the application as well as the unused control word
for each channel.
Table 8-3. Control Structure Memory Map
Offset
0x0
0x10
...
0x1F0
0x200
0x210
...
0x3F0
Channel
0, Primary
1, Primary
...
31, Primary
0, Alternate
1, Alternate
...
31, Alternate
Table 8-4 on page 304 shows an individual control structure entry in the control table. Each entry
has a source and destination end pointer. These pointers point to the ending address of the transfer
and are inclusive. If the source or destination is non-incrementing (as for a peripheral register), then
the pointer should point to the transfer address.
Table 8-4. Channel Control Structure
Offset
0x000
0x004
0x008
0x00C
Description
Source End Pointer
Destination End Pointer
Control Word
Unused
The remaining part of the control structure is the control word. The control word contains the following
fields:
■ Source and destination data sizes
■ Source and destination address increment size
■ Number of transfers before bus arbitration
■ Total number of items to transfer
■ Useburst flag
304
November 17, 2011
Texas Instruments-Production Data