Knowledge Base Article

Why does Cyclone V SoC CAN data corrupt in Linux?

Description

Due to a problem in Linux-socfpga kernels before to 4.1.33 for Cyclone® V SoC,  CAN data may be currupted.  This is due to a HPS L4 Slave Interface limitation, registers on CAN controller should be accessed with 32-bit width, and are incorrectly accessed as 16-bit.

Resolution

socfpga-4.1.33 LTSI or later have fixed in the issue.

See can: c_can: Update D_CAN TX and RX functions to 32 bit - fix Altera Cyclone access

Updated 3 months ago
Version 2.0
No CommentsBe the first to comment