Flex CAN Driver on iMX8QXP board with Android 12.1.0 OS

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

Flex CAN Driver on iMX8QXP board with Android 12.1.0 OS

480 次查看
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 项奖励
2 回复数

431 次查看
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 项奖励

464 次查看
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 项奖励