mirror of
https://github.com/HEYAHONG/ExtBoard-003.git
synced 2025-05-08 09:06:22 +08:00
说明
USB转CAN适配器。复刻candleLight。
原工程信息:
测试
本段落中采用一对ExtBoard-003测试。操作系统为ubuntu24.04,工具采用can-utils测试。
-
打开can接口。
#打开can0 sudo ip link set can0 up type can bitrate 1000000 #打开can1 sudo ip link set can1 up type can bitrate 1000000
-
使用candump在一个适配器上读取数据。
candump can0
-
使用cansend在另一个适配器上发送数据。
#发送测试数据 cansend can1 5A1#11.2233.44556677.88
目录结构
Languages
Markdown
100%