Embedded Systems & Firmware
In I2C, how does the receiver of a data byte acknowledge it?
- AThe receiver holds a separate line at 1
- BDuring the ninth clock, the receiver pulls SDA low (ACK)
- CThe receiver echoes the same byte back
Show answer and explanation
Answer: B. During the ninth clock, the receiver pulls SDA low (ACK)
In I2C, on the ninth clock after the 8 data bits, the receiver acknowledges by pulling SDA low (ACK). If no one pulls it low, SDA stays at 1 through the pull-up, which is a NACK. If no ACK follows an address, the device may be missing, the wiring broken or the address wrong, which provides a clue when troubleshooting.
- A. I2C has no separate acknowledge line.
- B. Correct. Not pulling it low is a NACK.
- C. The byte is not echoed back.