Specifications

5 CAN I/O Support for FIFO
5-10
For more information about these values see the Softing user manual for this
board.
CAN 2 - Acceptance — Defines the acceptance filters for the CAN 1 port.
Because the receive FIFO gets filled with any CAN messages going over the
bus, the use of the CAN controller acceptance filters becomes important in
order to filter out unwanted messages already at the controller level. This
acceptance filter information is provided by a row vector with 4 elements,
where the first two are used to define the acceptance mask and acceptance code
for Standard identifiers and the latter two for Extended identifiers. The default
value defined by the Setup block doesn’t filter out any messages. For
information on how to define the acceptance information in order to filter
certain messages, see “Acceptance Filters” on page 5-38.
Enable error frame detection — If the CAN controller should detect Error
frames and forward these to the Receive FIFO, check this box. Checking this
box makes sense for monitoring applications where you want to be informed
about all events going over the bus. For low latency time applications, checking
this box may increase the FIFO Read driver block latency time because the
receive FIFO gets filled with additional events.
Initialization (struct) and Termination (struct) — Define the CAN messages
sent during initialization and termination of the Setup block. For more
information, see the standard CAN driver documentation in See “Defining
Initialization and Termination CAN Messages” on page 4-53.
PCI Slot (-1: autosearch) — Defines the PCI slot in which the referenced board
(board number) resides. If only one CAN board is present in the target system,
the value for this control should be
–1 for auto search. This value makes sure
that the xPC Target kernel automatically finds the board independently of the
PCI slot it is plugged into. If more than one board is present in the target
system the correct PCI slot number has to be provided for each board. Use the
xPC Target function
xpcgetpci to query the target system for installed PCI
boards and the PCI slots they are plugged into. For more information see ‘help
getxpcpci’.
The board allows activating proper termination for each of the two CAN ports
separately by means of DIP-switches at the rear panel of the board. Refer to the
Softing user manual on how the DIP-switches have to be set. Both CAN ports
have to be terminated properly where you use the provided loop-back model in
order to test the board and drivers.