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.

TDA4VM: Linux CAN driver can not receive can fd accelerate packets

Part Number: TDA4VM

Hello!

SDK version:pdk_jacinto_08_04_00_21

Linux driver code path:psdkla\board-support\linux-5.10.120+gitAUTOINC+95b90aa828-g95b90aa828\drivers\net\can\m_can\m_can.c

The original CAN driver of TDA4 cannot receive the packets accelerated by CAN FD, and CAN FD can be received normally.

Printing log shows that the following registers are set

May I ask whether the current platform supports CAN FD accelerated messages? How to modify it to receive CAN FD accelerated messages normally

Here's how I debug it

ip link set can0 type can bitrate 500000 dbitrate 2000000 berr-reporting on fd on
ip link set can0 up
candump can0 &
error log as follows:
[ 60.027618] m_can_platform 27b1000.can can0: entered error warning state
[ 60.027938] m_can_platform 27b1000.can can0: entered error passive state
[ 115.389155] m_can_platform 27b1000.can can0: stuff error
[ 115.389179] m_can_platform 27b1000.can can0: Protocol error in Arbitration fail
[ 115.389223] m_can_platform 27b1000.can can0: stuff error
[ 115.389229] m_can_platform 27b1000.can can0: Protocol error in Arbitration fail
[ 115.389305] m_can_platform 27b1000.can can0: stuff error