CAN ID response
R2026bSpecify the CAN identifier for XCP response messages from target to host
Since R2026b
Model Configuration Pane: Hardware Implementation / Hardware board settings / Target hardware resources / Groups / External mode
Description
Use the CAN ID response parameter to specify the CAN identifier that Raspberry Pi® uses to send XCP response packets back to the host computer during external mode communication.
The host computer listens on this CAN ID for incoming XCP responses from the target hardware. Ensure that this CAN ID does not conflict with other CAN messages on the bus.
Dependencies
To enable this parameter, set Communication interface to
XCP on CAN.
Settings
3 (default) | integerEnter the CAN identifier for XCP response messages.
3(default)Default CAN ID for response messages from Raspberry Pi to the host computer.
- Custom value
Specify a CAN ID that does not conflict with other CAN messages on the bus. The valid range depends on the Extended CAN ID setting: 0 to 2047 (0x7FF) for standard 11-bit identifiers, or 0 to 536870911 (0x1FFFFFFF) for extended 29-bit identifiers.
Recommended Settings
No recommendation.
Programmatic Use
| No programmatic use is available. |
Version History
Introduced in R2026b
See Also
External mode | Communication interface | CAN ID command | Extended CAN ID