Wait until the DMA is in an idle state by reading the [STATE] field of
register and ensuring it is either
11. In the
case where the DMA is in PAUSE state, follow the steps to bring the DMA out from
PAUSE as described in Channel Pause.
- In simple DMA mode, both the SRC and DST transaction sizes must be programmed. The DMA uses the SRC transaction size but it also requires programming both registers. Program the source data size into the CH_SRC_DSCR_WD2 register.
- Program the destination data transaction size into the CH_DST_DSCR_WD2 register. Make sure that the SRC and DST transaction sizes are the same.
Optionally, enable an interrupt by setting INTR as a
1 in the PS_DMA.CH_DST_DSCR_WD3 and/or