xPC Target    

Setup Driver Block

The Setup block is used to define general settings of the plugged-in CAN board. Because the CAN driver blocks for this board only supports a single physical board for each target system, this block has to be used exactly once (one instance) in a model. The dialog box of the Setup block lets you define the following settings.

CAN 1 - Baud rate -- The first control (pop-up menu) lets you define the most common baud rates for CAN port 1. If special timing is necessary (baud rate), the value "User defined" can be selected. In this case the second control (edit field) is used to provide the four values for the timing information. The vector elements have the following meaning:

For more information about these values see the Softing user manual for this board.

CAN 2 - Baud rate -- The third control (pop-up menu) lets you define the most common baud rates for CAN port 1. If special timing is necessary (baud rate), the value "User defined" can be selected. In this case the fourth control (edit field) is used to provide the four values for the timing information. The vector elements have the following meaning

For more information about these values see the Softing user manual for this board.

Initialization and Termination -- The fifth and sixth control (edit fields) can be used to define CAN messages sent during initialization and termination of the Setup block.

Memory base address -- The seventh control (pop-up menu) is used to define the memory base address of the board. The address range used by the board has to be set by hardware jumpers on the board itself. Refer to the Softing user manual on how set the various address ranges. The setting in the dialog box has to correspond to the jumper setting otherwise the board cannot be accessed. The available address ranges (memory base address) in the pop-up menu are those supported by the board. Because the xPC Target kernel only reserves a sub range (C0000 - DC000) of the 640 kilobyte to 1 megabyte address range for memory mapped devices, the valid settings when used within a xPC target systems only are:

The board allows activating proper termination for each of the two CAN ports separately by means of hardware jumpers. Refer to the Softing user manual on how the jumpers have to be set. Both CAN ports have to be terminated properly when you use the provided loop-back model in order to test the board and drivers.


  CAN Driver Blocks for the CAN-AC2 (ISA) with Intel 82527 CAN-Controller Send Driver Block