Data Errors with Raspberry Pi + 2 CAN FD HAT

This isn’t exactly working out of the box, the second SPI interface, spi1.0 doesn’t come up, i’m thinking to disable CRC check in the driver,

I’m running the RPI 3B+, the build shows

>make bcm2711_defconfig in the instructions @Baozhu , but lsmods shows spi_bcm2835 as that any relevance?

more details below

pi@raspberrypi:~ $ dmesg | grep spi
[    6.618121] mcp25xxfd spi0.0: MCP2517 successfully initialized.
[    6.684243] mcp25xxfd spi1.0: CRC read error: computed: ec03 received: 0000 - data: be 00 04 00 00 00 00
[    6.684264] mcp25xxfd spi1.0: CRC read of clock register resulted in a bad CRC mismatch - hw not found
[    6.684285] mcp25xxfd spi1.0: Probe failed, err=84
[    6.684424] mcp25xxfd: probe of spi1.0 failed with error -84

pi@raspberrypi:~ $ lsmod | grep spi
spi_bcm2835aux         16384  0
spi_bcm2835            20480  0

pi@raspberrypi:~ $ uname -an
Linux raspberrypi 5.4.51-v7+ #1327 SMP Thu Jul 23 10:58:46 BST 2020 armv7l GNU/Linux

I read that on the original driver here


one can remove the CRC check and it should come up the second CAN channel over SPI

what do you think?