AnsweredAssumed Answered

CAN interface not working for imx6qsabresd

Question asked by devika R on Apr 26, 2019
Latest reply on May 8, 2019 by Joan Xie

Hi,

 

We have setup Yocto project 4.9.11_1.0.0 for imx6qpsabresd and need to test CAN interface.
We have enabled flexcan in the device tree for can0 & can1.

We are trying to test using the below commands, But we are not seeing any data in at CAN1_TX (probed with oscilloscope)
> cansend can0 1F334455#1122334455667788
> cansend can1 1F334455#1122334455667788
> canfdtest -v -g can0

CAN ports are getting registered as below. Below are the messages related to CAN interface when it gets booted.

 

[ 1.644655] 2090000.flexcan supply xceiver not found, using dummy regulator
[ 1.654151] flexcan 2090000.flexcan: gpr /soc/aips-bus@02000000/iomuxc-gpr@020e0000 req_gpr 0x34 req_bit 28 ack_gpr 0x10 ack_bit 17
[ 1.654213] flexcan 2090000.flexcan: device registered (reg_base=c0b1c000, irq=34)
[ 1.663828] 2094000.flexcan supply xceiver not found, using dummy regulator
[ 1.673309] flexcan 2094000.flexcan: gpr /soc/aips-bus@02000000/iomuxc-gpr@020e0000 req_gpr 0x34 req_bit 29 ack_gpr 0x10 ack_bit 18
[ 1.673368] flexcan 2094000.flexcan: device registered (reg_base=c0b24000, irq=35)
[ 4.744549] can: controller area network core (rev 20120528 abi 9)
[ 4.757293] can: raw protocol (rev 20120528)
[ 4.762501] can: broadcast manager protocol (rev 20161123 t)
[ 4.769161] can: netlink gateway (rev 20130117) max_hops=1

 

Has anybody tried this and succeeded?
Please let us know how we can validate this with some basic tests.

 

Regards,

Devika R

Outcomes