Transport XCP messages via CAN
Vehicle Network Toolbox: CAN Communication
Vehicle Network Toolbox: XCP Communication
The XCP CAN Transport Layer subsystem uses the specified device to transport and receive XCP messages.
Use this block with an XCP Data Acquisition block to acquire and analyze specific XCP messages. Use this block with an XCP Data Stimulation block to send specific information to modules.
The XCP communication blocks support the use of Simulink® Accelerator™ and Rapid Accelerator mode. Using this feature, you can speed up the execution of Simulink models. For more information on this feature, see the Simulink documentation.
The XCP communication blocks support code generation with limited deployment capabilities. Code generation requires a C++ compiler that is compatible with the code generation target. For more information, see Supported and Compatible Compilers.
Select a CAN device from the list of devices available to your system.
bus speed property for the selected device.
The default bus speed is the default assigned by the selected device.
Specify the sampling time of the block during simulation, which is the simulation time as described by the Simulink documentation. This value defines the frequency at which the XCP CAN Transport Layer subsystem and the underlying blocks run during simulation. If the block is inside a triggered subsystem or to inherit sample time, you can specify –1 as your sample time. You can also specify a MATLAB® variable for sample time. The default value is 0.01 (in seconds).