A controller performs an I²C combined read at a constant SCL frequency of 400 kHz. It sends a seven-bit target address plus a write bit, receives ACK, sends one eight-bit register number, and receives ACK. It then generates a repeated START, sends the same seven-bit target address plus a read bit, and receives ACK. Finally, it receives five eight-bit data bytes, sending ACK after the first four and NACK after the fifth, then generates STOP.
Each ACK or NACK occupies one clock cycle. There is no clock stretching or software gap. The nonclocked START, repeated-START, and STOP timing intervals add 7.5 microseconds in total, beyond the complete clock cycles. What is the total transaction duration?
187.5 μs187.5\ \mu\text{s}187.5 μs
180.0 μs180.0\ \mu\text{s}180.0 μs
185.0 μs185.0\ \mu\text{s}185.0 μs
165.0 μs165.0\ \mu\text{s}165.0 μs
167.5 μs167.5\ \mu\text{s}167.5 μs
Unlock full course notes by signing up
Constructing I²C address bytes
A microcontroller communicates with three I²C devices using 7-bit target addressing. An address byte contains the seven target-address bits followed by a direction bit: 0 for a write or 1 for a read, viewed from the controller.
The device addresses below use hexadecimal notation. Complete the table with the exact decimal integer value of each transmitted address byte. Do not include any following acknowledgement bit.
A parity change under a transmission deadline
A data logger produces a complete 20-byte record every 11.0 ms. Each record is ready at the beginning of its interval and must finish transmission before the next record becomes ready. Every byte is sent as a separate UART frame, with no gaps, headers, retransmissions, or other traffic.
The original configuration is 19,200 bit/s, with one start bit, eight data bits, no parity, and one stop bit. An engineer proposes adding one even-parity bit per frame while keeping the same rate. The engineer claims that the revised configuration still meets the deadline and detects every error involving exactly two flipped data bits within one byte; assume those errors leave the parity, start, and stop bits unchanged.
Evaluate both claims and enter four results: