Thread: IC2 or SPI
View Single Post
  #2   Spotlight this post!  
Unread 19-01-2013, 17:47
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: IC2 or SPI

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.
Reply With Quote