Documentation

XCP Protocol Stack

XCP Protocol Stack block (not recommended)

Library

Simulink® Real-Time™ Library of Drivers No Longer Recommended for Use

Description

The XCP Protocol Stack block implements the transportation layer for the communication between the target computer and the CAN network. It also initializes ECUs on CAN networks. Use one XCP Protocol Stack block for each CAN channel.

Block Parameters

Protocol Stack ID

Enter the identifier for the XCP protocol stack. This value must match the value of the Stack ID parameter in the corresponding XCP DAQSTIM block.

CAN TX Port

From the list, select the index of the CAN transmit port.

CAN Rx Port

From the list, select the index of the CAN receive port.

Max CAN Frame Tx (Per sample time)

Enter the maximum number of frames the real-time application can transmit per sample time.

Max CAN Frame Rx (Per Sample time)

Enter the maximum number of frames the real-time application can receive per sample time.

Sample time

Enter the base sample time or a multiple of the base sample time (-1 means sample time is inherited).

See Also

XCP DAQSTIM

Was this topic helpful?