Hi,
What is a interface, what is a protocol?
An interface is the hardware that supports the basic functions of type the communication path.
All three (UART, I2C, SPI) use shift registers .. and maybe (digital) filters and the signal drivers.
A protocol describes the meaning of the bits, maybe timing, maybe other functions like arbitration and parity generation...
Thus I´d say UART and SPI are clear interfaces and no protocols. No meaning of a bit is defined.
I2C is both, since the standard describes the electrical interface, as well as timing, arbitration and meaning of bits. It also describels when which driver is active or not.
It always satrts with START, then ADDRESS, then DIRECTION ... then data.
UART describes just the basic function of serializing deserializing the data (stream).
It can be used with different baud rates, different charater bit widths, parity or not. You can use UART with a wire as medium, but also POF, glas fiber, IR via air, ...
It can be used with different signal drivers, like RS232, RS485, RS488 ...
It can be used with different protocols like MODBUS, PROFIBUS, fro printers, for modems...
With humans:
* the "interface is": mouth, tongue, vocal cords, lips .. but also the air ... and the ear, with all it´s detailes .. to the nerves.
* the "protocol" is: the language.
You may use different protocols with one interface.
You may use different interfaces with one protocol.
Klaus
Klaus