09.12.2012 Views

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

DMA controller (DMA) <strong>RM0090</strong><br />

9.3 DMA functional description<br />

9.3.1 General description<br />

Figure 24 shows the block diagram of a DMA.<br />

Figure 24. DMA block diagram<br />

DMA controller<br />

REQ_STR0_CH0<br />

REQ_STR0_CH1<br />

REQ_STR0_CH7<br />

REQ_STR1_CH0<br />

REQ_STR1_CH1<br />

REQ_STR1_CH7<br />

REQ_STR7_CH0<br />

REQ_STR7_CH1<br />

REQ_STR7_CH7<br />

Channel<br />

selection<br />

REQ_STREAM0<br />

REQ_STREAM1<br />

REQ_STREAM2<br />

REQ_STREAM3<br />

REQ_STREAM4<br />

REQ_STREAM5<br />

REQ_STREAM6<br />

REQ_STREAM7<br />

Arbiter<br />

The DMA controller performs direct memory transfer: as an AHB master, it can take the<br />

control of the AHB bus matrix to initiate AHB transactions.<br />

It can carry out the following transactions:<br />

● peripheral-to-memory<br />

● memory-to-peripheral<br />

● memory-to-memory<br />

The DMA controller provides two AHB master ports: the AHB memory port, intended to be<br />

connected to memories and the AHB peripheral port, intended to be connected to<br />

peripherals. However, to allow memory-to-memory transfers, the AHB peripheral port must<br />

also have access to the memories.<br />

The AHB slave port is used to program the DMA controller (it supports only 32-bit<br />

accesses).<br />

See Figure 25 and Figure 26 for the implementation of the system of two DMA controllers.<br />

213/1416 Doc ID 018909 Rev 3<br />

STREAM 0<br />

FIFO<br />

STREAM 0<br />

STREAM 1<br />

STREAM 1<br />

FIFO<br />

STREAM 2<br />

FIFO<br />

STREAM 2<br />

STREAM 3<br />

FIFO<br />

STREAM 3<br />

STREAM 4<br />

FIFO<br />

STREAM 4<br />

STREAM 5<br />

FIFO<br />

STREAM 5<br />

STREAM 6<br />

STREAM 6<br />

FIFO<br />

STREAM 7<br />

STREAM 7<br />

FIFO<br />

AHB slave<br />

programming<br />

interface<br />

AHB master<br />

AHB master<br />

Memory port<br />

Peripheral port<br />

Programming port<br />

ai15945

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!