Multiple SPI devices and not enough pins
ErikdS
Posts: 37
Hello,
for the project I'm working on I need more pins than the BS has, so I thought of hooking up all SPI slaves on common CS and CLK lines, and accessing one dataline at the time so the master can read from each slave in turn.
This is not daisy-chaining clearly, and I cannot that, as most devices I work <with don't support that.
So the question is simple: can it be done?
Kind regards
Erik
for the project I'm working on I need more pins than the BS has, so I thought of hooking up all SPI slaves on common CS and CLK lines, and accessing one dataline at the time so the master can read from each slave in turn.
This is not daisy-chaining clearly, and I cannot that, as most devices I work <with don't support that.
So the question is simple: can it be done?
Kind regards
Erik
Comments
http://en.wikipedia.org/wiki/Serial_Peripheral_Interface_Bus
A master SPI device will needs it's own IO.
http://www.savagecircuits.com/forums/content.php?333-Binary-Digital-Clock