Pro lesson · Preview
I2C
Many devices on two wires: open-drain SDA/SCL with pull-ups, 7-bit addressing, ACK/NACK handshaking, clock stretching, and why a missing pull-up is the classic I2C failure.
26 min read
This lesson is part of Pro
Upgrade to unlock the full lesson and the complete interview Q&A.
Unlock with Pro6 interview questions on this topic
Each one opens a full worked answer.
Why does I2C use open-drain lines with pull-up resistors?Walk through how a master reads a register from an I2C device.What is clock stretching?You put two of the same sensor on an I2C bus and one doesn't respond. Why?The whole I2C bus is dead, SDA or SCL stuck. How do you diagnose it?What are the I2C bus speed modes, and what limits how fast you can actually run the bus?
This is just the start
Sign up free to track your progress through this course, mark lessons complete, and work through the full interview Q&A.