Automotive Semiconductors and Functional Safety

In CAN, what happens when two nodes start transmitting frames at the same time?

  1. AThe two frames collide and both are corrupted, so both nodes wait a random time before retransmitting
  2. BThe frame with the smaller ID value (higher priority) continues transmitting and the losing node stops and retransmits later, so the winning frame is not corrupted
  3. CThe frame with the larger ID value takes priority, and the frame with the smaller ID value is discarded and not retransmitted
Show answer and explanation

Answer: B. The frame with the smaller ID value (higher priority) continues transmitting and the losing node stops and retransmits later, so the winning frame is not corrupted

On a CAN bus, when 0 (dominant) and 1 (recessive) are driven simultaneously, 0 wins. A transmitting node compares each bit it sends with the bus state and, if it sent a 1 but sees a 0, judges that it has lost arbitration and stops transmitting. Since the ID is sent first, smaller ID values have higher priority, and the winning frame arrives intact. This is called non-destructive arbitration. Waiting a random time after a collision is the CSMA/CD method of early Ethernet.

Practice this topic Back to topic

Books on Automotive Semiconductors and Functional Safety Ad

As an Amazon Associate I earn from qualifying purchases.

More Automotive Semiconductors and Functional Safety questions

  1. On a CAN bus with 120 Ω termination resistors at both ends, the resistance between CAN_H and CAN_L was measured with the power off. Which value is closest to that of a normal bus?
  2. Which correctly describes a feature of CAN FD?
  3. Which correctly describes a feature of the in-vehicle network LIN?
  4. Which correctly describes a feature of the in-vehicle network FlexRay?
  5. Which correctly describes a feature of automotive Ethernet (100BASE-T1, 1000BASE-T1, etc.)?