SLAU893B October 2023 – July 2024 MSPM0C1103 , MSPM0C1103-Q1 , MSPM0C1104 , MSPM0C1104-Q1
The DMA controller has four transfer modes selected by the DMATM bits as listed in Table 4-2. Each channel is individually configurable for its transfer mode. For example, channel 0 can be configured in repeated block transfer mode, while channel 1 is configured for block transfer mode, and channel 2 operates in single transfer mode. The transfer mode is configured independently from the addressing mode. Any addressing mode can be used with any transfer mode.
Four types of data can be transferred selectable by the DMADSTWDTH and DMASRCWDTH control bits. The source and destination locations can be either byte, short word, word, or long word data. It is also possible to transfer byte to byte, short word to short word, word to word, long word to long word, or any combination.
Additionally, all transfers modes support a stride mode where the DMA source and destination can be incremented to a higher value to support re-organization of data.
DMATM | Transfer Mode | Description | Channel Type |
---|---|---|---|
0h | Single transfer | Each transfer requires a trigger. DMAEN is automatically cleared when DMASZx transfers have been made. | Basic |
1h | Block transfer | A complete block is transferred with one trigger. DMAEN is automatically cleared at the end of the block transfer. | Basic |
2h | Repeated single transfer | Each transfer requires a trigger. DMAEN remains enabled. | Full-feature |
3h | Repeated block transfer | A complete block is transferred with one trigger. DMAEN remains enabled. | Full-feature |