DMA Registers
659
SLAU356I – March 2015 – Revised June 2019
Copyright © 2015–2019, Texas Instruments Incorporated
DMA
11.3.9 DMA_STAT Register (offset = 1000h) [reset = 0h]
DMA Status Register. The read-only DMA_STAT register returns the status of the controller. You cannot
read this register when the controller is in the reset state.
Figure 11-19. DMA_STAT Register
31
30
29
28
27
26
25
24
TESTSTAT
RESERVED
r
r-0
23
22
21
20
19
18
17
16
RESERVED
DMACHANS
r-0
r
15
14
13
12
11
10
9
8
RESERVED
r-0
7
6
5
4
3
2
1
0
STATE
RESERVED
MASTEN
r
r-0
r
Table 11-23. DMA_STAT Register Field Descriptions
Bit
Field
Type
Reset
Description
31-28
TESTSTAT
R
X
To reduce the gate count you can configure the controller to exclude
the integration test logic.
2h-Fh = Reserved
0h = Controller does not include the integration test logic
1h = Controller includes the integration test logic
27-21
RESERVED
R
0h
Reserved
20-16
DMACHANS
R
X
Number of available DMA channels minus one.
0000b = Controller configured to use 1 DMA channel 0001b =
Controller configured to use 2 DMA channels 1110b = Controller
configured to use 31 DMA channels 1111b = Controller configured to
use 32 DMA channels
15-8
RESERVED
R
0h
Reserved
7-4
STATE
R
X
Current state of the control state machine.
State can be one of the following:
0b = idle
1b = reading channel controller data
10b = reading source data end pointer
11b = reading destination data end pointer
100b = reading source data
101b = writing destination data
110b = waiting for DMA request to clear
111b = writing channel controller data
1000b = stalled
1001b = done
1010b = peripheral scatter-gather transition
1011b = Reserved
1100b = Reserved
1101b = Reserved
1110b = Reserved
1111b = Reserved
3-1
RESERVED
R
0h
Reserved
0
MASTEN
R
X
Enable status of the controller
0b = Controller disabled
1b = Controller enabled