Quantcast
Channel: EngineerZone: Message List
Viewing all articles
Browse latest Browse all 24339

Re: SPORT and DMA

$
0
0

Yes...if DMA interrupt mode is set to ENUM_DMA_CFG_XCNT_INT, interrupt occurs when DMA_XCNT becomes zero. But since you are using Auto-buffer mode, eventhough interrupt occurs when X_CNT becomes zero, DMA will not wait for processor to come into ISR...By the time processor comes into ISR, it would have already started for next work-unit.

You can verify this by setting DMA in STOP mode ENUM_DMA_CFG_STOP.



Viewing all articles
Browse latest Browse all 24339

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>