09.12.2012 Views

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

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

Figure 26. System implementation of the two DMA controllers (STM32F42x and STM32F43x)<br />

To AHB2<br />

peripherals<br />

To AHB2<br />

peripherals<br />

AHB slave<br />

AHB slave<br />

DMA controller 2<br />

DMA request<br />

MAPPING<br />

DMA controller 1 AHB periph<br />

1. The DMA1 controller AHB peripheral port is not connected to the bus matrix like in the case of the DMA2 controller, thus<br />

only DMA2 streams are able to perform memory-to-memory transfers.<br />

9.3.2 DMA transactions<br />

A DMA transaction consists of a sequence of a given number of data transfers. The number<br />

of data items to be transferred and their width (8-bit, 16-bit or 32-bit) are softwareprogrammable.<br />

Each DMA transfer consists of three operations:<br />

● A loading from the peripheral data register or a location in memory, addressed through<br />

the DMA_SxPAR or DMA_SxM0AR register<br />

● A storage of the data loaded to the peripheral data register or a location in memory<br />

addressed through the DMA_SxPAR or DMA_SxM0AR register<br />

● A post-decrement of the DMA_SxNDTR register, which contains the number of<br />

transactions that still have to be performed<br />

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

Arbiter<br />

Arbiter<br />

FIFO<br />

FIFO<br />

AHB memory<br />

port<br />

AHB periph<br />

port<br />

AHB memory<br />

port<br />

port<br />

Bus Matrix<br />

(AHB multilayer)<br />

DCODE<br />

ICODE<br />

AHB-APB<br />

bridge2<br />

(dual AHB)<br />

AHB-APB<br />

bridge1<br />

(dual AHB)<br />

Flash<br />

memory<br />

112 KB SRAM<br />

16 KB SRAM<br />

64 KB SRAM<br />

AHB1 peripherals<br />

APB1<br />

APB2<br />

AHB2 peripherals<br />

External memory<br />

controller (FSMC)<br />

APB2<br />

peripherals<br />

APB1<br />

peripherals<br />

MS30437V1

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

Saved successfully!

Ooh no, something went wrong!