You can know this if you are using a DMA Manual channel.
You can find this with the help of Consumer event check in DMA call back function.
Please let me know if you need any more details on this.
with reference to this topic , i have a question.
Here its given in a reply that we have to wait for the consumer event count variable to go to zero before reconfiguring the endpoint. As we use the same callback to handle both producer and consumer events, how is it possible to wait for the completion before reconfiguring the endpoint in the case of ISOCH transfer.