주요 콘텐츠

CAN module

R2026b

On-board CAN controller module for XCP on CAN external mode communication

Since R2026b

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

Description

Select the on-board CAN controller module on the Arduino® hardware to use for XCP on CAN external mode communication. The available CAN modules depend on the selected Arduino board.

Note

XCP on CAN external mode is supported only on Arduino boards with on-board CAN controllers. Boards that use SPI-based CAN modules (such as MCP2515 shields) are not supported.

The selected CAN module determines which physical CAN pins on the Arduino board carry the XCP communication. When you change the CAN module, the CAN Bus Speed (kBit/s) parameter automatically updates to match the bus speed configured for that module in the onboard CAN properties.

The available CAN modules depend on the selected hardware board.

Hardware BoardAvailable CAN Modules
Arduino DueCAN0, CAN1
Arduino Uno R4 Wi-Fi®CAN0
Arduino Uno R4 MinimaCAN0

Arduino Nano R4

CAN0
Teensy 4.0CAN1, CAN2, CAN3
Teensy 4.1CAN1, CAN2, CAN3

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

first available CAN module for the selected board (default) | dynamically populated based on the selected hardware board

Select the on-board CAN module from the drop-down list. The list shows only the CAN modules available on the selected hardware board.

Recommended Settings

No recommendation.

Programmatic Use

No programmatic use is available.

Version History

Introduced in R2026b