Figure 31. Fifo Structure - ST STM32F40 Series Reference Manual

Hide thumbs Also See for STM32F40 Series:
Table of Contents

Advertisement

RM0090
The structure of the FIFO differs depending on the source and destination data widths, and
is described in

Figure 31. FIFO structure

B15 B14 B13 B12 B11 B10 B9 B8 B7 B6 B5 B4 B3 B2 B1 B0
B15 B14 B13 B12 B11 B10 B9 B8 B7 B6 B5 B4 B3 B2 B1 B0
FIFO threshold and burst configuration
Caution is required when choosing the FIFO threshold (bits FTH[1:0] of the DMA_SxFCR
register) and the size of the memory burst (MBURST[1:0] of the DMA_SxCR register): The
content pointed by the FIFO threshold must exactly match to an integer number of memory
burst transfers. If this is not in the case, a FIFO error (flag FEIFx of the DMA_HISR or
DMA_LISR register) will be generated when the stream is enabled, then the stream will be
automatically disabled. The allowed and forbidden configurations are described in the
Table 41: FIFO threshold
Table 41.
MSIZE
Byte
Figure 31: FIFO
structure.
Source: byte
Source: byte
Source: half-word
H7 H6 H5 H4 H3 H2 H1 H0
byte lane 3
Source: half-word
H7 H6 H5 H4 H3 H2 H1 H0
configurations.
FIFO threshold configurations
FIFO level MBURST = INCR4
1/4
1 burst of 4 beats
1/2
2 bursts of 4 beats
3/4
3 bursts of 4 beats
Full
4 bursts of 4 beats
Doc ID 018909 Rev 4
4 words
Empty
1/4
1/2
byte lane 3
B15
B 11
byte lane 2
B14
B10
B13
B9
byte lane 1
byte lane 0
B12
B8
W3
W2
W1
4 words
Empty
1/4
1/2
byte lane 3
B15
B 11
byte lane 2
B14
B10
H7
H5
H3
B13
B9
byte lane 1
byte lane 0
B12
B8
H6
H4
H2
4 words
Empty
1/4
1/2
byte lane 3
H7
H5
byte lane 2
byte lane 1
H6
H4
byte lane 0
W3
W2
W1
4-words
Empty
1/4
1/2
B15
B 11
byte lane 2
B14
B10
H7
H5
H3
B13
B9
byte lane 1
B12
B8
byte lane 0
H6
H4
H2
MBURST = INCR8
forbidden
1 burst of 8 beats
forbidden
2 bursts of 8 beats
DMA controller (DMA)
3/4
Full
B7
B3
Destination: word
B6
B2
W3, W2, W1, W0
B5
B1
B4
B0
W0
3/4
Full
B7
B3
Destination: half-word
B6
B2
H1
H7, H6, H5, H4, H3, H2, H1, H0
B5
B1
B4
B0
H0
3/4
Full
Destination: word
H3
H1
W3, W2, W1, W0
H2
H0
W0
3/4
Full
B7
B3
Destination: byte
B6
B2
H1
B15 B14 B13 B12 B11 B10 B9 B8
B5
B1
B7 B6 B5 B4 B3 B2 B1 B0
B4
B0
H0
MBURST = INCR16
forbidden
1 burst of 16 beats
ai15951
228/1422

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32F40 Series and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Stm32f41 seriesStm32f42 seriesStm32f43 seriesRm0090

Table of Contents

Save PDF