| Contents | Index |
xPC Target library for CAN
The Setup block defines general settings of the installed CAN board. Because the CAN driver blocks for this board only supports a single physical board for each target system, this block can only be used once (one instance) in a model.

Defines the most common baud rates for CAN port 1. If your model requires a special baud rate, select the value User defined. In this case, use the CAN 1 - user-defined baud rate parameter to provide the four values for the timing information. The vector elements have the following meanings:
[ Prescaler, Synchronization-Jump-Width, Time-Segment-1, Time-Segment-2 ]
For more information about these values, see the Softing user manual for this board.
Defines the most common baud rates for CAN port 1. If your model requires a special baud rate, select the value User defined. In this case, use CAN 1 - user-defined baud rate parameter the four values for the timing information. The vector elements have the following meanings:
[ Prescaler, Synchronization-Jump-Width, Time-Segment-1, Time-Segment-2 ]
For more information about these values, see the Softing user manual for this board.
Define CAN messages sent during initialization and termination of the Setup block.
Define CAN messages sent during termination of the Setup block.
Defines the memory base address of the board. The address range used by the board must be set by hardware jumpers on the board itself. Refer to the Softing user manual on how to set the various address ranges. The setting in the dialog box must 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 subrange (C8000 to D8000) of the 640 KB to 1 MB address range for memory-mapped devices, the valid settings when used within a xPC Target system only are
1 (16k): D0000-D3FFF 2 (16k): D4000-D7FFF
The board allows you to terminate each of the two CAN ports separately by means of hardware jumpers. Refer to the Softing user manual on how to set the jumpers. Both CAN ports must be terminated when you use the loopback model provided to test the board and drivers.

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |