I hesitate to disagree with Clemens Ladisch, but my observation is that the I2C unit was designed with interrupts in mind, and trying to Not use interrupts is kind of a "square peg" exercise. (If I get to that situation I resort to bit-banging.) What you Do need to do is make sure to follow very carefully the state diagram in e.g. SLAU208P Figure 38-12.
↧