Altera_Forum
Honored Contributor
17 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 should work independently from the CPUs of the FPGAs. The CPU of the first FPGA shall write data to RAM and post a send request to the DMA-Controller. After that, the DMA-Controller shall transmit the data to the second FPGA using a SPI-Connection. The CPU of both FPGAs should be able to process other tasks at the same time. [CPU]--[RAM]--[DMA-Ctrl]--[SPI-Master] - - - - - - - [SPI-Slave]--[DMA-Ctrl]--[RAM]--[CPU] The first thing I need to know is, if it is possible to create this system. The second questions is, if I can use a standard DMA-Controller or if I have to develop a customized DMA-Controller, which knows how to handle SPI. I would be glad, if someone could help me. Thanks in advance drak0r