Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
20705 Discussions

Question on slave SPI function

Altera_Forum
Honored Contributor II
1,364 Views

Hi, 

I am fairly new writing Verilog and was wondering if Altera offers a IP module to do SPI communications? I am doing a project for myself where I need to load and control four different counters and would like to do this using a simple SPI slave function between my external processor and my custom programmable logic. I am thinking of using a MAX7000 series CPLD to do both the counters and spi interface. Any advise or hints would be greatly appreciated!
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
218 Views

Have you checked the SOPC? 

There is "SPI Slave to Avalon Master bridge" 

So you have use your external CPU and the CPU can control FPGA via SPI bus. 

 

You still should be able to use SOPC builder in CPLD.
0 Kudos
Altera_Forum
Honored Contributor II
218 Views

there are also some MAX examples which include SPI: 

 

http://www.altera.com/support/examples/max/exm-max.html
0 Kudos
Reply