Embedded Systems & Firmware
What is a characteristic of serial communication with a UART?
- AThe sender drives a clock wire, and the receiver samples data with that clock
- BNo clock wire is used; both sides agree on a communication speed (baud rate), and a start bit marks each character
- CMany devices share one wire and are selected by address
Show answer and explanation
Answer: B. No clock wire is used; both sides agree on a communication speed (baud rate), and a start bit marks each character
A UART communicates asynchronously over two wires, transmit and receive (plus ground). The line idles at 1; a 0 start bit marks the beginning of a character, followed by the data bits and a 1 stop bit at the end. No clock is sent, so both sides must be configured for the same speed, such as 115200 bps. UARTs are commonly used for debug output and for connecting GPS and radio modules.
- A. That is synchronous communication like SPI.
- B. Correct. It is asynchronous serial communication.
- C. Selecting by address is what I2C and similar do.