Communication Protocols · Interview question

What's the difference between synchronous and asynchronous serial communication?

A strong answer

It's about how the receiver knows when to sample each bit. Synchronous communication has a dedicated clock line that the transmitter drives alongside the data; the receiver samples the data on each clock edge, so no prior rate agreement is needed and the link works at whatever speed the devices can follow, SPI and I2C are synchronous. Asynchronous communication has no clock line: both ends agree in advance on a bit rate (baud), and the receiver detects a start bit to mark the beginning of a frame, then samples at the agreed interval, recovering timing locally, UART is asynchronous. The tradeoff is a wire for a constraint: synchronous spends an extra pin on the clock but tolerates any speed and clock drift, while asynchronous saves the wire but demands both ends keep accurate, matched bit timing (typically within a few percent), or the sampling drifts off the bits and the data garbles.

What a weak answer sounds like

You know the answer. Do you know what gets you dinged?

Pro breaks down the answer most candidates actually give to this question — and the specific reason an interviewer marks it down. It’s the difference between sounding correct and sounding senior, on all 472 questions.

From the lesson

Serial vs Parallel, Sync vs Async

The two axes that classify every bus: serial vs parallel (one wire or many) and synchronous vs asynchronous (shared clock or agreed-upon rate), and where UART, SPI, I2C, and CAN land.

More Serial vs Parallel, Sync vs Async questions

Browse all 472 interview questions
What's the difference between synchronous and asynchronous serial communication? | EmbeddedPrep.io