2. - Widely used in electronics and embedded systems for
device communication .
Master-Slave Architecture:
1-Master Device: Initiates and controls communication.
-
(controlling the communication by generating clock).
-
2-Slave Devices: Respond to master's commands.
2-Support Multi Masters due to (WIRED AND BUS).
3. - Widely used in electronics and embedded systems for
device communication .
-Two-Wire Design:
1-Utilizes two lines: SCL (Serial Clock) and SDA (Serial Data) .
2-SCL: Controls the clock signal for synchronization .
3-SDA: Transmits data between devices .
4. -I2C Characteristics
1-Simplicity: Minimal wiring due to two-wire setup .
2-Versatility: Supports various devices and applications.
3-Multi-Device Capability: Multiple devices share the same bus .
4- work as half duplex only (half duplex (uni directional) data goes
from master to slave and slave to master on same data line
but not at the same time).
State is HIGH.
5- Bus Idle
byte oriented (send 8bit /frame).
6-
7- used to make(communication on board) for short distance usage
5. -I2C Characteristics
8-Addressing Slaves Through a Unique Address on same bus.
9-Supporting Multi Masters on the same bus due to bus arbitration.
10-SlaveAddress support priority (two masters tries to send data at the
same time the master who is tries to call a high priority
slave address send the data first
11- support multiple speeds (we could split it into two types):
a- bidirectional bus(master and slave reads and writes data on bus).
(
b-unidirectional bus(Master Only Sends / Slave Only Sends
DOSEN’TSUPPORTMULTI MASTER.
6. -I2C Characteristics
a- bidirectional bus types provided speeds :
1-standard mode up to 100k bit/sec.
2-fast mode up to 400k bit-sec.
3-fast mode plus up to 1 m bit-sec.
4-high speed mode up to 3.4mbit-sec.
(
b-unidirectional bus(Master Only Sends / Slave Only Sends
5- ultra fast mode up to 5 mbit/sec