Firefly开源社区

标题: socketcan功能使用 [打印本页]

作者: heyi    时间: 2023-9-8 13:08
标题: socketcan功能使用
我想使用socketcan,
ifconfig can0 up报错


root@sivalley:~# uname -a
Linux sivalley 4.19.193-rt81 #70 SMP PREEMPT RT Thu Nov 11 10:47:13 CST 2021 aarch64 aarch64 aarch64 GNU/Linux
root@sivalley:~# ifconfig can0 up
[ 1530.994252] rockchip_canfd fe580000.can can0: incorrect/missing data bit-timing
SIOCSIFFLAGS: Invalid argument


请问下如何用ROC-RK3568-PC 加载linux-4.19.193rt版本系统使用socketcan

作者: dengkx    时间: 2023-9-8 14:07
本帖最后由 dengkx 于 2023-9-8 14:10 编辑

先查看wiki设置比特率再up, ROC-3568-PC这个板子有can接口支持在里面吗?





欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/) Powered by Discuz! X3.1