The CAN-FD Linux driver does not work as per FD specifications for bit rates above 1Mbps.
FD support issues have been identified in the driver:
The CAN-FD Linux driver https://github.com/Xilinx/linux-xlnx/blob/master/drivers/net/can/xilinx_can.c has the following issues:
1) It is using phase segment 1 of the arbitration phase instead of the data phase to calculate BTR:
2) It is shifting phase segment 2 based on CAN instead of CAN FD:
3) It is shifting SJW based on CAN instead of CAN FD:
Attached is a CAN FD driver patch which has been tested thoroughly with FD for various bit rates above 1Mbps.
These issues are noted with the CAN-FD software driver from PetaLinux 2017.2 up to the 2018.3 release.
The driver issue is due to be fixed in the 2019.1 version, kernel 4.19.
|Boards & Kits||