Table of Contents

CAN

The ZSOM-Control and the ZSOM-Mini each provide one CAN (Controller Area Network) interface. It can be controlled from both FPGA and RT code; basic CANopen functions are available as RT VIs in the SDK.

Features

ZSOM-Control ZSOM-Mini
Number of interfaces 1 1
Bit rate classical high-speed CAN, up to 1 Mbit/s classical high-speed CAN, up to 1 Mbit/s
Bus termination (120 Ω) fitted on the board fitted on the board
CANopen microcontroller on the bus yes no
Power always on requires GPIO ENVP, see Power and GPIOs
Terminals CAN High 51, CAN Low 52, GND 50/53 (pinout) CAN High 23, CAN Low 24, GND 22/25 (pinout)

Bus termination

The termination is fitted on the board: split termination 2 × 62 Ω with 4.7 nF to GND (120 Ω between CAN High and CAN Low). A CAN bus must be terminated at both ends only, so the ZSOM must be placed at one end of the bus. If the ZSOM is not at one end of the bus, contact Schmid Elektronik.

Check: with all devices switched off, the resistance between CAN High and CAN Low of a correctly terminated bus is about 60 Ω.

Wiring

CANopen microcontroller (ZSOM-Control)

The ZSOM-Control features a dedicated CANopen microcontroller. It is connected to the same CAN bus and via a digital interface directly to the FPGA. Its firmware must be flashed once with CAN_NXP_Firmwareupdate_RT_main.vi before the CAN examples can be used.

Usage in LabVIEW

The CAN interface of the sbRIO-9651 supports classical high-speed CAN only (no CAN FD). It is used with the NI Embedded CAN for RIO driver; NI-XNET is not supported. If the driver is not installed on the target, install it with NI MAX (see Installing Software on the ZSOM).

Examples

In the SDK you can find the following examples that show the basic CAN functionality:

See also Trouble shooting (CAN bus errors, CAN examples do not work).