Hacker News new | ask | show | jobs
by spacemanmatt 4100 days ago
I'm not seeing an apples:apples comparison even makes sense, having worked with both of these protocols on and off for a 10+ years.

SPI is a fast one-way media bus that might use master, slave, or synthetic clocking, I2C is a slower master-clocked bus. The similarities don't even stop there.

2 comments

SPI is bidirectional as is I2C. They both get used for similar applications, though SPI more often for anything needing a modicum of performance. Microwire or 1-wire should also be brought into the discussion to make it more complete.
There's now Ultra-Fast Mode for I2C that acts a lot like SPI for high-speed 1-way clocking at 5MHz. Mostly for large LED arrays and the like.