Forum Discussion
Altera_Forum
Honored Contributor
18 years agoSPI using DMA-Controller
Hello, this is my first thread here and I am a newbie. So I hope my questions aren't too stupid. :D Currently I am trying to create a SPI Connection between 2 FPGAs. This Connection sho...
Altera_Forum
Honored Contributor
18 years agoFirst of all: Sure, it is possible to create this system. The devil may be in the details. If you transmit a data paket from the master to the slave then the master CPU will know about the amount of data. The slave DMA controller might not. Somebody must tell the slave DMA controller how many data bytes will be sent and the DMA controller should have means to interrupt the slave CPU when this amount has been received. Having said this I guess that it might be best if you write your own DMA controllers.
Harald