can anybody tell me if it's possible to have more than one device on the SPI bus, please?
Being that it's a bus, I assumed it was possible, but I can only get one device to work at a time...
I'm using an RFM69 module on a breakout that uses SCK, SDO, SDI, SEL and an IRQ connection - I'm also trying to use an SD breakout that uses all the same pins, except the IRQ.
I should be able to just connect both breakouts to the same pins, shouldn't I? Just for reference, are these the correct pins when using the SPI library?
can anybody tell me if it's possible to have more than one device on the SPI bus, please?
Yes, we can. Yes, you can.
Just for reference, are these the correct pins when using the SPI library?
For one device, yes. Every device has its own slave select pin. 11, 12, and 13 are common. 10 says that the Arduino is master, by being an OUTPUT. 10 can be used as a slave select pin, too.
I'm note sure if the IRQ connection is part of the SPI bus or not...