2017-04-09 12:57 PM
Hi!
I was wondering what is the correct way to abort an ongoing DMA transfer?
I have a situation where it seems like there was an incoming DMA request while I had the DMA disabled.
I disable all channel triggers and when I re-enable the DMA channel I get a single transfer immediately.
Is there a way to clear this 'pending' DMA request?
Simon
2017-04-09 02:21 PM
Timer triggered DMA? Toggle the bit which enables it in DIER.
JW
2017-04-09 11:50 PM
2017-04-10 01:33 PM
perfect! that did the trick! Thanks a lot!