Flex CAN Driver on iMX8QXP board with Android 12.1.0 OS

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

Flex CAN Driver on iMX8QXP board with Android 12.1.0 OS

479件の閲覧回数
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 返答(返信)

430件の閲覧回数
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 件の賞賛

463件の閲覧回数
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 件の賞賛