DocID025202 Rev 7
184/1080
RM0365
Direct memory access controller (DMA)
204
12.4
DMA functional description
The block diagram is shown in the following figure.
Figure 23. DMA block diagram
1. DMA2, SPI1, TIM3, TIM4, UART4, UART5 and ADC2 are not available in STM32F302x6/8 devices.
2. I2C3 is not available in STM32F302xB/C devices.
The DMA controller performs direct memory transfer by sharing the system bus with the
Cortex-M4
®
F core. The DMA request may stop the CPU access to the system bus for some
bus cycles, when the CPU and DMA are targeting the same destination (memory or
peripheral). The bus matrix implements round-robin scheduling, thus ensuring at least half
of the system bus bandwidth (both to memory and peripheral) for the CPU.
12.4.1 DMA
transactions
After an event, the peripheral sends a request signal to the DMA Controller. The DMA
controller serves the request depending on the channel priorities. As soon as the DMA
Controller accesses the peripheral, an Acknowledge is sent to the peripheral by the DMA
Controller. The peripheral releases its request as soon as it gets the Acknowledge from the
DMA Controller. Once the request is de-asserted by the peripheral, the DMA Controller
)/,7)
&K
&K
&K
&RUWH[0
'&RGH65$0.
'0$
,&RGH
'&RGH
6\VWHP
'0$UHTXHVW
$3%
)ODVK
%ULGJH
%ULGJH
'$&
3:5
%.3
E[&$1
86%
,&
,&
8$57
8$57
86$57
86$57
6<6&)*
86$57
63,
$3%
'0$UHTXHVW
069
%XVPDWUL[
'0$
'0$
5HVHW FORFNFRQWURO
5&&
$+%6\VWHPEXV
7,0
7,0
7,0
7,0
*3,2$%&'()
$'&V
&5&
76
&K
&K
&K
'0$
63,,6
63,,6
,:'*
::'*
57&
7,0
7,0
7,0
7,0
,&