Professional Documents
Culture Documents
Communication
Protocols
Topics for discussion
● I2C Bus
● CAN Bus
● USB Bus
Serial bus communication protocols
● I2C Bus, CAN Bus and USB Bus are widely used serial
bus communication protocols for serial communication.
I2C Inter Integrated Circuit.
I2C Bus
● I2C bus has two lines that carry the signals - one line is for
the clock and the other one is for bidirectional data.
● I2C protocol has specified fields.
● Each field has a specific number of bits and sequences
and time intervals between them.
I2C BUS signals:
Start Condition: The SDA line switches from a high voltage
level to a low voltage level before the SCL line switches
from high to low.
START signal
7 bit address sending
ACK signal for address detection
Transmission of data
ACK signal for data detection
STOP condition
Data transfer speed
– Controller Area
Networks are used in
many different fields,
the bulk of which are
• Auto-motive industry
• Factory Automation
• Machine Control
• Medical Equipment
and devices
• And more….
Fig: Network of number of CAN controllers and devices on a CAN bus
‘Differential Signaling’
• Here two signal wires CAN_L & CAN_H (Low & High) are seen
• This is called ‘Differential Signaling’ in which the effective signal on
the bus is the difference of voltages in these two wires with respect
to ground
• When a common noise signal appears on the two wires, they are
subtracted off while taking the difference between the two bus signal
voltages
Physical Interface
• Dominant low
(voltage) line
• Recessive high line
• Bus must be
terminated
DIFFERENTIAL Signalling: BUS Topology
• Bit encoding:
• Voltage difference
“dominant” bit == logical 0
● USB 2.0 (low-speed data transfer rate of 1.5 Mbps & high-speed
480 Mbps),
SYNC -The clock for the data transfer is encoded & inserted in this field.
PID (Packet Identifier) - used to identify the type of packet that is being sent
Data - The data field may range from zero to 1024 bytes