EPC-R5710 CANBus or CAN-FD
From ESS-WIKI
Revision as of 01:54, 8 September 2023 by Xingxing.li (talk | contribs)
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 A:Pin2——>EPC-R5710 B:Pin2,
EPC-R5710 A:Pin7——>EPC-R5710 B:Pin7
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