Flex CAN Driver on iMX8QXP board with Android 12.1.0 OS

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

Flex CAN Driver on iMX8QXP board with Android 12.1.0 OS

572 Views
prashant_khengale
Contributor I

Hello,

I am using imx8qxp with Android 12.1.0 OS , I need use Flex CAN driver but not able to.

Could you please provide detail steps to run Flex CAN imx8qxp with Android 12.1.0 OS?

Thank you in advance for the help.

 

Best Regards,

Prashant  

0 Kudos
2 Replies

523 Views
prashant_khengale
Contributor I

Hi,

Thank you for your reply.

we are not able to found path : MEK-MIMX8QX-SDK\boards\mekmimx8qx\driver_examples\flexcan

could you please know us where we can find this path? give detail path.

Best Regards,

Prashant 

0 Kudos

556 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

Yes, FlexCAN is verified on latest BSP.

 

The iMX8QXP defaul 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".

The CAN test code can be found.

MEK-MIMX8QX-SDK\boards\mekmimx8qx\driver_examples\flexcan

Regards

 

0 Kudos