主要内容

Extended CAN ID

R2026b

Use extended 29-bit CAN identifiers for XCP external mode communication

Since R2026b

Model Configuration Pane: Hardware Implementation / Hardware board settings / Target hardware resources / Groups / Host-board connection

Description

Select this parameter to use extended 29-bit CAN identifiers for XCP external mode communication between the host computer and the Arduino board.

By default, XCP on CAN uses standard 11-bit CAN identifiers. Enable this parameter when your CAN network requires extended 29-bit identifiers, for example, when standard identifiers are already in use by other CAN nodes, or when the network architecture mandates extended frames.

This setting affects the valid range for the CAN ID command and CAN ID response parameters.

Dependencies

To enable this parameter:

  1. Set Hardware board to one of these boards:

    • Arduino® Due

    • Arduino Uno R4 Wi-Fi®

    • Arduino Uno R4 Minima

    • Arduino Nano R4

    • Teensy 4.0 (Arduino compatible)

    • Teensy 4.1 (Arduino compatible)

  2. Set Communication interface to XCP on CAN.

Settings

Off (default) | On

Select whether to use standard or extended CAN identifiers for XCP communication.

Off (default)

Use standard 11-bit CAN identifiers. Valid CAN ID range: 0 to 2047.

On

Use extended 29-bit CAN identifiers. Valid CAN ID range: 0 to 536870911.

Recommended Settings

No recommendation.

Programmatic Use

No programmatic use is available.

Version History

Introduced in R2026b