I've made linked descriptors chain for dma transfer and it works fine. The problem I get is when filling up the buffer of the descriptor that caused the interrupt. The data filled is not what I expected to receive. That raises the question: at which point is said interrupt triggered? At the beginning or end of sent data?
Is the descriptor in the interrupt event_data argument the one that caused the interrupt?
suc_eof interrupt moment
-
- Posts: 9766
- Joined: Thu Nov 26, 2015 4:08 am
Re: suc_eof interrupt moment
It should be triggered when the DMA has processed that segment fully. (But do note that for data sent to a peripheral, that does not mean the peripheral also is done with the data, as there generally is a small FIFO in the peripheral as well.)
Who is online
Users browsing this forum: No registered users and 68 guests