How Boards Talk | UART, SPI, I2C & Embedded Interfaces
UART, SPI and I²C differ in how devices time transfers and select a peer. Those differences determine signal count and which devices can share a connection.
The key idea
UART endpoints agree on a bit rate and use start and stop bits. SPI supplies a clock and commonly selects a peripheral with a dedicated select line, while I²C carries an address on shared clock and data lines.
What to remember
- UART endpoints must agree on the frame format and bit rate.
- Shared I²C devices need distinguishable addresses on the same bus segment.
Check your understanding
Why can adding an identical second I²C sensor be harder than adding another SPI peripheral?
Show the explanation
If both sensors use the same fixed I²C address, they answer together. Conventional SPI can distinguish the extra peripheral with its own select line.