SPRUJF2A March 2026 – March 2026 AM13E23019
In block transfer mode (DMATM = 1), a transfer of a complete block of data occurs after one trigger.
The DMASZ register defines the size of the block in the number of single transfers of the specified data type, and the DMADSTINCR and DMASRCINCR bits select if the destination address and the source address are incremented or decremented after each transfer of the block. The DMA is done transferring the block once DMASZ = 0, which sets the corresponding RIS.DMACHx flag. The DMADSTWDTH indicates whether the destination address increments or decrements by 1, 2, 4, 8 or 16 with each transfer cycle. The same is true for the DMASRCWDTH and the source address respectively. The DMASZ register is decremented after each transfer of one data type and shows the number of single transfers remaining.
The DMAEN bit is cleared after the completion of the block transfer and must be set again before another block transfer can be triggered. After a block transfer has started, any other trigger signal that occurs during the block transfer is ignored until the block transfer is complete.