SPRUJ79 November 2024 F29H850TU , F29H859TU-Q1
Table 13-42 lists the memory-mapped registers for the RTDMA_CH_REGS registers. All register offset addresses not listed in Table 13-42 should be considered as reserved locations and the register contents should not be modified.
Offset | Acronym | Register Name | Protection |
---|---|---|---|
0h | MODE | Mode Register | LOCK: CHCFG_LOCK.LOCK |
4h | CONTROL | Control Register | |
8h | BURST_SIZE | Burst Size Register | LOCK: CHCFG_LOCK.LOCK |
Ch | BURST_COUNT | Burst Count Register | |
10h | SRC_BURST_STEP | Source Burst Step Register | LOCK: CHCFG_LOCK.LOCK |
14h | DST_BURST_STEP | Destination Burst Step Register | LOCK: CHCFG_LOCK.LOCK |
18h | TRANSFER_SIZE | Transfer Size Register | LOCK: CHCFG_LOCK.LOCK |
1Ch | TRANSFER_COUNT | Transfer Count Register | |
20h | SRC_TRANSFER_STEP | Source Transfer Step Register | LOCK: CHCFG_LOCK.LOCK |
24h | DST_TRANSFER_STEP | Destination Transfer Step Register | LOCK: CHCFG_LOCK.LOCK |
28h | SRC_WRAP_SIZE | Source Wrap Size Register | LOCK: CHCFG_LOCK.LOCK |
2Ch | SRC_WRAP_COUNT | Source Wrap Count Register | |
30h | SRC_WRAP_STEP | Source Wrap Step Register | LOCK: CHCFG_LOCK.LOCK |
34h | DST_WRAP_SIZE | Destination Wrap Size Register | LOCK: CHCFG_LOCK.LOCK |
38h | DST_WRAP_COUNT | Destination Wrap Count Register | |
3Ch | DST_WRAP_STEP | Destination Wrap Step Register | LOCK: CHCFG_LOCK.LOCK |
40h | SRC_BEG_ADDR_SHADOW | Source Begin Address Shadow Register | LOCK: CHCFG_LOCK.LOCK |
44h | SRC_ADDR_SHADOW | Source Address Shadow Register | LOCK: CHCFG_LOCK.LOCK |
48h | SRC_BEG_ADDR_ACTIVE | Source Begin Address Active Register | |
4Ch | SRC_ADDR_ACTIVE | Source Address Active Register | |
50h | DST_BEG_ADDR_SHADOW | Destination Begin Address Shadow Register | LOCK: CHCFG_LOCK.LOCK |
54h | DST_ADDR_SHADOW | Destination Address Shadow Register | LOCK: CHCFG_LOCK.LOCK |
58h | DST_BEG_ADDR_ACTIVE | Destination Begin Address Active Register | |
5Ch | DST_ADDR_ACTIVE | Destination Address Active Register | |
80h | CHSECLAT1 | Channel Security Details Latch Register | |
84h | CHSECLAT2 | Channel Security Details Latch Register | |
A0h | BURST_INTF_CTRL | Burst Interface Control Register | LOCK: CHCFG_LOCK.LOCK |
100h | CHCFG_LOCK | Channel Configuration Temporary Lock | COMMIT: CHCFG_COMMIT.COMMIT |
104h | CHCFG_COMMIT | Channel Configuration Permanent Commit |
Complex bit access types are encoded to fit into small table cells. Table 13-43 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. |
MODE is shown in Figure 13-38 and described in Table 13-44.
Return to the Summary Table.
Mode Register
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | |||||||
R-0h | |||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | WRT_DATASIZE | CHINTE | DATASIZE | RESERVED | |||
R-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | |||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
RESERVED | CONTINUOUS | ONESHOT | CHINTMODE | PERINTE | OVRINTE | RESERVED | |
R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R-0h | |
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
PERINTSEL | |||||||
R/W-0h | |||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-22 | RESERVED | R | 0h | Reserved |
21-20 | WRT_DATASIZE | R/W | 0h | Write Data Size Mode Bit This bit determines whether the DMA channel transfers on the Data Write port are 8 bits, 16 bits, 32 bits or 64 of data per read/write operation. Regardless of this setting, all data lengths and offsets in other DMA registers refer to 8- bit words(Bytes). The pointer step increments must be configured to accommodate 8, 16, 32, 64-bit words. 00: DATASIZE_8 01: DATASIZE_16 10: DATASIZE_32 11: DATASIZE_64 DATASIZE >= WR_DATASIZE. i.e. DST size to be integral multiple of SRC. If DATASIZE_64 then, WR_DATASIZE should be configured to WR_DATASIZE_64 or WR_DATASIZE_32 or WR_DATASIZE_16 or WR_DATASIZE_8 If DATASIZE_32 then, WR_DATASIZE should be configured to WR_DATASIZE_32 or WR_DATASIZE_16 or WR_DATASIZE_8 if DATA_SIZE_16 then, WR_DATASIZE should be configured to WR_DATASIZE_16 or WR_DATASIZE_8 If DATA_SIZE_8 then WR_DATASIZE should be configured to WR_DATASIZE_8 Reset type: SYSRSn |
19 | CHINTE | R/W | 0h | Channel Interrupt Enable Bit This bit enables the DMA channel's CPU interrupt. Reset type: SYSRSn 0h (R/W) = Interrupt disabled 1h (R/W) = Interrupt enabled |
18-17 | DATASIZE | R/W | 0h | Data Size Mode Bit This bit determines whether the DMA channel transfers 8 bits, 16 bits, 32 bits or 64 of data per read/write operation. Regardless of this setting, all data lengths and offsets in other DMA registers refer to 8- bit words (Bytes). The pointer step increments must be configured to accommodate 8, 16, 32, 64-bit words. 00: DATASIZE_8 01: DATASIZE_16 10: DATASIZE_32 11: DATASIZE_64 Reset type: SYSRSn |
16 | RESERVED | R/W | 0h | Reserved |
15 | RESERVED | R/W | 0h | Reserved |
14 | CONTINUOUS | R/W | 0h | Continuous Mode Bit If this bit is set to 1, then the channel re-initializes when TRANSFER_COUNT is zero and waits for the next event trigger. Otherwise, the DMA stops and clears the RUNSTS bit. Reset type: SYSRSn |
13 | ONESHOT | R/W | 0h | One Shot Mode If this bit is set to 1, each peripheral event trigger causes the channel to perform an entire transfer. Otherwise, the channel only performs one burst per trigger. Reset type: SYSRSn |
12 | CHINTMODE | R/W | 0h | Channel Interrupt Generation Mode This bit specifies when the DMA channel generates a CPU interrupt for a transfer. Reset type: SYSRSn 0h (R/W) = Generate interrupt at beginning of new transfer 1h (R/W) = Generate interrupt at end of transfer. |
11 | PERINTE | R/W | 0h | Peripheral Event Trigger Enable This bit enables peripheral event triggers on the DMA channel. Reset type: SYSRSn 0h (R/W) = Peripheral event trigger disabled. Neither the selected peripheral nor software can start a DMA burst. 1h (R/W) = Peripheral event trigger enabled. |
10 | OVRINTE | R/W | 0h | Overflow Interrupt Enable The bit determines whether the DMA module generates a CPU interrupt when it detects an overflow event. Reset type: SYSRSn 0h (R/W) = Overflow interrupt disabled 1h (R/W) = Overflow interrupt enabled |
9-8 | RESERVED | R | 0h | Reserved |
7-0 | PERINTSEL | R/W | 0h | Peripheral Event Trigger Source Select Selects the Trigger and Sync Source of the DMA Channel 0: No Peripheral Connection 1..239: Details in DMA trigger select mux of the device 240: CH1 Interrupt (Reserved for CH1) 241: CH2 Interrupt (Reserved for CH2) 242: CH3 Interrupt (Reserved for CH3) ... ... 249: CH10 Interrupt (Reserved for CH10) 250: Reserved ... ... 255: Reserved Reset type: SYSRSn |
CONTROL is shown in Figure 13-39 and described in Table 13-45.
Return to the Summary Table.
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 |
RESERVED | OVRFLG | RUNSTS | BURSTSTS | TRANSFERSTS | RESERVED | RESERVED | PERINTFLG |
R-0h | R-0h | R-0h | R-0h | R-0h | R-0h | R-0h | R-0h |
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ERRCLR | RESERVED | RESERVED | PERINTCLR | PERINTFRC | SOFTRESET | HALT | RUN |
R-0/W1S-0h | R-0/W1S-0h | R-0/W1S-0h | R-0/W1S-0h | R-0/W1S-0h | R-0/W1S-0h | R-0/W1S-0h | R-0/W1S-0h |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-15 | RESERVED | R | 0h | Reserved |
14 | OVRFLG | R | 0h | Overflow Flag This bit indicates that a peripheral event trigger was received while PERINTFLG was already set. It can be cleared by writing to the ERRCLR bit. Reset type: SYSRSn 0h (R/W) = No overflow detected 1h (R/W) = Overflow detected |
13 | RUNSTS | R | 0h | Run Status Flag This bit indicates that the DMA channel is ready to respond to peripheral event triggers. This bit is set when a 1 is written to the RUN bit. It is cleared when a transfer completes (TRANSFER_COUNT = 0) and corresponding Write access is complete and continuous mode is disabled, or when the HARDRESET, SOFTRESET, or HALT bit is set. Reset type: SYSRSn 0h (R/W) = The channel is disabled 1h (R/W) = The channel is enabled |
12 | BURSTSTS | R | 0h | Burst Status Flag This bit is set when a DMA burst begins. The BURST_COUNT is set to the BURST_SIZE. This bit is cleared when BURST_COUNT reaches zero and corresponding Write access is complete, or when the HARDRESET or SOFTRESET bit is set. Reset type: SYSRSn 0h (R/W) = No burst activity 1h (R/W) = The DMA is currently servicing or suspending a burst transfer from this channel |
11 | TRANSFERSTS | R | 0h | Transfer Status Flag This bit is set when a DMA transfer begins. The address registers are copied to the shadow set and the TRANSFER_COUNT is set to the TRANSFER_SIZE. This bit is cleared when TRANSFER_COUNT reaches zero and corresponding Write access is complete, or when the HARDRESET or SOFTRESET bit is set. Reset type: SYSRSn 0h (R/W) = No transfer activity 1h (R/W) = The channel is currently in the middle of a transfer regardless of whether a burst of data is actively being transferred or not |
10 | RESERVED | R | 0h | Reserved |
9 | RESERVED | R | 0h | Reserved |
8 | PERINTFLG | R | 0h | Peripheral Event Trigger Flag This bit indicates whether a peripheral event trigger has arrived. This bit is automatically cleared when the first burst transfer begins. Reset type: SYSRSn 0h (R/W) = Waiting for event trigger 1h (R/W) = Event trigger pending |
7 | ERRCLR | R-0/W1S | 0h | Clear Error Writing a 1 to this bit will clear the OVRFLG bit. This is normally done when initializing the DMA module or if an overflow condition is detected. If an overflow event occurs at the same time this bit is set, the overrun has priority and the OVRFLG bit is set. [Note] When Overflow and perintflg are set for a channel and at the same time trigger is asserted for the same channel and when its ERRCLR bit is also set to 1, the overflow flag will be de-asserted. Reset type: SYSRSn |
6 | RESERVED | R-0/W1S | 0h | Reserved |
5 | RESERVED | R-0/W1S | 0h | Reserved |
4 | PERINTCLR | R-0/W1S | 0h | Clear Peripheral Event Trigger Writing a 1 to this bit clears PERINTFLG, which cancels a pending event trigger. This is normally done when initializing the DMA module. If an event trigger arrives at the same time this bit is set, the trigger has priority and PERINTFLG is set. Reset type: SYSRSn |
3 | PERINTFRC | R-0/W1S | 0h | Force Peripheral Event Trigger If the PERINTE bit of the MODE register is set, writing a 1 to this bit sets PERINTFLG, which triggers a DMA burst. This bit can be used to start a DMA transfer in software. Reset type: SYSRSn |
2 | SOFTRESET | R-0/W1S | 0h | Channel Soft Reset Writing a 1 to this bit places the channel into its default state after the current read/write access has completed: RUNSTS = 0 TRANSFERSTS = 0 BURSTSTS = 0 BURST_COUNT = 0 TRANSFER_COUNT = 0 SRC_WRAP_COUNT = 0 DST_WRAP_COUNT = 0 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 |
1 | HALT | R-0/W1S | 0h | Halt Channel Writing a 1 to this bit halts the DMA channel in its current state after any ongoing read/write access has completed. Reset type: SYSRSn |
0 | RUN | R-0/W1S | 0h | Run Channel Writing a 1 to this bit enables the DMA channel and sets the RUNSTS bit to 1. This bit is also used to resume after a channel halt. The RUN bit is typically used to start the DMA channel after configuration. The channel will then wait for the first peripheral event trigger (PERINTFLG == 1) to start a burst. Reset type: SYSRSn |
BURST_SIZE is shown in Figure 13-40 and described in Table 13-46.
Return to the Summary Table.
Burst Size Register
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | |||||||||||||||
R-0h | |||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | BURSTSIZE | ||||||||||||||
R-0h | R/W-0h | ||||||||||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-8 | RESERVED | R | 0h | Reserved |
7-0 | BURSTSIZE | R/W | 0h | These bits specify the burst size in 8-bit words. The actual size is equal to BURSTSIZE + 1. Reset type: SYSRSn |
BURST_COUNT is shown in Figure 13-41 and described in Table 13-47.
Return to the Summary Table.
Burst Count Register
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | |||||||||||||||
R-0h | |||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | BURSTCOUNT | ||||||||||||||
R-0h | R-0h | ||||||||||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-8 | RESERVED | R | 0h | Reserved |
7-0 | BURSTCOUNT | R | 0h | These bits indicate the number of words left in the current burst. Reset type: SYSRSn 0h (R/W) = 0 word left in a burst 1h (R/W) = 1 word left in a burst 2h (R/W) = 2 word left in a burst 3h (R/W) = 3 word left in a burst 4h (R/W) = 4 word left in a burst 5h (R/W) = 5 word left in a burst 6h (R/W) = 6 word left in a burst 7h (R/W) = 7 word left in a burst 8h (R/W) = 8 word left in a burst 9h (R/W) = 9 word left in a burst Ah (R/W) = 10 word left in a burst Bh (R/W) = 11 word left in a burst Ch (R/W) = 12 word left in a burst Dh (R/W) = 13 word left in a burst Eh (R/W) = 14 word left in a burst Fh (R/W) = 15 word left in a burst 10h (R/W) = 16 word left in a burst 11h (R/W) = 17 word left in a burst 12h (R/W) = 18 word left in a burst 13h (R/W) = 19 word left in a burst 14h (R/W) = 20 word left in a burst 15h (R/W) = 21 word left in a burst 16h (R/W) = 22 word left in a burst 17h (R/W) = 23 word left in a burst 18h (R/W) = 24 word left in a burst 19h (R/W) = 25 word left in a burst 1Ah (R/W) = 26 word left in a burst 1Bh (R/W) = 27 word left in a burst 1Ch (R/W) = 28 word left in a burst 1Dh (R/W) = 29 word left in a burst 1Eh (R/W) = 30 word left in a burst 1Fh (R/W) = 31 word left in a burst |
SRC_BURST_STEP is shown in Figure 13-42 and described in Table 13-48.
Return to the Summary Table.
Source Burst Step 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 | SRCBURSTSTEP | ||||||||||||||||||||||||||||||
R-0h | R/W-0h | ||||||||||||||||||||||||||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-16 | RESERVED | R | 0h | Reserved |
15-0 | SRCBURSTSTEP | R/W | 0h | These bits specify the change in the source address after each word in a burst. The size must be a 16-bit two's complement value between -4096 and 4095 (inclusive). This value is added to the source address after each read/write operation in a burst. Reset type: SYSRSn 0h (R/W) = No address change 1h (R/W) = Add 1 to the address 2h (R/W) = Add 2 to the address FFEh (R/W) = Add 4094 to the address FFFh (R/W) = Add 4095 to the address F000h (R/W) = Subtract 4096 from the address F001h (R/W) = Subtract 4095 from the address FFFEh (R/W) = Subtract 2 from the address FFFFh (R/W) = Subtract 1 from the address |
DST_BURST_STEP is shown in Figure 13-43 and described in Table 13-49.
Return to the Summary Table.
Destination Burst Step 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 | DSTBURSTSTEP | ||||||||||||||||||||||||||||||
R-0h | R/W-0h | ||||||||||||||||||||||||||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-16 | RESERVED | R | 0h | Reserved |
15-0 | DSTBURSTSTEP | R/W | 0h | These bits specify the change in the destination address after each word in a burst. The size must be a 16-bit two's complement value between -4096 and 4095 (inclusive). This value is added to the destination address after each read/write operation in a burst. Reset type: SYSRSn 0h (R/W) = No address change 1h (R/W) = Add 1 to the address 2h (R/W) = Add 2 to the address FFEh (R/W) = Add 4094 to the address FFFh (R/W) = Add 4095 to the address F000h (R/W) = Subtract 4096 from the address F001h (R/W) = Subtract 4095 from the address FFFEh (R/W) = Subtract 2 from the address FFFFh (R/W) = Subtract 1 from the address |
TRANSFER_SIZE is shown in Figure 13-44 and described in Table 13-50.
Return to the Summary Table.
Transfer Size 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 | TRANSFERSIZE | ||||||||||||||||||||||||||||||
R-0h | R/W-0h | ||||||||||||||||||||||||||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-16 | RESERVED | R | 0h | Reserved |
15-0 | TRANSFERSIZE | R/W | 0h | These bits specify the transfer size in bursts. The actual size is equal to TRANSFERSIZE + 1. Reset type: SYSRSn |
TRANSFER_COUNT is shown in Figure 13-45 and described in Table 13-51.
Return to the Summary Table.
Transfer Count 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 | TRANSFERCOUNT | ||||||||||||||||||||||||||||||
R-0h | R-0h | ||||||||||||||||||||||||||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-16 | RESERVED | R | 0h | Reserved |
15-0 | TRANSFERCOUNT | R | 0h | These bits indicate the number of bursts left in the current transfer. Reset type: SYSRSn |
SRC_TRANSFER_STEP is shown in Figure 13-46 and described in Table 13-52.
Return to the Summary Table.
Source Transfer Step 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 | SRCTRANSFERSTEP | ||||||||||||||||||||||||||||||
R-0h | R/W-0h | ||||||||||||||||||||||||||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-16 | RESERVED | R | 0h | Reserved |
15-0 | SRCTRANSFERSTEP | R/W | 0h | These bits specify the change in the source address after a burst completes. The size must be a 16-bit two's complement value between -4096 and 4095 (inclusive). This value is added to the source address after each burst completes. Reset type: SYSRSn 0h (R/W) = No address change 1h (R/W) = Add 1 to the address 2h (R/W) = Add 2 to the address FFEh (R/W) = Add 4094 to the address FFFh (R/W) = Add 4095 to the address F000h (R/W) = Subtract 4096 from the address F001h (R/W) = Subtract 4095 from the address FFFEh (R/W) = Subtract 2 from the address FFFFh (R/W) = Subtract 1 from the address |
DST_TRANSFER_STEP is shown in Figure 13-47 and described in Table 13-53.
Return to the Summary Table.
Destination Transfer Step 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 | DSTTRANSFERSTEP | ||||||||||||||||||||||||||||||
R-0h | R/W-0h | ||||||||||||||||||||||||||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-16 | RESERVED | R | 0h | Reserved |
15-0 | DSTTRANSFERSTEP | R/W | 0h | These bits specify the change in the destination address after a burst completes. The size must be a 16-bit two's complement value between -4096 and 4095 (inclusive). This value is added to the destination address after each burst completes. Reset type: SYSRSn 0h (R/W) = No address change 1h (R/W) = Add 1 to the address 2h (R/W) = Add 2 to the address FFEh (R/W) = Add 4094 to the address FFFh (R/W) = Add 4095 to the address F000h (R/W) = Subtract 4096 from the address F001h (R/W) = Subtract 4095 from the address FFFEh (R/W) = Subtract 2 from the address FFFFh (R/W) = Subtract 1 from the address |
SRC_WRAP_SIZE is shown in Figure 13-48 and described in Table 13-54.
Return to the Summary Table.
Source Wrap Size 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 | WRAPSIZE | ||||||||||||||||||||||||||||||
R-0h | R/W-FFFFh | ||||||||||||||||||||||||||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-16 | RESERVED | R | 0h | Reserved |
15-0 | WRAPSIZE | R/W | FFFFh | These bits specify the number of bursts to transfer before the source address wraps around to the beginning address. The actual number is equal to WRAPSIZE + 1. To disable the wrapping function, set WRAPSIZE to a value larger than TRANSFERSIZE. Reset type: SYSRSn |
SRC_WRAP_COUNT is shown in Figure 13-49 and described in Table 13-55.
Return to the Summary Table.
Source Wrap Count 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 | WRAPSIZE | ||||||||||||||||||||||||||||||
R-0h | R-0h | ||||||||||||||||||||||||||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-16 | RESERVED | R | 0h | Reserved |
15-0 | WRAPSIZE | R | 0h | These bits indicate the number of bursts left before wrapping the source address. Reset type: SYSRSn |
SRC_WRAP_STEP is shown in Figure 13-50 and described in Table 13-56.
Return to the Summary Table.
Source Wrap Step 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 | WRAPSTEP | ||||||||||||||||||||||||||||||
R-0h | R/W-0h | ||||||||||||||||||||||||||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-16 | RESERVED | R | 0h | Reserved |
15-0 | WRAPSTEP | R/W | 0h | These bits specify the change in the source beginning address when the wrap counter reaches zero. The size must be a 16-bit two's complement value between -4096 and 4095 (inclusive). This value is added to the source address when wrapping occurs. Reset type: SYSRSn 0h (R/W) = No address change 1h (R/W) = Add 1 to the address 2h (R/W) = Add 2 to the address FFEh (R/W) = Add 4094 to the address FFFh (R/W) = Add 4095 to the address F000h (R/W) = Subtract 4096 from the address F001h (R/W) = Subtract 4095 from the address FFFEh (R/W) = Subtract 2 from the address FFFFh (R/W) = Subtract 1 from the address |
DST_WRAP_SIZE is shown in Figure 13-51 and described in Table 13-57.
Return to the Summary Table.
Destination Wrap Size 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 | WRAPSIZE | ||||||||||||||||||||||||||||||
R-0h | R/W-FFFFh | ||||||||||||||||||||||||||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-16 | RESERVED | R | 0h | Reserved |
15-0 | WRAPSIZE | R/W | FFFFh | These bits specify the number of bursts to transfer before the destination address wraps around to the beginning address. The actual number is equal to WRAPSIZE + 1. To disable the wrapping function, set WRAPSIZE to a value larger than TRANSFERSIZE. Reset type: SYSRSn |
DST_WRAP_COUNT is shown in Figure 13-52 and described in Table 13-58.
Return to the Summary Table.
Destination Wrap Count 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 | WRAPSIZE | ||||||||||||||||||||||||||||||
R-0h | R-0h | ||||||||||||||||||||||||||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-16 | RESERVED | R | 0h | Reserved |
15-0 | WRAPSIZE | R | 0h | These bits indicate the number of bursts left before wrapping the destination address. Reset type: SYSRSn |
DST_WRAP_STEP is shown in Figure 13-53 and described in Table 13-59.
Return to the Summary Table.
Destination Wrap Step 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 | WRAPSTEP | ||||||||||||||||||||||||||||||
R-0h | R/W-0h | ||||||||||||||||||||||||||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-16 | RESERVED | R | 0h | Reserved |
15-0 | WRAPSTEP | R/W | 0h | These bits specify the change in the destination beginning address when the wrap counter reaches zero. The size must be a 16-bit two's complement value between -4096 and 4095 (inclusive). This value is added to the destination address when wrapping occurs. Reset type: SYSRSn 0h (R/W) = No address change 1h (R/W) = Add 1 to the address 2h (R/W) = Add 2 to the address FFEh (R/W) = Add 4094 to the address FFFh (R/W) = Add 4095 to the address F000h (R/W) = Subtract 4096 from the address F001h (R/W) = Subtract 4095 from the address FFFEh (R/W) = Subtract 2 from the address FFFFh (R/W) = Subtract 1 from the address |
SRC_BEG_ADDR_SHADOW is shown in Figure 13-54 and described in Table 13-60.
Return to the Summary Table.
Source Begin Address Shadow 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 |
BEGADDR | |||||||||||||||||||||||||||||||
R/W-0h | |||||||||||||||||||||||||||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-0 | BEGADDR | R/W | 0h | Shadow Source Beginning Address At the start of a transfer, the value in this register is loaded into the SRC_BEG_ADDR_ACTIVE register and used as the beginning value for the source address. This register can be safely updated during a transfer. Reset type: SYSRSn |
SRC_ADDR_SHADOW is shown in Figure 13-55 and described in Table 13-61.
Return to the Summary Table.
Source Address Shadow 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 |
ADDR | |||||||||||||||||||||||||||||||
R/W-0h | |||||||||||||||||||||||||||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-0 | ADDR | R/W | 0h | Shadow Source Address At the start of a transfer, the value in this register is loaded into the SRC_ADDR_ACTIVE register and used as the value of the source address. This register can be safely updated during a transfer. Reset type: SYSRSn |
SRC_BEG_ADDR_ACTIVE is shown in Figure 13-56 and described in Table 13-62.
Return to the Summary Table.
Source Begin Address Active 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 |
BEGADDR | |||||||||||||||||||||||||||||||
R-0h | |||||||||||||||||||||||||||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-0 | BEGADDR | R | 0h | Active Source Beginning Address If a transfer is ongoing, this register holds the current beginning value for the source address. This address may be updated after wrapping. When a transfer starts, this register is loaded with the shadow address from the SRC_BEG_ADDR_SHADOW register. Reset type: SYSRSn |
SRC_ADDR_ACTIVE is shown in Figure 13-57 and described in Table 13-63.
Return to the Summary Table.
Source Address Active 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 |
ADDR | |||||||||||||||||||||||||||||||
R-0h | |||||||||||||||||||||||||||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-0 | ADDR | R | 0h | Active Source Address If a transfer is ongoing, this register holds the current value of the source address. This address may change after a write, a burst, or wrapping. Reset type: SYSRSn |
DST_BEG_ADDR_SHADOW is shown in Figure 13-58 and described in Table 13-64.
Return to the Summary Table.
Destination Begin Address Shadow 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 |
BEGADDR | |||||||||||||||||||||||||||||||
R/W-0h | |||||||||||||||||||||||||||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-0 | BEGADDR | R/W | 0h | Shadow Destination Beginning Address At the start of a transfer, the value in this register is loaded into the DST_BEG_ADDR_ACTIVE register and used as the beginning value for the destination address. This register can be safely updated during a transfer. Reset type: SYSRSn |
DST_ADDR_SHADOW is shown in Figure 13-59 and described in Table 13-65.
Return to the Summary Table.
Destination Address Shadow 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 |
ADDR | |||||||||||||||||||||||||||||||
R/W-0h | |||||||||||||||||||||||||||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-0 | ADDR | R/W | 0h | Shadow Destination Address At the start of a transfer, the value in this register is loaded into the DST_ADDR_ACTIVE register and used as the value of the destination address. This register can be safely updated during a transfer. Reset type: SYSRSn |
DST_BEG_ADDR_ACTIVE is shown in Figure 13-60 and described in Table 13-66.
Return to the Summary Table.
Destination Begin Address Active 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 |
BEGADDR | |||||||||||||||||||||||||||||||
R-0h | |||||||||||||||||||||||||||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-0 | BEGADDR | R | 0h | Active Destination Beginning Address If a transfer is ongoing, this register holds the current destination value for the source address. This address may be updated after wrapping. When a transfer starts, this register is loaded with the shadow address from the DST_BEG_ADDR_SHADOW register. Reset type: SYSRSn |
DST_ADDR_ACTIVE is shown in Figure 13-61 and described in Table 13-67.
Return to the Summary Table.
Destination Address Active 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 |
ADDR | |||||||||||||||||||||||||||||||
R-0h | |||||||||||||||||||||||||||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-0 | ADDR | R | 0h | Active Destination Address If a transfer is ongoing, this register holds the current value of the destination address. This address may change after a write, a burst, or wrapping. Reset type: SYSRSn |
CHSECLAT1 is shown in Figure 13-62 and described in Table 13-68.
Return to the Summary Table.
Channel Security Details Latch Register
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | STACK | RESERVED | APILINK | ||||||||||||
R-0h | R-0h | R-0h | R-0h | ||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | LINK | RESERVED | ZONE | ||||||||||||
R-0h | R-0h | R-0h | R-0h | ||||||||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-28 | RESERVED | R | 0h | Reserved |
27-24 | STACK | R | 0h | This field reflects the CPUID value of last access to the corresponding channel registers (RTDMA_CH_REGS) Reset type: SYSRSn |
23-20 | RESERVED | R | 0h | Reserved |
19-16 | APILINK | R | 0h | This field reflects the APILINK value of last access to the corresponding channel registers (RTDMA_CH_REGS) Reset type: SYSRSn |
15-12 | RESERVED | R | 0h | Reserved |
11-8 | LINK | R | 0h | This field reflects the LINK value of last access to the corresponding channel registers (RTDMA_CH_REGS) Reset type: SYSRSn |
7-4 | RESERVED | R | 0h | Reserved |
3-0 | ZONE | R | 0h | This field reflects the ZONE value of last access to the corresponding channel registers (RTDMA_CH_REGS) Reset type: SYSRSn |
CHSECLAT2 is shown in Figure 13-63 and described in Table 13-69.
Return to the Summary Table.
Channel Security Details Latch Register
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | |||||||
R-0h | |||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
PRIVID | |||||||
R-0h | |||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
RESERVED | PRIV | ||||||
R-0h | R-0h | ||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | SECURE | ||||||
R-0h | R-0h | ||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-24 | RESERVED | R | 0h | Reserved |
23-16 | PRIVID | R | 0h | This field reflects the PRIVID value of last access to the corresponding channel registers (RTDMA_CH_REGS) Reset type: SYSRSn |
15-10 | RESERVED | R | 0h | Reserved |
9-8 | PRIV | R | 0h | This field reflects the PRIV value of last access to the corresponding channel registers (RTDMA_CH_REGS) Reset type: SYSRSn |
7-1 | RESERVED | R | 0h | Reserved |
0 | SECURE | R | 0h | This field reflects the SECURE value of last access to the corresponding channel registers (RTDMA_CH_REGS) Reset type: SYSRSn |
BURST_INTF_CTRL is shown in Figure 13-64 and described in Table 13-70.
Return to the Summary Table.
Burst Interface 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 |
RESERVED | |||||||
R-0h | |||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | BURSTCTRL | ||||||
R-0h | R/W-0h | ||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-2 | RESERVED | R | 0h | Reserved |
1-0 | BURSTCTRL | R/W | 0h | 0 : Burst Mode is disabled and the RTDMA accesses data as normal. 1 : Reserved 2 : Burst mode is enabled and cannot be interrupted. All other values are reserved. Reset type: SYSRSn |
CHCFG_LOCK is shown in Figure 13-65 and described in Table 13-71.
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 this corresponding channel configuration registers (writes will have no effect on them). This bit can only be modified if CHCFG_COMMIT.COMMIT is cleared. 0 : Unlocked 1 : Locked Reset type: SYSRSn |
CHCFG_COMMIT is shown in Figure 13-66 and described in Table 13-72.
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 CHCFG_LOCK register. This bit cannot be cleared, except by reset. 0 : CHCFG_LOCK is modifiable 1 : CHCFG_LOCK is committed permanently Reset type: SYSRSn |