Integration examples

Transparent Tunnel

In this example, a transparent tunnel will be created using Smart CAN Isolator. The result will be that any messages received on Interface A will be sent through Interface B. Optionally, the mailboxes can be equally distributed to support both standard and extended CAN IDs.

In order to do this we will need to:

  1. Create a new mailbox entry for Interface A. Assign half of the mailboxes to it and set a Mask of 0.

../_images/example11.png
  1. Configure CAN Input Filter 2 on CAN A, with a Mask of 0 and Both types.

../_images/example12.png
  1. Bind CAN Output Filter 2 to CAN Input Filter 2, configured to CAN B.

../_images/example13.png

CAN filter

In this example, only a certain range of CAN IDs will be allowed to cross from Interface B to Interface A. The allowed range will be from 0x550 to 0x55F.

  1. Create a new mailbox entry for Interface B. Assign some of the mailboxes to it and set the ID to 0x550.

../_images/example21.png
  1. Set a Mask which will ignore the last 4 bits.

../_images/example22.png
  1. Configure CAN Input Filter 2 on CAN B, with the same settings as the Mailbox.

../_images/example23.png
  1. Bind CAN Output Filter 2 to CAN Input Filter 2, configured to CAN A.

../_images/example24.png

Control the GPIO Outputs

In this example we will see how to control the GPIO Output pins on Smart CAN Isolator.

  1. On Veronte, Configure CAN GPIO Remote and connect it to an Output Filter. We will need to command Virtual GPIOs 2 and 4. The CAN ID can be arbitrarily chosen. For this example, ID 100 will be used.

../_images/example31.png
  1. Use the action Output in Veronte, to control the Virtual GPIOs.

../_images/example32.png
  1. In Smart CAN Isolator, create a mailbox with ID 100 to receive the CAN message.

../_images/example33.png
  1. Configure a CAN Input Filter to accept the CAN message, and connect it to a CAN GPIO Consumer.

../_images/example34.png

Send Internal Telemetry

In this example we will see how to create a custom CAN message to send internal information to other devices.

  1. In CAN telemetry, create the CAN message, including any relevant variables. For this example, internal ID, power inputs and status of GPIOs will be sent. Only Data and ID need to be configured. Smart CAn Isolator will automatically build the rest of the message.

../_images/example41.png
  1. Connect the CAN Telemetry producer to an output filter, on the CAN Interface you want the information to be sent.

../_images/example42.png
  1. Now any device on the bus can read the information.