imx8qm mek :flexcan can0: bit-timing not yet defined

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

imx8qm mek :flexcan can0: bit-timing not yet defined

4,385 次查看
weichaoli
Contributor I

imx8qm mek测试can,使用ifconfig can0 up提示:

flexcan 5a8d0000.can can0: bit-timing not yet defined
ip: SIOCSIFFLAGS: Invalid argument

有人遇到过没?

另外unit_tests中也没有can的测试程序,imx8qm和imx6q的can使用是否有不同?

有知道的帮忙看下,谢谢了!

0 项奖励
回复
2 回复数

4,024 次查看
jamesbone
NXP TechSupport
NXP TechSupport

Unfortunately the i.MX8 Family has not been release yet, it is under preproduction. Please contact your local Sales or Distributor to get details about this issue that you detect.  I apologize for the inconvenience.

0 项奖励
回复

4,024 次查看
weichaoli
Contributor I

已经解决,主要是linux-4.14.98问题,这个版本内核不再设置默认的can波特率,因此需要在使能can0的时候指定波特率,ifconfig无法提供需要使用ip工具

0 项奖励
回复