CAN interface on i.MX8QXP's MEK board

cancel
Showing results for 
Search instead for 
Did you mean: 

CAN interface on i.MX8QXP's MEK board

323 Views
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 Kudos
3 Replies

145 Views
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 Kudos

145 Views
Contributor I

Hi,

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

Thanks in advance.

0 Kudos

145 Views
NXP TechSupport
NXP TechSupport

That´s Correct.

0 Kudos