Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
9 years ago

How to instanite a spi interface

Hi,

I have a DE1-SoC board. I'd like to learn how to instantiate a SPI interface on the FPGA. The plan is to connect connect it to an MCU with jumper wires via the exposed GPIO on the DE1-SoC board.

I was wondering if somebody could point me towards a tutorial to create a spi interface on the fpga?

Thanks

2 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi,

    i'm trying to do the same now. Did you understand how to manage this? I have problems with Pin Assignment and C Code to be load on DE1-SOC. I've implement SPI on the FPGA as Slave and you ? Which kind of MCU are you using ? Are you using it as Master in the communication ?

    Thanks
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    There is a IP block in Qsys with SPI interface. I've never used it

    May be useful for you.