Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12603 Discussions

SPI Drivers for Cyclone V SoC Devkit

Altera_Forum
Honored Contributor II
1,391 Views

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 II
383 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.

0 Kudos
Altera_Forum
Honored Contributor II
383 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?
0 Kudos
Reply