Question: how uart communication protocol works?
Answer: As a “universal” setup, we can configure UART to work with many different types of serial protocols. ...  In a UART communication scheme: One chip's Tx (transmit) pin connects directly to the other's Rx (receive) pin and vice versa. ...  Data travels to and from a UART in parallel to the controlling device (e.g., a CPU).