GW101 Development Manual

GW101 provides two CAN-Bus interfaces, both with electrically isolated designs, a maximum communication rate of up to 1 Mbps, and 3.81 mm pitch 6-pin terminal blocks as connectors.

gw101-canports.png

Silkscreen description

Silkscreen
L
H
G

The terminal interface definitions are shown in the following figure:

Terminal No.
1
2
3
4
5
6

Software devices

The device names in the Linux system are can0 and can1.

Enclosure silkscreen
CAN1
CAN2

Common operation commands

Configure the CAN1 interface baud rate to 50 Kbps and send data

# ip link set can0 up type can bitrate 50000
# ifconfig can0 up
# cansend can0 100#01.02.03.04.05.06.07.08

Configure the CAN2 interface baud rate to 50 Kbps and receive data

# ip link set can0 up type can bitrate 50000
# ifconfig can0 up
# candump can0