English
Language : 

RM0319 Datasheet, PDF (353/368 Pages) STMicroelectronics – SPEAr320S architecture and functionality
RM0319
DMA controller (DMAC)
Table 124. DMAC signal interface
Group
Signal name
Direction
Size
(bit)
Description
DMACBREQ Input
16
DMACLBREQ Input
16
DMA request
DMACSREQ Input
16
DMACLSREQ Input
16
DMACCLR
Output
16
DMA response
DMACTC
Output
16
DMACINTERR Output
1
Interrupt
request
DMACINTTC Output
1
DMACINTR
Output
1
AHB Master #1 -
AHB Master #2 -
AHB Slave
-
Input/Output -
Input/Output -
Input/Output -
DMA burst transfer request
DMA last burst transfer request
DMA single transfer request
DMA last single transfer request
DMA request clear
DMA terminal count (transaction complete)
DMA error interrupt request
DMA terminal count interrupt request
DMA interrupt request. This signal
combines the DMACINTERR and
DMACINTTC requests.
See AMBA specification
See AMBA specification
See AMBA specification
36.3.2
36.3.3
AHB slave interface
The AHB slave interface block allows to connect the DMAC to the AMBA AHB bus.
In particular, the AHB slave interface properly decodes read and write commands on the
AHB bus providing access to DMAC memory-mapped registers for configuration purposes.
It is worth mentioning that the AHB slave and the two AHB masters use the same clock,
HCLK, which means that they are all synchronous.
AHB master interfaces
The DMAC contains two full independent AHB masters for data transfer. This feature allows,
for example, DMAC to transfer data directly from the memory connected to AHB port #1 to
any AHB peripheral connected to AHB port #2. Besides, it enables transactions between the
DMAC and any APB peripheral to occur independently of transactions on AHB bus 1.
Each AHB master is capable of dealing with all types of AHB transactions, including:
● Split, retry and error responses from AHB slaves. If a peripheral performs a split or
retry, the DMAC stalls and waits until the transaction can complete.
● Locked transfers for source and destination of each stream.
● Setting of protection bits for transfers on each stream.
The two AHB masters are connected to buses of the same width (the default is a 32-bit bus).
However, source and destination transfers can be with different widths, and can be the same
width or narrower than the physical bus width. In this case, the DMAC packs or unpacks
data as appropriate.
Doc ID 022640 Rev 3
353/368