SLOA101B August   2002  – May 2016 SN55HVD233-SEP , SN65HVDA1040A-Q1 , SN65HVDA1050A-Q1 , SN65HVDA540-5-Q1 , SN65HVDA540-Q1 , SN65HVDA541-5-Q1 , SN65HVDA541-Q1 , SN65HVDA542-5-Q1 , SN65HVDA542-Q1

 

  1.   Introduction to the Controller Area Network (CAN)
    1.     Trademarks
    2. 1 Introduction
    3. 2 The CAN Standard
    4. 3 Standard CAN or Extended CAN
      1. 3.1 The Bit Fields of Standard CAN and Extended CAN
        1. 3.1.1 Standard CAN
        2. 3.1.2 Extended CAN
    5. 4 A CAN Message
      1. 4.1 Arbitration
      2. 4.2 Message Types
        1. 4.2.1 The Data Frame
        2. 4.2.2 The Remote Frame
        3. 4.2.3 The Error Frame
        4. 4.2.4 The Overload Frame
      3. 4.3 A Valid Frame
      4. 4.4 Error Checking and Fault Confinement
    6. 5 The CAN Bus
      1. 5.1 CAN Transceiver Features
        1. 5.1.1  3.3-V Supply Voltage
        2. 5.1.2  ESD Protection
        3. 5.1.3  Common-Mode Voltage Operating Range
        4. 5.1.4  Common-Mode Noise Rejection
        5. 5.1.5  Controlled Driver Output Transition Times
        6. 5.1.6  Low-Current Bus Monitor, Standby and Sleep Modes
        7. 5.1.7  Bus Pin Short-Circuit Protection
        8. 5.1.8  Thermal Shutdown Protection
        9. 5.1.9  Bus Input Impedance
        10. 5.1.10 Glitch-Free Power Up and Power Down
        11. 5.1.11 Unpowered Node Protection
        12. 5.1.12 Reference Voltage
        13. 5.1.13 V-Split
        14. 5.1.14 Loopback
        15. 5.1.15 Autobaud Loopback
      2. 5.2 CAN Transceiver Selection Guide
    7. 6 Conclusion
    8. 7 Additional Reading
  2.   Revision History

Standard CAN

bit11_id_loa101.gifFigure 2. Standard CAN: 11-Bit Identifier

The meaning of the bit fields of Figure 2 are:

  • SOF–The single dominant start of frame (SOF) bit marks the start of a message, and is used to synchronize the nodes on a bus after being idle.
  • Identifier-The Standard CAN 11-bit identifier establishes the priority of the message. The lower the binary value, the higher its priority.
  • RTR–The single remote transmission request (RTR) bit is dominant when information is required from another node. All nodes receive the request, but the identifier determines the specified node. The responding data is also received by all nodes and used by any node interested. In this way, all data being used in a system is uniform.
  • IDE–A dominant single identifier extension (IDE) bit means that a standard CAN identifier with no extension is being transmitted.
  • r0–Reserved bit (for possible use by future standard amendment).
  • DLC–The 4-bit data length code (DLC) contains the number of bytes of data being transmitted.
  • Data–Up to 64 bits of application data may be transmitted.
  • CRC–The 16-bit (15 bits plus delimiter) cyclic redundancy check (CRC) contains the checksum (number of bits transmitted) of the preceding application data for error detection.
  • ACK–Every node receiving an accurate message overwrites this recessive bit in the original message with a dominate bit, indicating an error-free message has been sent. Should a receiving node detect an error and leave this bit recessive, it discards the message and the sending node repeats the message after rearbitration. In this way, each node acknowledges (ACK) the integrity of its data. ACK is 2 bits, one is the acknowledgment bit and the second is a delimiter.
  • EOF–This end-of-frame (EOF), 7-bit field marks the end of a CAN frame (message) and disables bit-stuffing, indicating a stuffing error when dominant. When 5 bits of the same logic level occur in succession during normal operation, a bit of the opposite logic level is stuffed into the data.
  • IFS–This 7-bit interframe space (IFS) contains the time required by the controller to move a correctly received frame to its proper position in a message buffer area.