xPC Target    

CAN I/O Support


This chapter includes the following sections:
Introduction
xPC Target offers support to connect a target PC to a CAN network using the CAN driver blocks provided by the xPC Target I/O block library for I/O device drivers for the CAN-AC2-ISA and CAN-AC2-PCI boards from Softing GmbH (Germany)
CAN Driver Blocks for the CAN-AC2 (ISA) with Philips PCA 82C200 CAN-Controller
The driver blocks described here support the CAN-AC2 (ISA) without piggyback modules.
CAN Driver Blocks for the CAN-AC2 (ISA) with Intel 82527 CAN-Controller
The driver blocks described here support the CAN-AC2 (ISA) with piggyback modules.
CAN Driver Blocks for the CAN-AC2-PCI with Philips SJA1000 CAN-Controller
The driver blocks described here support the CAN-AC2-PCI.
CAN Driver Blocks for the CAN-AC2-104 (PC/104) with Philips SJA1000 CAN-Controller
The driver blocks described here support the CAN-AC2-104 (PC/104).
Constructing and Extracting CAN Data Frames
CAN data frames have a maximum size of 8 bytes (64 bits). For the CAN driver blocks found in the xPC Target I/O block library, Simulink signals of data type double are used to propagate data frames as an entity.
Detecting Time-outs When Receiving CAN Messages
The Receive driver blocks for all CAN boards allow to output the timestamp at which the latest corresponding CAN message has been received.
Model Execution Driven by CAN-Messages (Interrupt Capability of CAN Receive Blocks)
In certain application it is necessary that the model (target application) execution is driven by the pace of an incoming CAN message.
Defining Initialization and Termination CAN Messages
The CAN Setup driver blocks for all supported CAN boards allow the definition of CAN-messages to be sent out during initialization and termination of the target application.


  Supported Data Types for Message Fields Introduction