对传

From ESS-WIKI
Revision as of 09:17, 10 November 2022 by Xingxing.li (talk | contribs) (Created page with " === '''使用2台RSB-4810对传''' === '''1.先将板卡配饰成相同的波特率,指令如下:''' ip link set can1 down ip link set can1 type can bitrate 500000 dbi...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

使用2台RSB-4810对传

1.先将板卡配饰成相同的波特率,指令如下:

ip link set can1 down

ip link set can1 type can bitrate 500000 dbitrate 2000000 fd on

ip link set can1 up

 

2.查看适配是否成功

ip -details link show can1(can0)

 

3.先在板卡1上,接收数据。

candump can1

接收:can1  123   [8]  01 01 01 00 00 00 00 00

再到板卡2上,发送数据

发送:cansend can1 123#0101010000000000

备注(该方法支持1、2、3、4、5、8M)

插入一张对传的图片