IMX6 SPI Linux Kernel Modul for Loading Designs into Altera FPGAs

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

IMX6 SPI Linux Kernel Modul for Loading Designs into Altera FPGAs

1,231 次查看
mondherammar
Contributor II

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

0 项奖励
3 回复数

773 次查看
art
NXP Employee
NXP Employee

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!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励

773 次查看
mondherammar
Contributor II

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.

0 项奖励

773 次查看
art
NXP Employee
NXP Employee

No, there is no such a driver available. Try to use the low-level SPI driver together with DMA.

0 项奖励