SLAU846A June 2023 – October 2023 MSPM0G1105 , MSPM0G1106 , MSPM0G1107 , MSPM0G1505 , MSPM0G1506 , MSPM0G1507 , MSPM0G3105 , MSPM0G3105-Q1 , MSPM0G3106 , MSPM0G3106-Q1 , MSPM0G3107 , MSPM0G3107-Q1 , MSPM0G3505 , MSPM0G3505-Q1 , MSPM0G3506 , MSPM0G3506-Q1 , MSPM0G3507 , MSPM0G3507-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 |