This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/TMS570LS3137: how to manually reset the DMA channel to resume work with initial values

Part Number: TMS570LS3137

Tool/software: Code Composer Studio

The dma channel is configured in the following mode:
FrameCount = 5
ElementCount = 1
ADDMODERD = CONST
ADDMODEWR = INC1
mode - FRAME_TRANSFER
ReadElementSize = 16
WriteElementSize = 16
The task is as follows:
It is necessary to receive 5 hexadecimal words from the SPI compatible interface and to send to each buffer word with each received word. The order of the location of the accepted words is important. At the same time, if there was a word loss or a shift occurred, you must programmatically reset the current values ​​of the CDADDR, CSADDR, CSCOUNT registers in order to start the next word with the correct order. How to initialize in this mode? The Auto-Initiation mode is only available for block transfer.