Control Registers and Control Packets
766
SPNU563A – March 2018
Copyright © 2018, Texas Instruments Incorporated
Direct Memory Access Controller (DMA) Module
20.3.1.62 ECC Control Register (DMAPECR)
Figure 20-79. ECC Control Register (DMAPECR) [offset = 1A8h]
31
15
16
Reserved
ERRA
R-0
R/WP-0
15
9
8
7
4
3
0
Reserved
TEST
Reserved
ECC_ENA
R-0
R/WP-0
R-0
R/WP-5h
LEGEND: R/W = Read/Write; R = Read only; WP = Write in privilege mode only; -
n
= value after reset
Table 20-69. ECC Control Register (DMAPECR) Field Descriptions
Bit
Field
Value
Description
31-17
Reserved
0
Reads return 0. Writes have no effect.
16
ERRA
Error action.
0
If a parity error is detected on control packet x (x = 0, 1, ... n), then the enable/disable state of
control packet x remains unchanged.
1
If a parity error is detected on control packet x (x = 0, 1, ...n), then the DMA controller is disabled
immediately. If a frame on control packet x is processed at the time the parity error is detected, then
remaining elements of this frame will not be transferred anymore. The DMA will be disabled
regardless of whether the error was detected during a read to the control packet RAM performed by
the DMA state machine or by a different master.
15-9
Reserved
0
Reads return 0. Writes have no effect.
8
TEST
When this bit is set, the parity bits are memory-mapped to make them accessible by the CPU.
0
The parity bits are not memory-mapped.
1
The parity bits are memory-mapped.
7-4
Reserved
0
Reads return 0. Writes have no effect.
3-0
ECC_ENA
ECC enable. This bit field enables or disables the ECC check on read operations and the ECC
calculation on write operations. If ECC checking is enabled and an ECC double-bit error is detected
the DMA_UERR signal is activated.
5h
The ECC check is disabled.
All other
values
The ECC check is enabled.
Note: It is recommended to write Ah to enable ECC check, to guard against soft error from
flipping ECC_ENA to a disable state.