Because of the Thanksgiving holiday in the U.S., TI E2E design support forum responses may be delayed the week of Nov. 21. Thank you for your patience.

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.

AM3359: CAN configuration

Part Number: AM3359

I tried to do as indicated in this instruction, but it is outdated and does not produce results on new linux kernels. Please tell us what you need to do to make the can interface work.

Target: linux kernel 4.14 , debian 9.9

Target: linux kernel 5.6.4 , debian 10 - same result

Problem: Can-bus working just listen-only-mode

listen-only mode is ok:

sudo ifconfig can0 down
sudo ip link set can0 type can bitrate 125000 listen-only on
sudo ifconfig can0 up
candump -cae can0,0:0,#FFFFFFFF
  can0  1FE4F1DC   [8]  01 64 00 00 00 00 00 00   '.d......'
  can0  1FE4F1DC   [8]  01 64 00 00 00 00 00 00   '.d......'
  can0  1FE4F1DC   [8]  01 64 00 00 00 00 00 00   '.d......'

normal mode crashes:

sudo ip link set can0 type can bitrate 125000
sudo ifconfig can0 up
[13210.377469] c_can_platform 481cc000.can can0: setting BTR=1c0b BRPE=0000
[13210.391464] IPv6: ADDRCONF(NETDEV_CHANGE): can0: link becomes ready
cansend can0 123#DEADBEAF
[13220.749607] c_can_platform 481cc000.can can0: bus-off