Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
1,069 Views

SPI Drivers for Cyclone V SoC Devkit

I'm a Linux newbie that needs to access an SPI device via one of the SPI Master HPS peripherals on the Cyclone V SoC. If the SPI is selected/activated via Qsys, and a new SD image generated via the EDS tools, can I expect the corresponding SPI driver to show up in the \dev directory? If so, where would I find doc on the driver API? 

 

Thanks 

 

--John
0 Kudos
2 Replies
Altera_Forum
Honored Contributor I
61 Views

Found the doc I was looking for in ..\embedded\embeddedsw\socfpga\sources\linux-socfpga\Documentation\spi. Has the driver API and some test source to illustrate the API. Source looks compile ready - makefile supplied as well.

Altera_Forum
Honored Contributor I
61 Views

Hello John, 

 

Were you able to get the SPI up and running? I have enabled the SPI options in the Qsys, however I do not see the SPI in location '/dev ' . 

Any pointers?
Reply