Using an UART to send and receive data is a very common way to communicate between two devices. A common approach to receiving data from an UART