Hacker News new | ask | show | jobs
by donquichotte 11 days ago
There is really no good reason to ever use I2C, except if that's the only interface your peripheral supports. Debugging a stuck I2C bus, and attempting to un-brick the bus for a stuck slave (disabling ISRs, unhooking DMA, reconfiguring pins to GPIO, clocking the slave out of its coma and then doing everything in reverse) is just not worth it.

EDIT: I was hoping for HaLow WiFi!

2 comments

No. I2C is popular for a reason. It is cheap, fast enough, well understood, available everywhere, uses less lines and less physical space than almost all alternatives (excluding one wire buses which are far less standardized and far more limited), and supports multi-drop.

This thing should be called what it is: an I2C multiplexer. Such things are not new.

Yeah there's a reason why all of the high reliability chips I use only come with SPI interfaces. The last time I used i2c for anything but hobbyist stuff was in college.