Direct memory access controller (DMA)
11.6.4
DMA channel x number of data to transfer register (DMA_CNDTRx)
Address offset: 0x0C + 0x14 * (x - 1), (x = 1 to 7)
Reset value: 0x0000 0000
31
30
29
28
Res.
Res.
Res.
Res.
15
14
13
12
rw
rw
rw
rw
Bits 31:18 Reserved, must be kept at reset value.
Bits 17:0 NDT[17:0]: number of data to transfer (0 to 2
This field is updated by hardware when the channel is enabled:
If this field is zero, no transfer can be served whatever the channel status (enabled or not).
Note: This field is set and cleared by software (privileged software if the channel is in
11.6.5
DMA channel x peripheral address register (DMA_CPARx)
Address offset: 0x10 + 0x14 * (x - 1), (x = 1 to 7)
Reset value: 0x0000 0000
31
30
29
28
rw
rw
rw
rw
15
14
13
12
rw
rw
rw
rw
378/1306
27
26
25
Res.
Res.
Res.
11
10
9
rw
rw
rw
–
It is decremented after each single DMA 'read followed by write' transfer, indicating
the remaining amount of data items to transfer.
–
It is kept at zero when the programmed amount of data to transfer is reached, if the
channel is not in circular mode (CIRC = 0 in the DMA_CCRx register).
–
It is reloaded automatically by the previously programmed value, when the transfer
is complete, if the channel is in circular mode (CIRC = 1).
privileged mode).
It must not be written when the channel is enabled (EN = 1).
It is read-only when the channel is enabled (EN = 1).
27
26
25
rw
rw
rw
11
10
9
rw
rw
rw
24
23
22
Res.
Res.
Res.
Res.
8
7
6
NDT[15:0]
rw
rw
rw
18
- 1)
24
23
22
PA[31:16]
rw
rw
rw
8
7
6
PA[15:0]
rw
rw
rw
RM0461 Rev 5
21
20
19
18
Res.
Res.
Res.
5
4
3
2
rw
rw
rw
rw
21
20
19
18
rw
rw
rw
rw
5
4
3
2
rw
rw
rw
rw
RM0461
17
16
NDT[17:16]
rw
rw
1
0
rw
rw
17
16
rw
rw
1
0
rw
rw
Need help?
Do you have a question about the STM32WLEx and is the answer not in the manual?