Hi @andrecurvello.tx and team,
We have been seeing some errors from the CAN controller on the Verdin boards:
[ 204.915985] mcp25xxfd spi2.0 can1: tefif: fifo 0 not pending - tef data: id: 00000000 flags: 00000000, ts: 00000000 - this may be a problem with spi signal quality- try reducing spi-clock speed if this can get reproduced
There is a long thread here including a guy who seems to be writing the/a driver for raspberry Pi:
It seems like a genuine problem with the version of the driver they are using and then he fixes it around last May. Is it possible for someone to confirm what driver version is in use in Torizon 5.1 and what testing has been done with the boards? The errors are worse when there is moderate bus pressure.
One possible cause is a silicon bug in the MCP2517FD. The Verdin datasheet says MCP2518FD so I think this is probably not the problem.
I am currently using the interface to talk to 2 Hydac CANOpen pressure sensors at 250 kbps. At low data rates of around 5 messages per second per device it seems to work fine. But some errors start to occur at 10 mpspd and worse at 20 mpspd. Any information on the expected performance or performance testing that has been done on this interface would be appreciated.
It would also be good if someone from Toradex could check if there is an updated driver available. Maybe we are just pulling an old one with kernel 5.4.
Thanks very much