
47
©Vecow EAC-2000 User Manual
SOFTWARE SETUP
4
SOFTWARE SETUP
4.1 Peripheral Interface Guide
4.1.1 Serial Port
1.
EAC-2000/2100
have two RS-232/485 serial port for connection.
To switch the type of your serial ports, you can issue the following commands :
Set COM1 to 232 Mode :
$ sudo setcom 1 232
Set COM1 to 485 Mode :
$ sudo setcom 1 485
Set COM2 to 232 Mode :
$ sudo setcom 2 232
Set COM2 to 485 Mode :
$ sudo setcom 2 485
4.1.2 CAN Bus
You can issue the following commands to turn on CAN FD mode :
$ sudo modprobe can
$ sudo modprobe can-raw
$ sudo modprobe mttcan
$ ip link set can0 up type can bitrate 125000