Table 545. Log Bus Errors Property
Data type Permissions Write while stopped? Write while running?
Write Yes Yes

This property enables the logging of bus errors as frames that can be read using the CAN Input node.

The bus error frame is logged when the Philips SJA1000 CAN controller detects a bus error and the Bus Error Interrupt occurs.

  • FALSE indicates that the bus errors will not be logged and cannot be read using the CAN Input node (default).
  • TRUE indicates that the bus errors will be logged as frames and can be read using the CAN Input node.

The bus error frame has the following format:

Table 546. Buss Error Frame Format
Arbitration ID0
Data Length4
Type6
Data Bytes
  • 0—Comm State (see below)
  • 1—Transmit Error Counter
  • 2—Receive Error Counter
  • 3—ECC Register
  • 4—X
  • 5—X
  • 6—X
  • 7—X
Note    X means Reserved or Don't Care.
The first data byte (Comm State) indicates the current communication state of the CAN controller. The states are:
  • 0—Error Active
  • 1—Error Passive
  • 2—Bus Off