How Chips Talk: I2C vs SPI vs UART, Explained

Опубликовано: 19 Июль 2026
на канале: Bare Metal
6
0

Inside every phone, watch, and gadget you own, dozens of chips are in constant conversation over tiny copper wires. They do it in three little languages: UART, SPI, and I2C. This video builds all three from absolute first principles: what a bit on a wire actually is, why the real problem is agreeing on TIME, and how each protocol solves it in a completely different way.

Chapters
0:00 The three languages
0:17 One brain, many helpers
0:44 A wire says one thing at a time
1:10 The core problem: when to sample
1:42 Two answers: share a clock, or agree on speed
2:09 UART: no clock, just trust
2:32 The UART frame: start, data, stop
3:03 Baud rate: agree, or get garbage
3:33 SPI: bring your own clock
4:04 Shift registers: two bytes trade places
4:35 The price of speed: pins
5:06 I2C: the two wire party line
5:31 Addresses: call each chip by name
6:03 The open drain trick
6:34 The scoreboard
7:04 One watch, three languages
7:33 Find them on a Raspberry Pi
7:59 Same job, three accents

Credits
Raspberry Pi 4 Model B photo by Laserlicht, Wikimedia Commons, CC BY-SA 4.0 (https://commons.wikimedia.org/wiki/Fi...)
Narration synthesized locally with the Supertonic TTS engine.