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++
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
12748 Discussions

SPI Drivers for Cyclone V SoC Devkit

Altera_Forum
Honored Contributor II
1,707 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
699 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
699 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