hi, i am searching a linux driver that allow me to configure (streaming rbf file) Altera FPGAs (cyclone V) through the SPI port, i have found a similar module but is using GPIOs (DLK, DATA0) instead of SPI communication: fpga_loader/fpga_loader.c at master · ntb-ch/fpga_loader · GitHub
What exactly Linux do you use? Is it some Linux BSP by NXP? For the description of the low-level SPI driver of the latest L4.1.15 BSP by NXP, please refer to the Chapter 36 of the attached document.
Have a great day,
Artur
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
i am using linux-2.6-imx-imx_3.10.17_1.0.0_beta, i have read this section of linux reference manual and i am working with it rigth now, in my code i am using a while loop and in each iteration i am reading some bytes from the rbf file, and sending those bytes through spi port to the FPGAs and this operation take a lot of time. thats why i am asking if there is i full driver for Altera FPGAs that allow configuration loading through the spi port.
No, there is no such a driver available. Try to use the low-level SPI driver together with DMA.