Forum Discussion
Hello,
The best way to transfer data between Nios II and other peripherals wold be the use of DMA. For example, you can use the mSGDMA soft-core IP. More information can be found here:
https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/ug/ug_embedded_ip.pdf#page=322
Furthermore, you can refer to this video on how to use this IP:
https://www.youtube.com/watch?v=iaRkjkpMBH8
regarding the max transfer rate, this would depend on the operation frequency and the transfer rate of the DMA plus the memory latency. The max transfer rate of mSGDMA would be 2GB, however, this is a theoretical number, and will be affected by the parameters mentioned above.
You can find an example showing how to use this IP, with a software code to test it.
https://52.24.176.51/wiki/MSGDMA_design_example
Hope this might help