Serial Protocols
UART, I²C, and SPI are how chips talk on a board; you implement at least one of them rather than treating the bus as magic. This subject is wiring the bus correctly (pull-ups, clock, CS, common ground), talking to a device, and using a logic analyzer when the bytes are wrong. Protocol concepts are in Communication protocols.
Starting Points
- Communication protocols
- NXP. I²C-bus specification (overview chapters).
- Your MCU SDK examples for UART / I²C / SPI.
Key Points
- You wire one serial bus correctly for your voltage domain and verify it with a meter or analyzer.
- You exchange data with a peripheral using the SDK or registers, and you handle NACKs or timeouts instead of ignoring errors.
- You explain which protocol you chose and why (speed, number of devices, distance, existing pins).
- You capture a transaction and match bytes to the datasheet command set.
- You keep bus wiring and addresses documented (who is master, what the 7-bit address is, which CS line).