What is I2C?
I2C connects a controller to addressed chips using shared clock and data lines. Pull-ups create the high level, and correct addresses, capacitance, and electrical loading are essential for reliable short interchip connections.
The key idea
I2C uses the SCL clock line and SDA data line to connect a controller with addressed devices, commonly on the same board. Devices usually pull these lines low and release them so pull-up resistors create the high level. An address chooses the target chip, which acknowledges received bytes. A robot might read an inertial sensor over this bus. Integration needs to check address assignments, pull-up values, and total bus capacitance. For long or noisy cables, the electrical limitations can make another physical communication link more appropriate than simply extending the interchip bus.
What to remember
- SCL carries clock and SDA carries data.
- Pull-ups raise released bus lines.
- Check addresses, pull-ups, and bus capacitance.
Check your understanding
How is a high logic level commonly produced on I2C lines?
Show the explanation
Devices release the line, and a pull-up resistor raises it.