Hi David,
Please following the steps to modify the TCD register.
-disable the dma channel by clearing DMA Request Enable bit
-wait for DMA_TCDn.active = 0
-change the TCD to the initial configuration (to start from beginning)
-enable the dma channel by setting DMA Request Enable bit
Now once the dma channel is started again, it again loads TCDn to eDMA registers
and executes the minor loop according to the values in TCDn.
Hope it helps.
Have a great day,
Ping
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------