Forum Discussion

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

SPI Slave for MAX II

Does anyone know if there is a SPI slave already written in VHDL that can fit in a MAX II - 324 device? It would save me a lot of time looking or building my own for the infrequent use that it will get. I note that SOPC Builder supports a SPI Master, which is fine, because I will be using the NIOS to talk to the MAX II, but what I need is the slave - and there are no megawizards for it. Thanks in advance.

1 Reply

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

    In principle, it's just a shift register. But you may imagine more complex functions, e.g. multiple addressable registers. You'll find different SPI IP at opencores.org, because of the changing application dependendent requirements, I prefer to write it from the scratch.