Tool/software:
Hello experts,
For our custom boards, we use TJA1462 as the canfd transceiver, use the default dts from linux sdk 10_01_08_01. And, it can send and receive CAN frames OK. But, I cannot snd and receive any CAN FD frame from the bus, with kernel error message "Data phase error detected. ack error".
I configue the main_mcan0 with the command:
ip link set main_mcan0 down
ip link set main_mcan0 type can bitrate 500000 dbitrate 2000000 fd on berr-reporting on
ip link set main_mcan0 up
and send canfd with command:
cansend main_mcan0 143##1AAAAAAAAA
in fact, I check all the things from the corresponding linux sdk document.
I checked the MCAN MCAN_PSR register, also found the ack error.
How to debug it? Thanks