How to abort a running GPDMA transfer?

Discussion created by lpcware Employee on Jun 15, 2016
Content originally posted in LPCWare by capiman on Fri Mar 20 22:47:29 MST 2015

is it possible to abort a running GPDMA transfer?

The GPDMA is used e.g. for exchanging data via UART or SPI/SSP. At some condition I have a need to abort a running GPDMA transfer and star a new one.
Is this possible?

Unfortunately I cannot wait till I get enough data till reception transfer is complete.

I think I can switch off peripheral and complete GPDMA, but this affects more than my current transactions on this GPDMA channel...

Best regards,