SPRUJ79 November 2024 F29H850TU
Table 13-6 lists the memory-mapped registers for the RTDMA_REGS registers. All register offset addresses not listed in Table 13-6 should be considered as reserved locations and the register contents should not be modified.
Offset | Acronym | Register Name | Protection |
---|---|---|---|
0h | DMACTRL | DMA Control Register | LOCK: DMACFG_LOCK.LOCK |
4h | DEBUGCTRL | Debug Control Register | LOCK: DMACFG_LOCK.LOCK |
8h | REVISION | RTDMA Revision Control Register | |
14h | SWPRI1 | Software Priority Configuration Register 1 | LOCK: DMACFG_LOCK.LOCK |
18h | SWPRI2 | Software Priority Configuration Register 2 | LOCK: DMACFG_LOCK.LOCK |
1Ch | PRIORITYSTAT | Priority Status Register | |
40h | DMACFG_LOCK | Channel Configuration Temporary Lock | COMMIT: DMACFG_COMMIT.COMMIT |
44h | DMACFG_COMMIT | Channel Configuration Permanent Commit |
Complex bit access types are encoded to fit into small table cells. Table 13-7 shows the codes that are used for access types in this section.
Access Type | Code | Description |
---|---|---|
Read Type | ||
R | R | Read |
R-0 | R -0 | Read Returns 0s |
Write Type | ||
W | W | Write |
W1S | W 1S | Write 1 to set |
Reset or Default Value | ||
-n | Value after reset or the default value | |
Register Array Variables | ||
i,j,k,l,m,n | When these variables are used in a register name, an offset, or an address, they refer to the value of a register array where the register is part of a group of repeating registers. The register groups form a hierarchical structure and the array is represented with a formula. | |
y | When this variable is used in a register name, an offset, or an address it refers to the value of a register array. |
DMACTRL is shown in Figure 13-10 and described in Table 13-8.
Return to the Summary Table.
DMA Control Register
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | |||||||
R-0h | |||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | PRIORITYSEL | ||||||
R-0h | R/W-0h | ||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
RESERVED | |||||||
R-0h | |||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | PRIORITYRESET | HARDRESET | |||||
R-0h | R-0/W1S-0h | R-0/W1S-0h | |||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-17 | RESERVED | R | 0h | Reserved |
16 | PRIORITYSEL | R/W | 0h | The priority select bit: 0: the round-robin priority scheme. 1: Software configurable priority for channels, Priority of the channels is set in the SWPRI reg Reset type: SYSRSn |
15-2 | RESERVED | R | 0h | Reserved |
1 | PRIORITYRESET | R-0/W1S | 0h | If PRIORITYSEL==0: The priority reset bit resets the round-robin state machine when a 1 is written. Service starts from the first enabled channel. Writes of 0 are ignored and this bit always reads back a 0. If PRIORITYSEL==1: The SWPRI register is reset to it's reset value when a 1 is written. All channels will be of priority '1'. Writes of 0 are ignored and this bit always reads back a 0. Reset type: SYSRSn |
0 | HARDRESET | R-0/W1S | 0h | Writing a 1 to the hard reset bit resets the whole DMA and aborts any current access (similar to applying a device reset). Writes of 0 are ignored and this bit always reads back a 0. For a soft reset, a bit is provided for each channel to perform a gentler reset. Refer to the channel control registers. When writing to this bit, there is a one cycle delay before it takes effect. Hence, a one-cycle delay (such as a NOP instruction) is required in software before attempting to access any other DMA register. Reset type: SYSRSn |
DEBUGCTRL is shown in Figure 13-11 and described in Table 13-9.
Return to the Summary Table.
Debug Control Register
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | |||||||
R-0h | |||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | |||||||
R-0h | |||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
FREE | RESERVED | ||||||
R/W-0h | R-0h | ||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | |||||||
R-0h | |||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-16 | RESERVED | R | 0h | Reserved |
15 | FREE | R/W | 0h | Emulation Control This bit specifies the action when an emulation halt event occurs. Reset type: SYSRSn 0h (R/W) = The DMA completes the current read-write operation, then halts. 1h (R/W) = The DMA continues running during an emulation halt. |
14-0 | RESERVED | R | 0h | Reserved |
REVISION is shown in Figure 13-12 and described in Table 13-10.
Return to the Summary Table.
RTDMA Revision Control Register
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | REV | TYPE | |||||||||||||||||||||||||||||
R-0h | R-0h | R-0h | |||||||||||||||||||||||||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-16 | RESERVED | R | 0h | Reserved |
15-8 | REV | R | 0h | RTDMA Revision. To allow documentation of differences between revisions. First version is labeled as 00h. Reset type: SYSRSn |
7-0 | TYPE | R | 0h | RTDMA Type. Set to 0 for this type Reset type: SYSRSn |
SWPRI1 is shown in Figure 13-13 and described in Table 13-11.
Return to the Summary Table.
Software Priority Configuration Register 1
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
CH8PRIORITY | CH7PRIORITY | CH6PRIORITY | CH5PRIORITY | ||||||||||||
R/W-1h | R/W-1h | R/W-1h | R/W-1h | ||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
CH4PRIORITY | CH3PRIORITY | CH2PRIORITY | CH1PRIORITY | ||||||||||||
R/W-1h | R/W-1h | R/W-1h | R/W-1h | ||||||||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-28 | CH8PRIORITY | R/W | 1h | DMA Channel Priority Configuration: Priority can be set to any value of 0x0 to 0x3 Default value is 1 and value of 0 is treated as a special condition during arbitration 0000: Priority 0 0001: Priority 1 0010: Priority 2 0011: Priority 3 0100 to 1111: Reserved Reset type: SYSRSn |
27-24 | CH7PRIORITY | R/W | 1h | DMA Channel Priority Configuration: Priority can be set to any value of 0x0 to 0x3 Default value is 1 and value of 0 is treated as a special condition during arbitration 0000: Priority 0 0001: Priority 1 0010: Priority 2 0011: Priority 3 0100 to 1111: Reserved Reset type: SYSRSn |
23-20 | CH6PRIORITY | R/W | 1h | DMA Channel Priority Configuration: Priority can be set to any value of 0x0 to 0x3 Default value is 1 and value of 0 is treated as a special condition during arbitration 0000: Priority 0 0001: Priority 1 0010: Priority 2 0011: Priority 3 0100 to 1111: Reserved Reset type: SYSRSn |
19-16 | CH5PRIORITY | R/W | 1h | DMA Channel Priority Configuration: Priority can be set to any value of 0x0 to 0x3 Default value is 1 and value of 0 is treated as a special condition during arbitration 0000: Priority 0 0001: Priority 1 0010: Priority 2 0011: Priority 3 0100 to 1111: Reserved Reset type: SYSRSn |
15-12 | CH4PRIORITY | R/W | 1h | DMA Channel Priority Configuration: Priority can be set to any value of 0x0 to 0x3 Default value is 1 and value of 0 is treated as a special condition during arbitration 0000: Priority 0 0001: Priority 1 0010: Priority 2 0011: Priority 3 0100 to 1111: Reserved Reset type: SYSRSn |
11-8 | CH3PRIORITY | R/W | 1h | DMA Channel Priority Configuration: Priority can be set to any value of 0x0 to 0x3 Default value is 1 and value of 0 is treated as a special condition during arbitration 0000: Priority 0 0001: Priority 1 0010: Priority 2 0011: Priority 3 0100 to 1111: Reserved Reset type: SYSRSn |
7-4 | CH2PRIORITY | R/W | 1h | DMA Channel Priority Configuration: Priority can be set to any value of 0x0 to 0x3 Default value is 1 and value of 0 is treated as a special condition during arbitration 0000: Priority 0 0001: Priority 1 0010: Priority 2 0011: Priority 3 0100 to 1111: Reserved Reset type: SYSRSn |
3-0 | CH1PRIORITY | R/W | 1h | DMA Channel Priority Configuration: Priority can be set to any value of 0x0 to 0x3 Default value is 1 and value of 0 is treated as a special condition during arbitration 0000: Priority 0 0001: Priority 1 0010: Priority 2 0011: Priority 3 0100 to 1111: Reserved Reset type: SYSRSn |
SWPRI2 is shown in Figure 13-14 and described in Table 13-12.
Return to the Summary Table.
Software Priority Configuration Register 2
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | RESERVED | RESERVED | RESERVED | ||||||||||||
R/W-1h | R/W-1h | R/W-1h | R/W-1h | ||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | RESERVED | CH10PRIORITY | CH9PRIORITY | ||||||||||||
R/W-1h | R/W-1h | R/W-1h | R/W-1h | ||||||||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-28 | RESERVED | R/W | 1h | Reserved |
27-24 | RESERVED | R/W | 1h | Reserved |
23-20 | RESERVED | R/W | 1h | Reserved |
19-16 | RESERVED | R/W | 1h | Reserved |
15-12 | RESERVED | R/W | 1h | Reserved |
11-8 | RESERVED | R/W | 1h | Reserved |
7-4 | CH10PRIORITY | R/W | 1h | DMA Channel Priority Configuration: Priority can be set to any value of 0x0 to 0x3 Default value is 1 and value of 0 is treated as a special condition during arbitration 0000: Priority 0 0001: Priority 1 0010: Priority 2 0011: Priority 3 0100 to 1111: Reserved Reset type: SYSRSn |
3-0 | CH9PRIORITY | R/W | 1h | DMA Channel Priority Configuration: Priority can be set to any value of 0x0 to 0x3 Default value is 1 and value of 0 is treated as a special condition during arbitration 0000: Priority 0 0001: Priority 1 0010: Priority 2 0011: Priority 3 0100 to 1111: Reserved Reset type: SYSRSn |
PRIORITYSTAT is shown in Figure 13-15 and described in Table 13-13.
Return to the Summary Table.
Priority Status Register
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | |||||||
R-0h | |||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | |||||||
R-0h | |||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
RESERVED | ACTIVESTS_SHADOW | ||||||
R-0h | R-0h | ||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | ACTIVESTS | ||||||
R-0h | R-0h | ||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-13 | RESERVED | R | 0h | Reserved |
12-8 | ACTIVESTS_SHADOW | R | 0h | Active Channel Status Shadow These bits are only meaningful when Channel in high-priority mode (SWPRIx[CHyPRIORITY]==0). When such high priority channel is serviced, the ACTIVESTS bits are copied to the shadow bits and indicate which channel was interrupted by high priority channel. When high priority channel service is completed, the shadow bits are copied back to the ACTIVESTS bits. If this bit field is zero or the same as the ACTIVESTS bit field, then no channel is pending due to a high priority Channel interrupt. 00000: No channel is active 00001: CH1 is active 00010: CH2 is active ... ... 01010: CH10 is active 01011: Reserved ... ... 11111: Reserved Reset type: SYSRSn |
7-5 | RESERVED | R | 0h | Reserved |
4-0 | ACTIVESTS | R | 0h | Active Channel Status These bits indicate which channel (if any) is currently active or performing a transfer. 00000: No channel is active 00001: CH1 is active 00010: CH2 is active ... ... 01010: CH10 is active 01011: Reserved ... ... 11111: Reserved Reset type: SYSRSn |
DMACFG_LOCK is shown in Figure 13-16 and described in Table 13-14.
Return to the Summary Table.
Channel Configuration Temporary Lock
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | |||||||
R-0h | |||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | |||||||
R-0h | |||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
RESERVED | |||||||
R-0h | |||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | LOCK | ||||||
R-0h | R/W-0h | ||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-1 | RESERVED | R | 0h | Reserved |
0 | LOCK | R/W | 0h | When set, locks configuration registers in the RTDMA_REGS aperture DMACTL,DEBUGCTL, SWPRI1/2 (writes will have no effect on them). This bit can only be modified if DMACFG_COMMIT.COMMIT is cleared. 0 : Unlocked 1 : Locked Reset type: SYSRSn |
DMACFG_COMMIT is shown in Figure 13-17 and described in Table 13-15.
Return to the Summary Table.
Channel Configuration Permanent Commit
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | |||||||
R-0h | |||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | |||||||
R-0h | |||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
RESERVED | |||||||
R-0h | |||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | COMMIT | ||||||
R-0h | R/W1S-0h | ||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-1 | RESERVED | R | 0h | Reserved |
0 | COMMIT | R/W1S | 0h | When set, locks the DMACFG_LOCK register. This bit cannot be cleared, except by reset. 0 : DMACFG_LOCK is modifiable 1 : DMACFG_LOCK is committed permanently Reset type: SYSRSn |