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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

2,830 Views
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 Kudos
2 Replies

2,469 Views
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 Kudos

2,469 Views
weichaoli
Contributor I

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

0 Kudos