5.1 Normal Completion
The number of transactions in a DMA message is based on the setting of the Source and Destination Size registers and SSTP/DSTP bits. The DGO bit is cleared when the message transfer is complete. Refer to table 5-1 below for details.
Configuration | SSTP:DSTP =
00 | SSTP:DSTP =
01 | SSTP:DSTP =
10 | SSTP:DSTP =
11 |
---|---|---|---|---|
Source Size = Destination Size | DGO bit is never cleared. DMA operates until user firmware clears DGO bit or Abort trigger is received. | DGO bit is cleared when DSZ or SSZ transactions are completed and DCNT or SCNT are reloaded respectively | ||
Source Size != Destination Size | DGO bit is cleared when DSZ transactions are completed and DCNT is reloaded. Set DGO bit again for next DSZ transactions. | DGO bit is cleared when SSZ transactions are completed and SCNT is reloaded. Set DGO bit again for next SSZ transactions. | DGO bit is cleared when DSZ or SSZ transactions are completed and DCNT or SCNT are reloaded respectively. |