Professional Documents
Culture Documents
7 Automotive CAN
7 Automotive CAN
7 Automotive CAN
• Need
– Reduce wiring
– Transfer large amount of data at high speed
– Need for multi cast
– Robust error checking
– Fault tolerance
– Flexibility …
CAN Network
CAN Controller
CAN controller deals with the communication functions described by
the CAN protocol. It also triggers the transmission, or the reception of
the CAN messages.
CAN Transceiver
CAN transceiver is responsible for the transmission or the reception of
the data on the CAN bus. It converts the data signal into the stream of
data collected from the CAN bus that the CAN controller can
understand.
CAN uses unshielded twisted pair cable is used to transmit or
receive the data.
It is also known as CAN bus, and CAN bus consists of two lines,
i.e., CAN low line and CAN high line, which are also known as
CANH and CANL, respectively.
The CAN uses twisted pair cable and differential voltage because
of its environment.
Protocol Types
8 BYTES
5. Error Handling
• CAN protocol provides mechanisms for
– Error detection
– Error Notification
– Error Recovery
CAN Media Access
RTR=1
• SOF - Start of Frame bit.
It indicates start of message and used to
synchronize the nodes on a bus. A dominant
bit in the field marks the start of frame.
• IDENTIFIER - It serves dual purpose one, to
determine which node has access to the bus
and second to identify the type of message.
(Arbitration field)
This field indicates the priority of data. The
structure of this field differs between the
standard and extended formats. 11 or 29 bits
• Control field: This 6-bit field indicates the number of
data bytes in a message to be transmitted. The
structure of this field differs between the standard
and extended formats.
RTR: Remote Transmission Request.
It identifies whether it’s a data frame or a remote
frame .RTR is dominant when it is a data frame and
recessive when it is a remote frame.
0 = Data frame (Write)
1 = Remote Frame (Read)
IDE: Identifier Extension
It is used to specify the frame format. Dominant bit is
for standard frame and recessive for extended frame.
IDE bit
0 = Standard ID (11 bit)
1 = Extended ID (29 bit)