Functions to pack and transmit or receive and unpack CAN messages are provided. These functions also report status information, for example: bus off. User selectable data types for the message fields are supported at the Simulink block level.
Functions to use Vector CANdb files to define CAN messaging are provided:
Designed to work with ASAM (ASAP 1 and 2) compliant calibration tools. Data acquisition is at configurable rates for variables in the model, allowing the bandwidth available over CCP to be maximised. The CCP handler uses CAN transmit and receive functionality in the same way as the model (but these are largely hidden and not exposed through the model).
Functions to pack and transmit or receive and unpack J1939 messages are provided. User selectable data types for the message fields are supported at the Simulink block level.
Section 5.1.50, “J1939 configuration (pj1939_Configuration)”
Section 5.1.51, “J1939 channel configuration (pj1939_ChannelConfiguration)”
Section 5.1.59, “J1939 parameter group requested (pj1939_PgRequested)”
Section 5.1.58, “J1939 parameter group receive message (pj1939_PgReceive)”
Section 5.1.60, “J1939 parameter group transmit (pj1939_PgTransmit)”
Section 7.7.54, “J1939 send acknowledgement message (pj1939_SendAck)”
Functions to handle diagnostic messaging are provided:
Functions to help diagnose missing CAN signals are also provided: