Dear Team,
As I am using 2 TCAN4550 modules in i.MX8M Mini processor with tcan4x5x driver of kernel 4.14.98 (back ported driver). I have set below configurations,
SPI frequency: 5000000Hz
Crystal clock frequency: 40MHz
Bit rate to transfer CAN data: 1000000
I am testing CAN loopback test with the test setup shown in below image. The CAN data are sent and received between CANs. At some point of time, the CAN data is stopped receiving. When this fault occurs the configuration register 0x0820 and 0x0824 values are captured from the driver. The values were 16'h0820=82 (in hexadecimal) and 16'h0824=3 (in hexadecimal). After analyzing the values results GLOBAL ERR (Global Error (Any Fault)). The SPI output lines are captured and available in the link tcan4550-canbus-stops-incrementing-the-rx-byte-values-in-ifconfig
Workarounds:
Whats the cause for this issue? How can this be solved?
Best regards,
Ayshathul