Generally see: Timer too close
From the log you attached and the fact that you have a rising bytes_invalid
counter, some additional potential reasons are:
- Old, defective firmware on the CAN adapter
- Old, defective kernel on the Linux SBC. It should be a kernel version >= v6.6, as previous versions may suffer from a serious CAN bug.
- Your buffer size is much too high and exceeds the recommended value of 128.