Log in

View Full Version : IC2 or SPI


wdburk3160
19-01-2013, 16:33
I'm wanting to program an accelerometer and I'm wondering what the advantages and disadvantages to both the I2C or SPI methods are.

Alan Anderson
19-01-2013, 17:47
For our purposes, there's not much to recommend one over the other. I2C can handle many different devices on the same communication bus, but the devices have to support that. SPI is simple to implement, but needs separate wires to select individual devices in order to have more than one.

If you only want to connect a single accelerometer and it works with SPI, I'd choose it for its simplicity.

inkspell4
19-01-2013, 21:45
I believe that SPI is not standard between all devices.

Please Correct Me If I'm Wrong