This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

PROCESSOR-SDK-AM62X: Testing MCAN interface on AM62X

Part Number: PROCESSOR-SDK-AM62X


Hi ti,

I was attempting to test the MCAN interface on the AM62x-SK board by connecting an external transceiver (TCAN1051HGVDR) to a 40-pin expansion connector (pins 8 and 10), as described in the link below.

software-dl.ti.com/.../MCAN.html .

I gave commands up to candump can0 on the RX as well as on the TX (cansend can0 123#DEADBEEF). But here I am facing an issue while trying to send data from TX (cansend can0 123#DEADBEEF), and I am getting (m_can_platform 20701000.can can0: bus-off).

I don't know how to fix this issue; please help me on this issue.I have attached the log of the TX window, which follows below.


root@am62xx-evm:~# ip link set can0 down
root@am62xx-evm:~# ip link set can0 type can bitrate 125000
root@am62xx-evm:~# ip link set can0 up
[ 96.695422] IPv6: ADDRCONF(NETDEV_CHANGE): can0: link becomes ready
root@am62xx-evm:~# [ 128.835332] Initializing XFRM netlink socket
[ 130.643177] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need.
[ 130.660639] Bridge firewalling registered
[ 131.584661] process 'docker/tmp/qemu-check234379048/check' started with executable stack

root@am62xx-evm:~# cansend can0 123#DEADBEEF
[ 170.474360] can: controller area network core
[ 170.478830] NET: Registered protocol family 29
[ 170.490795] can: raw protocol
root@am62xx-evm:~# [ 170.498422] m_can_platform 20701000.can can0: bus-off