SPRUJF2A March 2026 – March 2026 AM13E23019
For each DMA channel, the DMA controller utilizes a source address pointer (DMASA), a destination address pointer (DMADA), and a transfer counter (DMASZ). After the DMA channel is configured, the channel must be enabled by setting the DMA_CTL.DMAEN bit to begin transfers. With each transfer, the DMA reads a data element from the source and writes the element at the destination. After the transfer, the source and the destination addresses are updated based on the source increment (DMASRCINCR) and destination increment (DMADSTINCR) registers, and the DMASZ is decremented. The DMA loops through this cycle until the DMASZ reaches zero, at which point the DMA channel generates a raw interrupt status (RIS) flag.
The full setup and operation of the DMA is discussed in the following sections.