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.

AM335x - Terminate EDMA

We are using StarterWare and CCS6. EDMA is working properly in our application. The data transfer requires many events to complete (we're using EDMA3_TRIG_MODE_EVENT).  In some situations, we want to terminate the transfer early so it causes the channel  and transfer controllers to perform the normal actions (interrupts, ParamSet LINK update etc) as if the transfer completed normally. How do we do this?

We tried calling EDMA3DisableTransfer but I think this just stops the events. It doesn’t seem to perform any of the transfer completion actions.

Another question is after a transfer completes, do I need to call EDMA3DisableTransfer before calling EDMA3EnableTransfer again to start the next transfer or is that channel automatically disabled when it completes?