UART Design

Philipp Wagner

State Machines


Image courtesy Wikipedia


Two wire serial connection protocol

  • Tx wire to transmit
  • Rx wire to receive

The EHW5 UART: Set to 3.3V!


UART protocol

The UART protocol sends a start bit, 8 data bits and a stop bit


The idle state is high, so start bit is low. The stop bit is high.


Exercise 4: Hardware


The EHW5 UART: Set to 3.3V!


Exercise 5

Two exercises

  • Build a UART Transmitter (uart directory)
  • Build a UART Receiver (uart_receiver directory)

The UART to USB will need a suitable terminal program on the PC (Teraterm on PC, screen or miniterm on Mac/Linux).