0
0
Embedded Cprogramming~5 mins

I2C bus architecture (SDA, SCL) in Embedded C - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What does SDA stand for in I2C bus architecture?
SDA stands for Serial Data Line. It is the line used for transferring data between devices on the I2C bus.
Click to reveal answer
beginner
What is the role of the SCL line in I2C communication?
SCL stands for Serial Clock Line. It provides the clock signal that synchronizes data transfer on the I2C bus.
Click to reveal answer
intermediate
Why are SDA and SCL lines open-drain/open-collector in I2C?
They are open-drain/open-collector to allow multiple devices to share the bus without conflicts. Devices can only pull the line low, and a pull-up resistor brings the line high when no device is pulling it low.
Click to reveal answer
intermediate
How does the master device use SDA and SCL to start communication on the I2C bus?
The master generates a START condition by pulling SDA low while SCL is high. This signals all devices that a communication session is beginning.
Click to reveal answer
intermediate
What happens on the I2C bus when the master sends a STOP condition?
The master releases SDA from low to high while SCL is high. This signals the end of communication and frees the bus for other devices.
Click to reveal answer
What does the SDA line do in I2C communication?
ATransfers data between devices
BProvides the clock signal
CSupplies power to devices
DResets the bus
Why are pull-up resistors used on SDA and SCL lines?
ATo allow devices to pull lines low safely
BTo provide power to the devices
CTo speed up data transfer
DTo prevent devices from communicating
What condition does the master generate to start communication on the I2C bus?
ASTOP condition
BSTART condition
CRESET condition
DACK condition
Which line carries the clock signal in I2C?
ASDA
BSCL
CVCC
DGND
What does an open-drain configuration allow on the I2C bus?
AMultiple devices to drive the line high simultaneously
BMultiple devices to safely pull the line low without conflict
COnly one device to communicate at a time
DFaster data transfer speeds
Explain the roles of SDA and SCL lines in the I2C bus architecture.
Think about how devices talk and keep time on the bus.
You got /4 concepts.
    Describe how the I2C master starts and stops communication using SDA and SCL lines.
    Focus on the changes in SDA line while SCL is high.
    You got /4 concepts.