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
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
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