protocol - muneeb-mbytes/linux_course GitHub Wiki

Serial protocol divided into two types:

  • Serial synchronous protocol
  • Serial asynchronous protocol - UART

Serial synchronous protocol - SPI protocol SPI Protocol

  • Used for longer distance
  • Communication done with outside chip.
  • Master and slave have different clocks because both are working in different chip.

Limitation

  • serial synchronous protocol cannot be used for more distance.

Serial asynchronous protocol - UART

  • UART communication happens between single line.
  • Full duplex Ccommunication
  • UART has start bit and stop bit to indicate when the data transfer done.
  • High speed communication protocol
  • If distance is more, data loss may happen.
  • UART uses 128B/130B encoding for data transmission

Parallel Protocol

  • Parallel Synchronous protocol
  • Parallel Asynchronous protocol

Parallel Synchronous protocol - APB Protocol

  • Half duplex communication
  • Working on system clock

Parallel Asynchronous protocol - AXI protocol

  • Burst based transaction
  • Full duplex Communication