Table 34. Packing/Unpacking And Endian Behavior (Bit Pinc = Minc = 1); Table 35. Restriction On Ndt Versus Psize And Msize - ST STM32F423 Reference Manual

Advanced arm-based 32-bit mcus
Hide thumbs Also See for STM32F423:
Table of Contents

Advertisement

RM0430

Table 34. Packing/unpacking and endian behavior (bit PINC = MINC = 1)

Number
AHB
AHB
memory
peripheral
items to
port
port
transfer
width
width
8
8
8
16
8
32
16
8
16
16
16
32
32
8
32
16
32
32
Note:
Peripheral port may be the source or the destination (it could also be the memory source in
the case of memory-to-memory transfer).
PSIZE, MSIZE and NDT[15:0] have to be configured so as to ensure that the last transfer
will not be incomplete. This can occur when the data width of the peripheral port (PSIZE
bits) is lower than the data width of the memory port (MSIZE bits). This constraint is
summarized in
PSIZE[1:0] of DMA_SxCR
00 (8-bit)
00 (8-bit)
01 (16-bit)
-
of data
Memory
Memory port
transfer
address / byte
-
number
(NDT)
1
0x0 / B0[7:0]
2
0x1 / B1[7:0]
-
4
0x2 / B2[7:0]
3
0x3 / B3[7:0]
4
1
0x0 / B0[7:0]
2
0x1 / B1[7:0]
-
2
0x2 / B2[7:0]
3
0x3 / B3[7:0]
4
1
0x0 / B0[7:0]
2
0x1 / B1[7:0]
-
1
0x2 / B2[7:0]
3
0x3 / B3[7:0]
4
1
0x0 / B1|B0[15:0]
-
4
2
0x2 / B3|B2[15:0]
1
0x0 / B1|B0[15:0]
-
2
0x2 / B1|B0[15:0]
2
1
0x0 / B1|B0[15:0]
-
1
0x2 / B3|B2[15:0]
2
1
0x0 / B3|B2|B1|B0[31:0] 1
-
4
1
0x0 /B3|B2|B1|B0[31:0]
-
2
-
1
1
0x0 /B3|B2|B1|B0 [31:0] 1
Table
35.

Table 35. Restriction on NDT versus PSIZE and MSIZE

MSIZE[1:0] of DMA_SxCR
01 (16-bit)
10 (32-bit)
10 (32-bit)
Direct memory access controller (DMA)
Peripheral
transfer
lane
number
1
2
3
4
1
2
1
1
2
3
4
1
2
1
2
3
4
1
2
RM0430 Rev 8
Peripheral port address / byte lane
PINCOS = 1
PINCOS = 0
0x0 / B0[7:0]
0x0 / B0[7:0]
0x4 / B1[7:0]
0x1 / B1[7:0]
0x8 / B2[7:0]
0x2 / B2[7:0]
0xC / B3[7:0]
0x3 / B3[7:0]
0x0 / B1|B0[15:0]
0x0 / B1|B0[15:0]
0x4 / B3|B2[15:0]
0x2 / B3|B2[15:0]
0x0 /
0x0 /
B3|B2|B1|B0[31:0]
B3|B2|B1|B0[31:0]
0x0 / B0[7:0]
0x0 / B0[7:0]
0x4 / B1[7:0]
0x1 / B1[7:0]
0x8 / B2[7:0]
0x2 / B2[7:0]
0xC / B3[7:0]
0x3 / B3[7:0]
0x0 / B1|B0[15:0]
0x0 / B1|B0[15:0]
0x4 / B3|B2[15:0]
0x2 / B3|B2[15:0]
0x0 /
0x0 /
B3|B2|B1|B0[31:0]
B3|B2|B1|B0[31:0]
0x0 / B0[7:0]
0x0 / B0[7:0]
0x4 / B1[7:0]
0x1 / B1[7:0]
0x8 / B2[7:0]
0x2 / B2[7:0]
0xC / B3[7:0]
0x3 / B3[7:0]
0x0 / B1|B0[15:0]
0x0 / B1|B0[15:0]
0x4 / B3|B2[15:0]
0x2 / B3|B2[15:0]
0x0 /B3|B2|B1|B0
0x0 /
[31:0]
B3|B2|B1|B0[31:0]
NDT[15:0] of DMA_SxNDTR
must be a multiple of 2
must be a multiple of 4
must be a multiple of 2
225/1324
248

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Table of Contents