Design Modules

UART

This section describes the generic UART module which is re-used for both channels 1 & 2.


Block Diagram

../_images/uart_arch_light.svg ../_images/uart_arch_dark.svg

TX State Machine

        stateDiagram-v2
    direction LR
    [*] --> IDLE: POR
    IDLE --> TX_RUNNING: i_tx_wr_en = '1'
    TX_RUNNING --> DONE: w_tx_done = '1'
    DONE --> IDLE
    

RX State Machine

        stateDiagram-v2
    direction LR
    [*] --> IDLE: POR
    IDLE --> RX_RUNNING: w_start_bit_detected = '1'
    RX_RUNNING --> DONE: w_rx_done = '1'
    DONE --> IDLE