English
Language : 

LM3S5G51 Datasheet, PDF (369/1266 Pages) Texas Instruments – Stellaris® LM3S5G51 Microcontroller
Stellaris® LM3S5G51 Microcontroller
Each time this happens, an interrupt is generated, and the processor can reload the control structure
for the just-completed transfer. Data flow can continue indefinitely this way, using the primary and
alternate control structures to switch back and forth between buffers as the data flows to or from
the peripheral.
Refer to Figure 8-2 on page 369 for an example showing operation in Ping-Pong mode.
Figure 8-2. Example of Ping-Pong μDMA Transaction
µDMA Controller
Primary Structure
SOURCE
DEST
CONTROL
Unused
transfers using BUFFER A
BUFFER A
Cortex-M3 Processor
Peripheral/µDMA Interrupt
Alternate Structure
SOURCE
DEST
CONTROL
Unused
transfers using BUFFER B
BUFFER B
Peripheral/µDMA Interrupt
Primary Structure
SOURCE
DEST
CONTROL
Unused
transfers using BUFFER A
BUFFER A
Peripheral/µDMA Interrupt
Alternate Structure
SOURCE
DEST
CONTROL
Unused
transfers using BUFFER B
BUFFER B
· Process data in BUFFER A
· Reload primary structure
· Process data in BUFFER B
· Reload alternate structure
· Process data in BUFFER B
· Reload alternate structure
January 23, 2012
369
Texas Instruments-Production Data