Hello,
I have TX2 carrier board and have checked CAN I/F worked well.
But it seems CAN FD doesn’t work.
As far as I know, tx2 support CAN FD. How can I enable CAN FD feature?
Actually, when i sent can fd signal to tx2, there were some messages as follows, and no more reactions.
mttcan c310000.mttcan can0: entered error warning state
mttcan c310000.mttcan can0: entered error passive state
CAN FD is just CAN, with a higher bit rate for the payload to get higher throughput on the bus.
I would presume that anyone who needs to talk to other devices that require CAN FD, would use CAN FD for that reason?
Hi bbasu,
there was some mistake to configure CAN FD signal generator and tx2.
mismatch of data rate between generator and tx2 caused that problem.
after resetting data rate, i could see can fd works well.
my test steps are like this
defconfig modification
set CONFIG_MTTCAN=y
modprobe
sudo modprobe can can_gw can_bcm can_raw can_dev slcan vcan
ip link
sudo ip link set can0 up type can bitrate 500000 dbitrate 4000000 fd on
check
candump -L any
(candump is open source can utility, you may know)