Recall & Review
beginner
What is a start condition in I2C communication?
A start condition signals the beginning of a data transfer on the I2C bus. It is created when the data line (SDA) goes from high to low while the clock line (SCL) is high.
Click to reveal answer
beginner
What does a stop condition indicate in I2C communication?
A stop condition signals the end of a data transfer on the I2C bus. It happens when the data line (SDA) goes from low to high while the clock line (SCL) is high.
Click to reveal answer
intermediate
How do you generate a start condition in embedded C for I2C?
To generate a start condition, first ensure SDA and SCL are high. Then pull SDA low while SCL stays high. This tells all devices on the bus that communication is starting.
Click to reveal answer
intermediate
How do you generate a stop condition in embedded C for I2C?
To generate a stop condition, keep SCL high and change SDA from low to high. This signals the end of communication and releases the bus for other devices.
Click to reveal answer
beginner
Why are start and stop conditions important in I2C communication?
They mark the boundaries of data transfer. Start condition tells devices to listen, and stop condition tells them communication is done. Without them, devices can't sync properly.
Click to reveal answer
What happens to the SDA line during a start condition in I2C?
✗ Incorrect
The start condition is defined by SDA changing from high to low while SCL remains high.
During a stop condition, what change occurs on the SDA line?
✗ Incorrect
The stop condition happens when SDA changes from low to high while SCL is high.
Why must SCL be high during start and stop conditions?
✗ Incorrect
In I2C, data line changes are recognized only when the clock line (SCL) is high.
What does a start condition tell devices on the I2C bus?
✗ Incorrect
Start condition signals devices to prepare for data transfer.
What is the main purpose of the stop condition?
✗ Incorrect
Stop condition marks the end of communication and frees the bus for others.
Explain how start and stop conditions are generated on the I2C bus and why they are important.
Think about how the data and clock lines behave during these conditions.
You got /5 concepts.
Describe the role of start and stop conditions in coordinating communication between devices on an I2C bus.
Consider how devices know when to send or receive data.
You got /4 concepts.