CAN interface on i.MX8QXP's MEK board

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

CAN interface on i.MX8QXP's MEK board

1,703 次查看
tiagorodrigues
Contributor I

Hello all,

Hardware:

  • imx8qxp mek board;
  • base board (with can interfaces);

OS:

  • Android Automotive (imx-p9.0.0_2.3.3-auto)

Question:

  • I cannot find the can interface on my device, even running "ifconfig -a" nothing related with can bus appears.
  • Can someone help on this?

Thank you all.

Best Regards,

Tiago Rodrigues

0 项奖励
回复
3 回复数

1,525 次查看
jamesbone
NXP TechSupport
NXP TechSupport

FlexCAN is verified on L4.9.88 BSP., we do not support in Android

 

The iMX8QXP default driver used CAN fd mode, so we used followed command to test it:

Rx: ip link set can0 up type can bitrate 1000000 dbitrate 4000000 fd on

Tx: ip link set can1 up type can bitrate 1000000 dbitrate 4000000 fd on

Rx: candump can0

Tx: cangen can1 -m

 

If you want to use the legacy mode iMX6/7 test command such as "ip link set can0 up type can bitrate 1000000", you need disable the fd mode in device tree by added "disable-fd-mode".

0 项奖励
回复

1,525 次查看
tiagorodrigues
Contributor I

Hi,

So is not possible to have CAN bus access using Android Automotive OS?

Thanks in advance.

0 项奖励
回复

1,525 次查看
jamesbone
NXP TechSupport
NXP TechSupport

That´s Correct.

0 项奖励
回复