Hi,
if you want to start the same sequence again then:
- Do not set DREQ (Disable Request) bit in TCD Control and Status
- Initialize SLAST and DLASTSGA, so it restores the source address and destination address to the initial value
Another option is to use Scatter/Gather feature – create own TCD descriptor in RAM memory which is initialized as you need and enable Scatter/Gather by ESG bit in TCD Control and Status. Put the address of your TCD in RAM to DLASTSGA. Once all the defined transfers are completed, your descriptor from RAM will be loaded to TCD and it will continue without user’s intervention.
Regards,
Lukas