For a while, I've wondered if there was some kind of external SPI "Hub" PCB you can buy, to allow one to easily connect/disconnect multiple SPI slaves, to and from a single Hardware SPI bus. As well as for delivering power to each slave. With all the connections being made over wires.
Something that can work reliably for prototyping and/or finished projects.
I've seen a few of these for use with the I2C bus, like the examples below:
But I have never seen such a thing for SPI.
Here is an illustration of what I mean:
In the image above, you would have either a +5v or +3v rail & GND, connected to PWR:IN and GND:IN, and the Arduino (SPI Master) supplies it's SPI pins (SCK:IN, MISO:IN and MOSI:IN) along with 3 or more slave select pins. These SPI master inputs then branch out into 3 or more Slave Outputs. The inputs or outputs could be header pins, terminal blocks etc.
Does anyone know of such a module, or open-source PCB design? I've searched for a while and have come up with nothing thus far.
If not, then how would you design such a thing for general use? Of course, it wouldn't be too hard to solder something like this to prototype board using pin headers, but I'd be interested to know any other design ideas/considerations one could make, perhaps concerning noise, cross talk, ease of use, etc.
I'm also interested in any other methods of wiring up multiple slaves to an SPI bus, which worked well, and which also provide a decent level of modularity.
Thanks.