EPC-R5710 CANBus or CAN-FD

From ESS-WIKI
Jump to: navigation, search


CANBus or  CAN-FD

Two epc-r5710s are required. One of them acts as the receiver and executes the command of (step1), while the other acts as the sender and executes the command of (Step2).
The (can) ports of two machines need to be linked together
The receiver needs to complete the line preparation

EPC-R5710 APin2——>EPC-R5710 BPin2

EPC-R5710  A:Pin7——>EPC-R5710  B:Pin7

EPC-R5710 CANFD.png

Step1: set reciver config

# ip link set can0 down
# ip link set can0 up type can bitrate 1000000
[ 1381.546624] IPv6: ADDRCONF(NETDEV_CHANGE): can0: link becomes ready
# ip link set can0 up
# candump can0

Step 2: Set sender config

# ip link set can0 down
# ip link set can0 up type can bitrate 1000000
[ 1381.546624] IPv6: ADDRCONF(NETDEV_CHANGE): can0: link becomes ready
# ip link set can0 up
# cansend can0 888#11223344

The receiver can display the content sent by the sender

EPC-R5710 CANFD 1.png