CAN interface on i.MX8QXP's MEK board

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

CAN interface on i.MX8QXP's MEK board

1,963件の閲覧回数
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

ラベル(2)
0 件の賞賛
返信
3 返答(返信)

1,785件の閲覧回数
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,785件の閲覧回数
tiagorodrigues
Contributor I

Hi,

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

Thanks in advance.

0 件の賞賛
返信

1,785件の閲覧回数
jamesbone
NXP TechSupport
NXP TechSupport

That´s Correct.

0 件の賞賛
返信