Read/Write Synchronization - Texas Instruments OMAP5910 Technical Reference Manual

Dual-core
Hide thumbs Also See for OMAP5910:
Table of Contents

Advertisement

DMA Controller
3.4.1.1
DMA Channel Read Synchronization vs. Write Synchronization
Table 3–4. Read/Write Synchronization
Channel
Synchronization Set by
DMA_CCR sync[4:0]
Not Equal to 00000
No
Yes
Yes
Yes
3-20
When a DMA channel is configured for synchronization, the synchronization
event is tied to the element read operation or the element write operation
depending on the source and destination ports. There are three general cases
(see Table 3–4):
-
Case 1: Source port is peripheral; destination port is SARAM, DARAM,
EMIF, or MPUI.
The channel waits for the synchronization event before reading from the
peripheral port into the channel FIFO. Once the FIFO has filled, the DMA
channel begins writing to the destination port to empty the FIFO (source
synchronization).
-
Case 2: Source port is SARAM, DARAM, EMIF, or MPUI; destination is
peripheral.
As soon as the channel is enabled (en bit set) a read from SARAM port is
performed to feed the channel FIFO. The FIFO writes to the peripheral port
do not begin until the synchronization event is detected. When the channel
is operating in frame-synchronization mode (DMA_CCR_FS = 1), several
prereads may occur to the point of filling the FIFO while the channel is
awaiting the synchronization event (destination synchronization).
-
Case 3: Source port is SARAM, DARAM, EMIF, or MPUI; destination port
is SARAM, DARAM, EMIF, or MPUI.
The channel waits for the synchronization event before reading from the
source port into the channel FIFO. Once the FIFO has filled, the DMA
channel begins writing to the destination port to empty the FIFO (source
synchronization).
Source Port
X
Peripheral port
SARAM, DARAM, EMIF,
or MPUI port
SARAM,DARAM, EMIF,
or MPUI port
Destination Port
X
SARAM,DARAM, EMIF,
or MPUI port
Peripheral port
SARAM,DARAM, EMIF,
or MPUI port
Synchronization
Event Triggers
No synchronization
Source read
Destination write
Source read

Advertisement

Table of Contents
loading

Table of Contents