TCAN4550 module stops receiving CAN data resulting GLOBALERR error

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

TCAN4550 module stops receiving CAN data resulting GLOBALERR error

725 Views
hara
Contributor I

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

Image-loopback

Workarounds:

  • Fault occurred even after SPI frequency set to 10MHz and 18MHz in both CAN devices.
  • Fault occurred even after setting CAN bitrate to 250000, 500000 in both CAN devices.
  • Fault also occurred in tcan4x5x driver of kernel 5.4.70.

Whats the cause for this issue? How can this be solved?

Best regards,
Ayshathul

 

 

 

0 Kudos
Reply
0 Replies