Draft:Controller Area Network XL

Source: Wikipedia, the free encyclopedia.
  • Comment: Lots of claims are uncited; Cites shouldn't be in headings; External links also need to be removed from body and/or added to a section at the bottom if relevant. Mattdaviesfsic (talk) 21:12, 9 January 2023 (UTC)


CAN XL (Controller Area Network eXtended Length) is an extension of the traditional CAN (Controller Area Network) protocol used in automotive and industrial applications for communication between electronic control units (ECUs). The CAN XL protocol was developed by CiA CAN in Automation and is designed to meet the increasing demand for higher bandwidth and longer data frames in modern vehicles and industrial applications.

CAN XL is the third

ISO 11898-1[7] with CAN XL[8]

CAN XL increases the payload data length of a CAN frame from a maximum of 8 bytes in traditional CAN, from a maximum of 64 bytes in CAN FD (Flexible Data rate) to up to 2048 bytes, enabling faster transmission of large data packets. It also offers improved error detection and correction capabilities and supports the use of more flexible data rates up to 20 Mbit/s.

The CAN XL protocol is backward compatible with existing CAN FD[2] networks, allowing for a smooth transition to the new protocol without requiring a complete overhaul of the existing infrastructure. The protocol is expected to be widely adopted in the automotive industry, where it can support emerging applications such as advanced driver assistance systems (ADAS) and autonomous driving. Other application example for the CAN XL is as a backbone in automotive E/E-Architecture.[9]

Comparison of CAN, CAN FD and CAN XL

Property Classical CAN CAN FD CAN XL
Data Field [0 ... 8 byte] [0 ... 64 byte] [1 ... 2048 byte]
Identifier 11 bit & 29 bit 11 bit & 29 bit 11 bit
Bus Access CSMA/CR (Arbitration) CSMA/CR (Arbitration) CSMA/CR (Arbitration)
Acceptance Field 32 bit (Message ID)
VCAN ID 8 bit
SDU Type 8 bit
Bit Stuffing dynamic dynamic

fixed in CRC

dynamic (in arbitration field)

fixed       (in data phase)

CRC 15 bit 17 or 21 bit PCRC: 13 bit

FCRC: 32 bit (outperforms Flexray & Ethernet)

Error Signaling ON ON Software Configurable: ON/OFF
Transceiver Mode Switching Not supported Not supported Software Configurable: ON/OFF
Bit rate ratio: data/arb Up to approx. 16. Up to 40 (e.g. 500 kbit/s & 20 Mbit/s)
Arbitration phase bit rate

Data          phase bit rate

[0 ... 1 Mbit/s]

[0 ... 1 Mbit/s]

[arb. phase bit rate ... 8 Mbit/s]

[0 ... 1 Mbit/s]

[2x arb. phase bit rate ... 20 Mbit/s]

New Functions in CAN XL versus CAN FD

CAN XL offers higher speed, up to 20Mbit/s and data payload, up to 2048 byte compared to CAN FD.

Increases safety with 2x CRC included in the CAN XL protocol.[10]

For higher layers (on Layer 2)[11] the following features in the CAN XL were added:

  • SDT (Service Data Type): SDU[12] (Service Data Unit) Type (8 bit)
    • Indicates the type of the protocol embedded in the data field
    • In the CAN in Automation CiA611-1 (CAN XL higher layer functions - Part 1: Definition of service data unit types) already defines an SDT value for Ethernet Tunneling[13]
  • VCID: Virtual CAN Network ID (8 bit)
    • Allows to separate the CAN network/bus into up to 256 virtual networks
    • Comparable to
      VLAN
      ID in Ethernet
  • AF: Acceptance Field (32 bit)
    • Depending on SDT (Service Data Type) it can contain
      • Message ID or
      • Source/Destination address
    • Allows to support both:
      • Content based addressing
      • Node based addressing

MAC frame format of the CAN XL

MAC frame format of CAN XL[14]: See CiA610-1[15] for the exact frame format.

Arbitration Field Control Field Data Field CRC Field ACK Field EOF Field
Priority ID XL ADS SDT SEC DLC SBC PCRC VCID AF Data Bytes FCRC FCP DAS ACK EOF
Arbitration Phase Data Phase Arbitration Phase
  • „Priority ID: 11-bit ID for bus arbitration, purpose: bus access priority
  • „XL : Placeholder in this graphic for several Bits: e.g. Frame Format Switch → FD to XL Format
  • ADS:  Arbitration Data Sequence → Bit Rate Switching from Arbitration to Data Phase, several bits
  • SDT:  SDU (Service Data Type) Type (8 bit) → indicates the type of the protocol embedded in the data field (comparable to EtherType in Ethernet)
  • SEC:  SEC (1 bit) signals, if further Layer 2 functions added headers to the data field (e.g. Security, Fragmentation)
  • DLC:  Data Length Code (11 bit)
  • SBC:  Stuff Bit Count → count of dynamic stuff bits in the arbitration field, safeguards against specific error types
  • PCRC:  Preface CRC (13 bit) → Safeguards the bits up to PCRC
  • VCID:  Virtual CAN Network ID (8 bit) → allows to separate the CAN Bus into virtual buses (comparable to VLAN ID in Ethernet)
  • AF:  Acceptance Field (32 bit) → Field for the Addressing, the interpretation of this field depends on SDT
  • Data:  1 to 2048 bytes user data
  • FCRC:  Frame CRC (32 bit) → Safeguards the whole frame, i.e. the bits up to the FCRC
  • FCP:  Format Check Pattern → Receiver checks if he is aligned to transmitted bit stream
  • DAS:  Data Arbitration Sequence → Bit Rate Switching from Data to Arbitration Phase
  • ACK:  Positive Acknowledgement, same as in CAN FD
  • EOF: End of Frame, same as in CAN FD

Transceiver - Physical Layer for CAN XL

The CAN XL protocol can operate with all existing physical Transceiver[16] for CAN and CAN FD and the newer CAN SIC (Signal Improvement Capability) Transceiver.[17]

For CAN XL also a new type of Transceiver was defined, the CAN XL SIC Transceiver. This transceiver is defined in the released spec CiA 610-3.[18]

The CAN XL SIC Transceiver with a data bit rate ≥ 8Mbit/s works with a push-pull topology and the Error Signalling is not available in this mode. This mode is called FAST mode.

The CAN XL SIC has two different modes:

  1. SIC (Signal Improvement Capability) mode
    • dominant/recessive (like a CAN SIC transceiver)
    • data rate up to 8Mbit/s
  2. FAST mode
    • TX node: push/pull (0/1)
    • RX node: adjust threshold
    • data rate higher than 8Mbit/s up to 20Mbit/s

Security

CAN XL offers better security possibilities than CAN FD, by implementing the new "CANsec" standard to be sent before frame buffers and ensure message authenticity.[19]

Microcontroller compatibility

Infineon Technologies announced the TC4x series of controllers with CAN XL[20]

NXP Semiconductors offers the NXP S32 Platform

ST Microelectronics offers the Stellar Integration MCUs

References

  1. ^ "Controller Area Network Extra Long (CAN XL)". CAN in Automation (CiA). Retrieved February 3, 2022.
  2. ^ .
  3. ^ "Future of CAN networking in VW's passenger cars". CiA CAN in Automation. Retrieved 2022-05-02.
  4. S2CID 244884757
    – via Springer Link.
  5. ^ "Road vehicles — Controller area network (CAN) — Part 1: Data link layer and physical signalling". ISO. Retrieved 2022-08-25.
  6. ^ "CAN XL submitted for ISO standardization". CAN in Automation. 11 February 2022. Retrieved 2022-08-25.
  7. ^ 14:00-17:00. "ISO 11898-1:2015". ISO. Retrieved 2022-01-28. {{cite web}}: |last= has numeric name (help)
  8. ^ "CAN XL and higher-layer protocols". can-newsletter.org.
  9. ^ "CAN XL als Backbone im Fahrzeug". all-electronics. Retrieved 2022-10-02.
  10. ^ "Evaluation of the CAN XL error detection capabilities". CAN in Automation. 31 March 2021. Retrieved 2022-08-23.
  11. ^ "CAN XL and higher-layer protocols". can-newsletter.org. Retrieved 2022-01-28.
  12. .
  13. ^ "The Art of Networking (Series 5): CAN XL and 10BASE-T1S – Gateway Performance of Two New Actors in the Networking Arena | Renesas". www.renesas.com. Retrieved 2023-09-21.
  14. ^ "CAN in Automation (CiA): Controller Area Network Extra Long (CAN XL)". www.can-cia.org. Retrieved 2022-01-28.
  15. ^ "CiA 610-1". CiA CAN in Automation.
  16. ^ Hell, Magnus (September 2021). "The Physical Layer in the CAN XL world". ResearchGate. Retrieved 2022-10-17.
  17. ^ "Physical layer options". CAN in Automation (CiA). Retrieved February 3, 2022.
  18. ^ "CAN XL Medium Attachment Unit". embeddedcomputing.
  19. ^ Hammerschmidt, Christoph (2022-06-22). "Security IP hardens CAN XL against cyber attacks". eeNews Europe. Retrieved 2023-09-21.
  20. ^ AG, Infineon Technologies. "Erstes Silizium verfügbar: Infineon baut führende Position als Automotive-Halbleiterlieferant mit der nächsten AURIX™-Generation TC4x weiter aus - Infineon Technologies". www.infineon.com. Retrieved 2022-01-28.

External links