Forum Discussion
Altera_Forum
Honored Contributor
20 years agoHello yks,
To answer your questions. 1. No, The code that I showed only needs to show where the read address is located( Like the array holding your image) 2. My code is a little convoluted but essentially I am passing a structure to vga_dma_done called vga_dma_done_context. This structure has an element that I am defining as the array for my_isr_context, which is the address that I want my function to implement when the fuction vga_dma_done is called, which is really just the completion of the DMA access, which is alt_dma_txchan_done. I know that sounds a little "wordy"; But reply if you have more questions and I would be glad to help... Really, what is happening is that it is hard to get real-time control while the DMA function is running, that is why I think it is hard to implement an ISR. I tried earlier this year to measure performance of this system with timestamps and I had a real mess. Of course, I may have self-inflicted harm on myself when trying to make those measurements. -Baycool