icebreaker-fpga / icebreaker

Small and low cost FPGA educational and development board
579 stars 75 forks source link

Add another CS line from FTDI to the iCE40 to use SPI comm from host -> fpga #18

Closed smunaut closed 6 years ago

smunaut commented 6 years ago

Having SPI communication from host to the ice40 has many benefits :

The only thing needed is a way to differentiate between host accessing the flash and the host accessing the user logic in the fpga.

This can be done one of two ways :

So all in all, I think a solder jumper from LEDG to ADBUS3 would be a good idea.

smunaut commented 6 years ago

LEDR would be a better idea than LEDG due to the fact that LEDG pin can't be used as input if you use both PLL outputs.

esden commented 6 years ago

I went with the ADBUS3 to LEGR solution. Cheers! :D