• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Any GPIO pins for SPI?
I want to establish a communication between a Raspberry Pi and an Alchitry Cu. I found [this](https://alchitry.com/serial-peripheral-i...pi-verilog) and I wonder if any GPIO pins can be used for this, or they have to be dedicated pins. I mean, can I use any four pins for `ss`, `miso`, `mosi` and `sck`?
As with most things in the FPGA, any pins are useable. The only real exceptions to this are if you need special IO features like differential pairs or clock inputs. Clock inputs only need special pins if they are used to clock DFFs. The clock from SPI can easily be deciphered by DFFs clocked by your main system clock (as the example SPI peripheral does)

Forum Jump:

Users browsing this thread: 1 Guest(s)