Skip to contentSkip to conversation

SPI controller laying around...

DISCUSSION Jean-Francois Dagenais 2 participants 2 messages Mar 15, 2011

lore
Share & tools
lore
#0 lore raw

Hi all!

I need to perform some tests and I am in need of any SPI controller I could use through the standard SPI master framework of the kernel.

I could perhaps hack the BIOS SPI for example (fool around with the chip select and solder some wires to export to a bread board. Or I am sure my workstation has one on the motherboard (dell vostro 430) for some odd functionnality... but it's not enumerated and probed as an SPI master.

Or maybe even old ethernet cards I have lying around which could be hacked?

Or a simple USB-SPI dongle? Anyone knows one that will just plain works with the kernel?

Any thoughts?

Note: I want to test if I can program a Xilinx FPGA from the CPU-SPI instead of the PROM that sits next to the FPGA, at the fastest speed available. I've already solved the PCI express appearance and disappearance of the device on its bus.

#1 lore raw
Quoted 8 lines · Jean-Francois Dagenais

I need to perform some tests and I am in need of any SPI controller I could use through the standard SPI master framework of the kernel.

I could perhaps hack the BIOS SPI for example (fool around with the chip select and solder some wires to export to a bread board. Or I am sure my workstation has one on the motherboard (dell vostro 430) for some odd functionnality... but it's not enumerated and probed as an SPI master.

Quoted 7 lines

Or maybe even old ethernet cards I have lying around which could be hacked?

Or a simple USB-SPI dongle? Anyone knows one that will just plain works with the kernel?

Any thoughts?

if you have just 4 GPIOs, you can use the SPI bit banging bus -mike