I2C Flashcards
Start Condition (I2C Message)
The SDA line switches from a high voltage level to a low voltage level before the SCL line switches from high to low.
Stop Condition (I2C Message)
The SDA line switches from a low voltage level to a high voltage level after the SCL line switches from low to high.
Address Frame (I2C Message)
A 7 or 10 bit sequence unique to each slave that identifies the slave when the master wants to talk to it. This process is also known as addressing.
Read/Write Bit: (I2C Message)
A single bit specifying whether the master is sending data to the slave (low voltage level) or requesting data from it (high voltage level).
ACK/NACK Bit: (I2C Message)
Each frame in a message is followed by an acknowledge/no-acknowledge bit. If an address frame or data frame was successfully received, an ACK bit is returned to the sender from the receiving device.
I2C
- Stands for Inter-Integrated Circuit or Two-Wire Interface
- A serial communication protocol in which the data is transferred bit by bit along the SDA line.
- It also synchronous so each bit is synchronized with the sampling of bits by the clock signal (every clock pulse), SCL. This signal is controlled by the master
How many bits does the data frame consist of in the I2C Message?
8 Bits
What is the typical order of an I2C message?
- Start Condition
- Address Frame
- Read/Write Bit
- ACK/NACK Bit
- Data Frame (Master sends or receives data to/from Slave)
- ACK/NACK Bit
- Optional Data Frame: Repeat 4, 5, 6.
- Stop Condition
Standard Mode (I2C)
100kbps
Fast Mode (I2C)
400kbps
High Speed Mode
3.4Mbps
Ultra Fast Mode
5Mbps
What is the Max # of Masters for I2C?
Unlimited
What is the Max # of Slaves for I2C
1008
What are the configurations for master and slave for I2C?
- Single Master to multiple slaves
2. Multiple Master to multiple slaves