SPRUII0F May 2019 – June 2024 TMS320F28384D , TMS320F28384D-Q1 , TMS320F28384S , TMS320F28384S-Q1 , TMS320F28386D , TMS320F28386D-Q1 , TMS320F28386S , TMS320F28386S-Q1 , TMS320F28388D , TMS320F28388S
Table 49-45 lists the memory-mapped registers for the UDMACHDES registers. All register offset addresses not listed in Table 49-45 should be considered as reserved locations and the register contents should not be modified.
| Offset | Acronym | Register Name | Write Protection | Section |
|---|---|---|---|---|
| 0h | DMASRCENDP | DMA Channel Source Address End Pointer | Go | |
| 4h | DMADSTENDP | DMA Channel Destination Address End Pointer | Go | |
| 8h | DMACHCTL | DMA Channel Control Word | Go |
Complex bit access types are encoded to fit into small table cells. Table 49-46 shows the codes that are used for access types in this section.
| Access Type | Code | Description |
|---|---|---|
| Read Type | ||
| R | R | Read |
| Write Type | ||
| W | W | Write |
| Reset or Default Value | ||
| -n | Value after reset or the default value | |
DMASRCENDP is shown in Figure 49-36 and described in Table 49-47.
Return to the Summary Table.
DMA Channel Source Address End Pointer
| 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 | Source Address End Pointer This field points to the last address of the DMA transfer source (inclusive). If the source address is not incrementing (the SRCINC field in the DMACHCTL register is 0x3), then this field points at the source location itself (such as a peripheral data register). Reset type: CM.SYSRESETn |
DMADSTENDP is shown in Figure 49-37 and described in Table 49-48.
Return to the Summary Table.
DMA Channel Destination Address End Pointer
| 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 | Destination Address End Pointer This field points to the last address of the DMA transfer destination (inclusive). If the destination address is not incrementing (the DSTINC field in the DMACHCTL register is 0x3), then this field points at the destination location itself (such as a peripheral data register). Reset type: CM.SYSRESETn |
DMACHCTL is shown in Figure 49-38 and described in Table 49-49.
Return to the Summary Table.
DMA Channel Control Word
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
| DSTINC | DSTSIZE | SRCINC | SRCSIZE | ||||
| R/W-0h | R/W-0h | R/W-0h | R/W-0h | ||||
| 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| RESERVED | DSTPROT0 | RESERVED | SRCPROT0 | ARBSIZE | |||
| R-0h | R/W-0h | R-X | R/W-0h | R/W-X | |||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
| ARBSIZE | XFERSIZE | ||||||
| R/W-X | R/W-X | ||||||
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| XFERSIZE | NXTUSEBURST | XFERMODE | |||||
| R/W-X | R/W-X | R/W-X | |||||
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-30 | DSTINC | R/W | 0h | Destination Address Increment This field configures the destination address increment. The address increment value must be equal or greater than the value of the destination size (DSTSIZE). Value Description 0x0 ByteIncrement by 8-bit locations 0x1 Half-wordIncrement by 16-bit locations 0x2 WordIncrement by 32-bit locations 0x3 No incrementAddress remains set to the value of the Destination Address End Pointer (DMADSTENDP) for the channel Reset type: CM.SYSRESETn |
| 29-28 | DSTSIZE | R/W | 0h | Destination Data Size This field configures the destination item data size. DSTSIZE must be the same as SRCSIZE. Value Description 0x0 Byte8-bit data size 0x1 Half-word16-bit data size 0x2 Word32-bit data size 0x3 Reserved Reset type: CM.SYSRESETn |
| 27-26 | SRCINC | R/W | 0h | Source Address Increment This field configures the source address increment. The address increment value must be equal or greater than the value of the source size (SRCSIZE). Value Description 0x0 ByteIncrement by 8-bit locations 0x1 Half-wordIncrement by 16-bit locations 0x2 WordIncrement by 32-bit locations 0x3 No incrementAddress remains set to the value of the Source Address End Pointer (DMASRCENDP) for the channel Reset type: CM.SYSRESETn |
| 25-24 | SRCSIZE | R/W | 0h | Source Data Size This field configures the source item data size. DSTSIZE must be the same as SRCSIZE. Value Description 0x0 Byte8-bit data size. 0x1 Half-word16-bit data size. 0x2 Word32-bit data size. 0x3 Reserved Reset type: CM.SYSRESETn |
| 23-22 | RESERVED | R | 0h | Reserved |
| 21 | DSTPROT0 | R/W | 0h | Destination Privilege Access This bit controls the privilege access protection for destination data writes. Value Description 0 The access is non-privileged. 1 The access is privileged. Reset type: CM.SYSRESETn |
| 20-19 | RESERVED | R | X | Reserved |
| 18 | SRCPROT0 | R/W | 0h | Source Privilege Access This bit controls the privilege access protection for source data reads. Value Description 0 The access is non-privileged. 1 The access is privileged. Reset type: CM.SYSRESETn |
| 17-14 | ARBSIZE | R/W | X | Arbitration Size This field configures the number of transfers that can occur before the DMA controller re-arbitrates. The possible arbitration rate configurations represent powers of 2 and are shown below. Value Description 0x0 1 TransferArbitrates after each DMA transfer 0x1 2 Transfers 0x2 4 Transfers 0x3 8 Transfers 0x4 16 Transfers 0x5 32 Transfers 0x6 64 Transfers 0x7 128 Transfers 0x8 256 Transfers 0x9 512 Transfers 0xA-0xF 1024 TransfersIn this configuration, no arbitration occurs during the DMA transfer because the maximum transfer size is 1024. Reset type: CM.SYSRESETn |
| 13-4 | XFERSIZE | R/W | X | Transfer Size (minus 1) This field configures the total number of items to transfer. The value of this field is 1 less than the number to transfer (value 0 means transfer 1 item). The maximum value for this 10-bit field is 1023 which represents a transfer size of 1024 items. The transfer size is the number of items, not the number of bytes. If the data size is 32 bits, then this value is the number of 32-bit words to transfer. The DMA controller updates this field immediately prior to entering the arbitration process, so it contains the number of outstanding items that is necessary to complete the DMA cycle. Reset type: CM.SYSRESETn |
| 3 | NXTUSEBURST | R/W | X | Next Useburst This field controls whether the Useburst SET[n] bit is automatically set for the last transfer of a peripheral scatter-gather operation. Normally, for the last transfer, if the number of remaining items to transfer is less than the arbitration size, the DMA controller uses single transfers to complete the transaction. If this bit is set, then the controller uses a burst transfer to complete the last transfer. Reset type: CM.SYSRESETn |
| 2-0 | XFERMODE | R/W | X | DMA Transfer Mode This field configures the operating mode of the DMA cycle. Refer to for a detailed explanation of transfer modes. Because this register is in system RAM, it has no reset value. Therefore, this field should be initialized to 0 before the channel is enabled. Value Description 0x0 Stop 0x1 Basic 0x2 Auto-Request 0x3 Ping-Pong 0x4 Memory Scatter-Gather 0x5 Alternate Memory Scatter-Gather 0x6 Peripheral Scatter-Gather 0x7 Alternate Peripheral Scatter-Gather Reset type: CM.SYSRESETn |