Specifications

CAN FIFO Driver Blocks for the CAN-AC2-104 with Philips SJA1000 CAN-Controller
5-35
Sample time — Defines the sample time at which the FIFO Read XMT Level
driver block is executed during a model (target application) run.
FIFO Reset XMT Driver Block
The FIFO Reset XMT driver block is used to reset the transmit FIFO. This will
delete all messages currently stored in the transmit FIFO and reset the level
counter to 0. As an example, you can use this driver block to reset the transmit
FIFO after having detected a fault condition.
The block has a single input port of type double. If a scalar value of 1 is passed,
the transmit FIFO gets reset, if 0 is passed no action takes place.
The dialog box of the block lets you define the following settings.
Board Defines which physically present board is accessed to reset the
transmit FIFO. For more information about the meaning of the board number
see the Setup driver block described above. If just one board is present in the
target system, board number 1 should be selected.
Sample time — Defines the sample time at which the FIFO Reset XMT driver
block is executed during a model (target application) run.
FIFO Read RCV Level Driver Block
The FIFO Read RCV level driver block is used to read the current number of
CAN messages stored in the receive FIFO. The receive FIFO can store up to
255 events (messages). If it is full and no FIFO read driver block attempts to
read the stored events, new incoming events are lost what is reflected by the
lost message counter counting up. You can use this driver block to check for this